| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| | |
Android 6.0.1 Release 61 (MOB30Z)
Change-Id: Icda48d6c36e74365e608d80f0054fc58d8febc26
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 28885210
Change-Id: I63866d894bfca47464d6e42e3fb0357c4f94d360
Conflicts:
btif/co/bta_hh_co.c
btif/src/btif_core.c
Merge conflict resolution of ag/1161415 (referencing ag/1164670)
- Directly into mnc-mr2-release
|
| |
| |
| |
| |
| |
| |
| | |
This moves all clocks to CLOCK_BOOTTIME and puts this define into
a common shared location rather than a smear all over the code.
Change-Id: I11dbf557f35f75b3030dc0b6829dbaec70e20a19
|
|/
|
|
|
|
|
|
|
|
| |
- This fix avoids NULL pointer dereferences,
Array Index Out of Bounds Exceptions
and Banned funciton in the bluedroid code
space of Bluetooth.
CRs-Fixed: 890309, 890321
Change-Id: I24ae794ee01b65b5ab15c73cd82677b0481910ad
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There were several leftover places that were still using
malloc/calloc/free .
Those are replaced to use osi_malloc/osi_calloc/osi_free like
majority of the rest of the code.
Note: There are few remaining places that are still using
malloc/calloc/free:
* Some of the unit tests
* audio_a2dp_hw/audio_a2dp_hw.c
It is used as part of the audio.a2dp.default.so library,
and the bluetooth.default.so library
Its usage of malloc/calloc/free should be refactored
independently.
Change-Id: Iafbed996e5f1ae8eb1343fb2acfadf32e515e419
|
|
|
|
| |
Change-Id: I0d3e93ea61dd03505fe9db902ed90bdd4141cab2
|
|\
| |
| |
| | |
Change-Id: Iaaec1ea0bf3009b7e32a9a60f697631a3f56e889
|
| | |
|
| |
| |
| |
| |
| | |
This change removes all remaining GKI task remnants as well as
a few timer and buffer bits.
|
| | |
|
| |
| |
| |
| |
| |
| | |
These macros should replace ALOG* and the various trace macros
used throughout bluedroid. This change eliminates all uses of the
ALOG* macros in favor of the new ones.
|
| | |
|
| |
| |
| |
| | |
Hopefully this will squash the sem_t semaphore_t collision
|
| |
| |
| |
| |
| |
| |
| | |
It looks like we're somehow getting NULL back from buffer allocation.
Backing GKI buffers with malloc should fix this.
Bug: 18324148
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, GKI task entry points had inconsistent signatures. For
example, we had:
int btif_media_task(void *p)
void btif_task(UINT32 params)
void btu_task (UINT32 param)
The single argument was universally ignored and the caller always
set it to 0. This change consolidates all of that and defines the
entry point as having 0 arity and no return value.
|
| |
| |
| |
| |
| |
| |
| | |
* move buffer macros into .c from .h
* delete dead code (e.g. GKI_igetpoolbuf, pool_list variable)
* define task states as an enum and not a bitfield
* start renaming fields in GKI control block for future consolidation
|
| | |
|
| |
| |
| |
| | |
GKI is slowly disappearing so much of that debug code isn't useful.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
GKI_run was called but didn't do anything: it would call
sched_setscheduler to increase the priority of the current process
but Android OS policy doesn't allow for that. And GKI_stop was never
called.
|
| | |
|
| |
| |
| |
| |
| | |
This change also fixes the type for task names: should be a const
string, not a mutable INT8*.
|
| |
| |
| |
| | |
Also refactored btu_task a bit.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
lock bugs.
The OS callout implementation expects only a single outstanding alarm
and a single wake lock being taken. Since alarm.c uses both and GKI
timers use both, they were occasionally clobbering each other resulting
in unpredictable behaviour. By writing GKI timers in terms of alarm.c,
this change addresses those bugs.
|
| |
| |
| |
| |
| |
| | |
This change allows us to run Valgrind on bluedroid to find memory
leaks. It has already been used to track down multiple memory leaks
which weren't trackable with the existing GKI buffer implementation.
|
| |
| |
| |
| | |
Also add another API GKI_queue_length(BUFFER_Q *)
|
|\ \
| | |
| | |
| | |
| | | |
* commit 'd736b8d6b3f95b7af19b75a613486b023279c3ee':
Fix some more missing libc includes.
|
| | |
| | |
| | |
| | |
| | |
| | | |
stddef and signal are not pulled in transitively in glibc.
Change-Id: I7a834bbdc31ae2aee4cb700a223c1636fda42afa
|
|\| |
| | |
| | |
| | |
| | | |
* commit '61331337c05cde410665e6a533a338b867fad45c':
Add missing includes.
|
| | |
| | |
| | |
| | | |
Change-Id: I041a5ea84b82155b0a7a8c4e7dc416c2c2b5e251
|
|\| |
| | |
| | |
| | |
| | | |
* commit '5ad6d72549feb5c0f49f654edd177d98907a1586':
Fix missing #includes in external/bluetooth.
|
| | |
| | |
| | |
| | | |
Change-Id: I5b1f75efb4b0f595a6e47849b4d8393a8d1dca24
|
|\| |
| | |
| | |
| | |
| | | |
* commit '6f65f6706f125f4319f041eec51e95655d36c390':
Cleanup Obsolete LOCAL_PRELINK_MODULE.
|
| | |
| | |
| | |
| | |
| | | |
Bug: 18675947
Change-Id: Iba2a3e4b07b4d11e6584ca3c19f85c82030faa04
|
|\| |
| |/
|/|
| | |
Change-Id: Ife8b72d3688ed78a95ccb8d5e0b60f40e7fec9e9
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch removes a slew of unused variables and some unused functions,
fixes some incomplete initializations of structs and an sprintf
parameter mismatching the format string.
Change-Id: I35f22fdccc8350f885cd357d3685b869224fa433
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
|
|\ \
| | |
| | |
| | |
| | | |
* commit 'cf7f6a154aed48659260d391994dc59151be937b':
Prevent Java call for acquiring already held wakelock
|
| | |
| | |
| | |
| | | |
Change-Id: Icf455b6aa7c0c1bf7abf7ea9700cfde17f6c7c2b
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Set the default value as 3000 ms
Bug: 18549150
Change-Id: I1d5b4fca627c22fdd8a32a41d5beac6837b6dff4
|
|\| |
| | |
| | |
| | |
| | | |
* commit '254b5ba2e3f4c44b82a0369579b66bafcd0d6aa2':
gki_buffer: add missing mutex unlock
|