50333a25ba3dac54033738d1e2a2688e2977ff2e |
|
16-Jul-2015 |
Arman Uguray <armansito@google.com> |
Properly disconnect GATT connection during noisy scans This patch fixes an issue that is reproducible in highly noisy environments (massive deployment of BLE beacons), through repeated connect/disconnect attempts on a remote peripheral while scanning for beacons in the background. The state machine in bta/gatt has a special control flow for handling disconnect requests during discovery, which in this case failed to resolve the original request by issuing an HCI_Disconnect command. This is now fixed by always explicitly triggering the connection close sequence once the discovery state has been cleaned up. This patch also includes a fix for a crash that occurred as a side-effect of the scenario described above. Bug: 22350508 Change-Id: Ie9cbd3c8f54239b142bfb8dde80d9581ae70ed43
/system/bt/bta/sys/bta_sys_main.c
|
76356aee883af67898ddc1aa3b628195f396d42a |
|
21-Apr-2015 |
VenkatRaghavan VijayaRaghavan <venkatrv@broadcom.com> |
Bug fix PM changes and LE connectivity mode fixes Allow PM to support multiple delay timer for different profiles and power mode requests. And set correct connectivity mode. Bug: 22040710 Change-Id: Idabd9ea944f0c5a89ce542d85db9f103fa7d1816
/system/bt/bta/sys/bta_sys_main.c
|
f8027005333c88a2f097cfd70d15c3d54c7764ae |
|
12-Mar-2015 |
Chris Manton <cmanton@google.com> |
Demote, cleanup and extend observed logging
/system/bt/bta/sys/bta_sys_main.c
|
0f9b91e150e153229235c163861198e23600e636 |
|
12-Mar-2015 |
Sharvil Nanavati <sharvil@google.com> |
Use fully qualified path for OSI includes.
/system/bt/bta/sys/bta_sys_main.c
|
e13fbfafe2105d264357ac41133f0ac0e054429c |
|
28-Dec-2014 |
Sharvil Nanavati <sharvil@google.com> |
Remove more GKI code. This change removes all remaining GKI task remnants as well as a few timer and buffer bits.
/system/bt/bta/sys/bta_sys_main.c
|
d553708949d37e1e37a27ad08cc1ec705e706b3d |
|
03-Mar-2015 |
Sharvil Nanavati <sharvil@google.com> |
Don't call GKI_send_event on BTU task since it's not a GKI task anymore.
/system/bt/bta/sys/bta_sys_main.c
|
05d0366413bedc16b4189b9e74395fe4b11ba41a |
|
05-Nov-2014 |
Zach Johnson <zachoverflow@google.com> |
Add a hash function for bluetooth addresses Also includes simple tests for it + disambiguates including hash_function.h throughout the stack.
/system/bt/bta/sys/bta_sys_main.c
|
aa3a0114b6f018d0dd296d5bdb113d2f881cbc51 |
|
05-Nov-2014 |
Zach Johnson <zachoverflow@google.com> |
Add key equality function option for hash_map This will allow us to do deeper equality on things like bluetooth addresses where the actual pointers are different but the values of the bluetooth addresses are the same.
/system/bt/bta/sys/bta_sys_main.c
|
44802768c447ab480d4227b3a852a97d923b816d |
|
24-Dec-2014 |
Sharvil Nanavati <sharvil@google.com> |
Add platform-independent logging macros to OSI. 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.
/system/bt/bta/sys/bta_sys_main.c
|
62d1538689b3594a150c84808642b3c7aef06046 |
|
02-Nov-2014 |
Zach Johnson <zachoverflow@google.com> |
Remove ptim and associated GKI timer functions
/system/bt/bta/sys/bta_sys_main.c
|
24933b5b1a06274c47133debac5251a97128a267 |
|
25-Sep-2014 |
June R. Tate-Gans <jtgans@google.com> |
Removing unnecessary BTAPI #defines.
/system/bt/bta/sys/bta_sys_main.c
|
307381ef1ed1b434c956a9a98ca25ba6b415d7c7 |
|
05-Sep-2014 |
Chris Manton <cmanton@google.com> |
Remove btu_task and replace with bt_workqueue reactor
/system/bt/bta/sys/bta_sys_main.c
|
066ab9d675fe5a2b3180185e64587cb225c7216a |
|
22-Sep-2014 |
Sharvil Nanavati <sharvil@google.com> |
Eliminate memory leaks and unsafe callbacks in BTA and BTE. Alarms were being added to a hash map but were not freed during teardown. This results in both memory leaks and potential access of torn-down data (in case the still-armed alarm fires after teardown completes).
/system/bt/bta/sys/bta_sys_main.c
|
c0e2f9927b8d60123b388c3d117e8f82c90d46e3 |
|
08-Sep-2014 |
Zach Johnson <zachoverflow@google.com> |
Disassociate hash algorithm with hash function name This will make it easier to select the correct one for the job, and also make it possible to substitute a better one in the future if need be without having to change the function name. kunth is duplicated, once for integer hashing and once for shallow pointer hashing, to make usage more readable.
/system/bt/bta/sys/bta_sys_main.c
|
c067ad8f39e3bcff974da9018972208120746136 |
|
18-Sep-2014 |
Sharvil Nanavati <sharvil@google.com> |
Fix bug where some BTU timer callbacks weren't propagated in a timely manner. This change sends an event to the BTU task after enqueuing a timer callback into its timer queue so that the BTU task thread wakes up and dispatches the callback ASAP. Otherwise, the callback will be dispatched at a random time or sometimes not at all. All bdtest cases pass after this change.
/system/bt/bta/sys/bta_sys_main.c
|
3ca27de478059136506cce747a17856f6470425a |
|
18-Sep-2014 |
Sharvil Nanavati <sharvil@google.com> |
Fix timeout values for BTA system timers. bta_sys_start_timer assumes a timeout value in GKI ticks but the callers are passing in a timeout value in milliseconds. This change updates the implementation to use units of milliseconds.
/system/bt/bta/sys/bta_sys_main.c
|
18023290406f076c5c76cdffdbf8ee081450a42f |
|
29-Aug-2014 |
Chris Manton <cmanton@google.com> |
Replace timers and btu_task Replace GKI timers with alarms.
/system/bt/bta/sys/bta_sys_main.c
|
860a9af89f8dbf8ef65785d5db960c1fa488d2ba |
|
27-Aug-2014 |
Chris Manton <cmanton@google.com> |
Replace mailboxes with fixed queues. Also refactored btu_task a bit.
/system/bt/bta/sys/bta_sys_main.c
|
44e721e6bfd8948e48ddbe06ef28895199eb61cb |
|
28-Aug-2014 |
Chris Manton <cmanton@google.com> |
Remove #define BTA_SYS_TIMER_PERIOD
/system/bt/bta/sys/bta_sys_main.c
|
186d09582c58cbcf078934135c95229880c2fd10 |
|
05-Sep-2014 |
Zach Johnson <zachoverflow@google.com> |
Eliminate call out/in indirection in bta_sys
/system/bt/bta/sys/bta_sys_main.c
|
19e25c91229b442dce1710a8b9bb91457bbf86dd |
|
04-Sep-2014 |
Zach Johnson <zachoverflow@google.com> |
Remove FM/GPS/NFC related definitions
/system/bt/bta/sys/bta_sys_main.c
|
5fd55c3541183ec7b50ee17c0e712d90d3c5b861 |
|
29-Aug-2014 |
Zach Johnson <zachoverflow@google.com> |
Remove unused auto-reset code path, with associated macros.
/system/bt/bta/sys/bta_sys_main.c
|
245876929944e9958d80db9f087008ce35f5f133 |
|
26-Aug-2014 |
Chris Manton <cmanton@google.com> |
Remove unnecessary layer of indirection
/system/bt/bta/sys/bta_sys_main.c
|
e8c3d75b75493911ebf0f99c83676359657178f7 |
|
04-May-2014 |
Sharvil Nanavati <sharvil@google.com> |
Logging cleanup: BTIF and APPL. Change-Id: I5b1214642bbb4b9aecc0fd2c899a6ec2c9793286
/system/bt/bta/sys/bta_sys_main.c
|
5cd8bff2dd0337cb52bf48f312e3d2d55a8882fb |
|
01-Feb-2014 |
Mike J. Chen <mjchen@google.com> |
Major warnings cleanup Mostly fixing unused parameter warnings. A few other warnings also fixed like possible use of unitialized variables (no real issue found, just compiler couldn't follow the path), signed vs unsigned warning. Also fixed some typos, indent issues, removal of dead code, etc. Change-Id: I95eb887aefc4d559d7921f71a0af5f3bfb01ac01 Signed-off-by: Mike J. Chen <mjchen@google.com>
/system/bt/bta/sys/bta_sys_main.c
|
689d66b6559dcb3a0ad7f6cc33b6129e50910253 |
|
13-Dec-2012 |
The Android Open Source Project <initial-contribution@android.com> |
Snapshot 9fd57cbacd95e89602f430244c35bbc67f08b6d2 Change-Id: Ibc3a4bf4161d286c7cfab89a19c676eb5cc9224f
/system/bt/bta/sys/bta_sys_main.c
|
5738f83aeb59361a0a2eda2460113f6dc9194271 |
|
13-Dec-2012 |
The Android Open Source Project <initial-contribution@android.com> |
Snapshot cdeccf6fdd8c2d494ea2867cb37a025bf8879baf Change-Id: Ia2de32ccb97a9641462c72363b0a8c4288f4f36d
/system/bt/bta/sys/bta_sys_main.c
|