9e030fde05352ec4385d7baf6cc2af89e95e039c |
|
25-Jun-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Rename bt_bdaddr_t into RawAddress (3/3) Test: compilation test Change-Id: I4571721a0c6165a66450ee157a53d8d15bfc45d0
/system/bt/bta/dm/bta_dm_api.cc
|
c2276b06572ab6fc1f900fbb1f41087e77d47e2a |
|
10-Jun-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Use bt_bdaddr_t instead of BD_ADDR Test: compilation test, sl4a GattReadTest Change-Id: I8d1bd6914aec55bb53495b1d0d5e3d37b86865e6
/system/bt/bta/dm/bta_dm_api.cc
|
0595ca0018ac9980d1dd7e192301f8494a01f9cb |
|
07-Feb-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Advertising data handling improvements * use non-hardcoded advertise data size * use cache for keeping non-complete advertising data, waiting either for scan scan response, or secondary channel data. Bug: 30622771 Test: sl4a FilteringTest Change-Id: I689edcb4aee30361df15340029559cd19dac552b
/system/bt/bta/dm/bta_dm_api.cc
|
eab3651db4792695080d24b2a6e723a68cc62d22 |
|
05-Jan-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Batch scan simplification Bug: 30622771 Test: sl4a UniqueFilteringTest BleOpportunisticScanTest Change-Id: I0e6ca8ed3d7d98057277a5187e684246f410d978
/system/bt/bta/dm/bta_dm_api.cc
|
ad6afdf96c11a371163535dd6ee2b4c838365fbb |
|
04-Jan-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Get rid of BTA_DmBleCfgFilterCondition Bug: 30622771 Test: sl4a FilteringTest Change-Id: I93b4f1275b9437a20cf1429d184dbefa79451986
/system/bt/bta/dm/bta_dm_api.cc
|
ae2aabef09fd47cce7aa2598ad27e168481f0760 |
|
04-Jan-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Simplify LE scan filter memory management Bug: 30622771 Test: sl4a FilteringTest Change-Id: I58f3c335e84b4d7ee578c321109125084826efa0
/system/bt/bta/dm/bta_dm_api.cc
|
1febda970642d98aae351d70fa062200a8d4ee8b |
|
30-Dec-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Use callbacks for LE filter functions (BTM layer) This patch use callbacks, instead of custom event queue when scheduling LE filter VSC. Bug: 30622771 Test: sl4a FilteringTest Change-Id: I64ac4392883c647d1e500c257c31a8d3e740a0a8
/system/bt/bta/dm/bta_dm_api.cc
|
e39606565035a103562d0485a90b18962592ae97 |
|
29-Dec-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
LE scanner BTA layer simplification BTA layer for scanner is very complicated. This patch simplifies it: * get rid of type redeclarations for BTM types * get rid of trivial *_act methods and call BTM API directly where possible Bug: 30622771 Test: slra FilterTest Change-Id: I3899b30074b2abc4a3945c5cc14f1bb40a504876
/system/bt/bta/dm/bta_dm_api.cc
|
ce34742e357f7bfacecef252b3a22bf9a65f3d59 |
|
28-Dec-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Fix pointer type in BTA_DmBleCfgFilterCondition p_cond_param->srvc_uuid is of type tBTA_DM_BLE_PF_UUID_COND Bug: 33910711 Test: sl4a FilteringTest Change-Id: I6b30e1e441f8256d8c8dbf593f746a3d7810eda6
/system/bt/bta/dm/bta_dm_api.cc
|
bced7f0c0b1155e3619644b1d2db1f7fe9a12703 |
|
27-Dec-2016 |
Andre Eisenbach <eisenbach@google.com> |
Fix pointer arithmetic in BTA_DmBleCfgFilterCondition Using the pointer to the beginning of a union in a member of the union, which will then be over-written, is a bad idea(TM). Bug: 33910711 Test: manual Change-Id: I0b979e493688bf8c02119a2ef6707d6c8e730dcb
/system/bt/bta/dm/bta_dm_api.cc
|
d494104585cfed560f81833a3417e00210881156 |
|
20-Dec-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Get rid of BLE_ANDROID_CONTROLLER_SCAN_FILTER All calls to filter related code is guarded by check if HCI VSC are available. There is no need to keep double check. Test: sl4a FilteringTest Bug: 30622771 Change-Id: Ib4c53593d536a2985926ef2b725bc69050bdb035
/system/bt/bta/dm/bta_dm_api.cc
|
808650d846bd302ca8636fb7464ff4aba940f1d5 |
|
18-Dec-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Modernize BLE Scanner implementation (2/3) Get rid of BTA state machine states for BLE scanning. Test: sl4a FilteringTest Bug: 30622771 Change-Id: I8a879604f413c9980cf64983d8ef6b9a94669295
/system/bt/bta/dm/bta_dm_api.cc
|
709843216679a3c7852d7d254fde47a9d503abd8 |
|
16-Dec-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
BLE scan filter setup simplification (2/3) Bug: 30622771 Test: sl4a BleScanTest Change-Id: I55e6c201849a057995c0c6fda1c52af826749922
/system/bt/bta/dm/bta_dm_api.cc
|
83211b0ccceb53586ac651a4d67ded7443b2f222 |
|
07-Dec-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Get rid of selective connection procedure Bug: 30622771 Test: compilation test Change-Id: I1a7e4c49f93f11a350b96ffe7b2e69974ed82f46
/system/bt/bta/dm/bta_dm_api.cc
|
ee96a3c60fca590d38025925c072d264e06493c4 |
|
23-Nov-2016 |
Myles Watson <mylesgw@google.com> |
Fix asterisks in block quotes Remove double asterisks from block quotes. git grep -lP '^[*][*]' | xargs sed 's/^[*][*]/ \*/' -i Fix asterisk line lengths git grep -l '^[ /][*]\{79,\}[*/]' | \ xargs sed -i s,"^\([ /]\)[*]\([*]\{78\}\)[*]*\([*/]\)","\1\2\3", Test: mma -j32 Change-Id: Ie3fd375ac2f804cb0f53bf1314a005e85973b3d7
/system/bt/bta/dm/bta_dm_api.cc
|
9008888d24407541aa383aa4bd363a40abbf954b |
|
16-Nov-2016 |
Myles Watson <mylesgw@google.com> |
Fix formatting after removing defines clang-format -i --style=file bta/*/* btif/*/* include/* Test: mma -j32 Change-Id: I9ebb32f0cc5bd24a7cb2ae25699999aab5036b13
/system/bt/bta/dm/bta_dm_api.cc
|
9979121f0865e07432215529f9b157792ae3ef21 |
|
18-Nov-2016 |
Myles Watson <mylesgw@google.com> |
Remove BTA_GATT_INCLUDED Test: Connect to a BLE Keyboard Change-Id: I00393e2bf09fb65533e953896563e69aab5a22dc
/system/bt/bta/dm/bta_dm_api.cc
|
84baa7f16e830394408278dbb8c508dd9fa02887 |
|
14-Nov-2016 |
Myles Watson <mylesgw@google.com> |
Remove BLE_INCLUDED define Test: Connect to a BLE Keyboard Change-Id: I5f8f4017c90c3c404004632fd10e6c2b93bd7783
/system/bt/bta/dm/bta_dm_api.cc
|
1baaae3f34a667058e7f0c5f778357d98320cf38 |
|
09-Nov-2016 |
Myles Watson <mylesgw@google.com> |
bta: Fix comment formatting after clang-format Test: mma -j32 Change-Id: Ic945ac421b1918527105c59674eda89afd3d4126
/system/bt/bta/dm/bta_dm_api.cc
|
cd1fd07f1306e08fe048682dd5918987e579f937 |
|
09-Nov-2016 |
Myles Watson <mylesgw@google.com> |
bta: Apply clang-format clang-format -i --style=file bta/*/* (twice) Test: mma -j32 Change-Id: Ib118b1dfb6a34f9a5bfe153d65841e9041165264
/system/bt/bta/dm/bta_dm_api.cc
|
f355ef5a4d7fb667fc57a0dfb60f738d870e252e |
|
09-Nov-2016 |
Myles Watson <mylesgw@google.com> |
bta: Prepare include statements for clang-format bta: Separate includes of different types Include "bta_sys.h" in bta/dm/bta_dm_int.h Test: mma -j32 Change-Id: I292bc6518230201e1175937b9c6766c19709c9d5
/system/bt/bta/dm/bta_dm_api.cc
|
8af480e24549ba51a3f6858d9d9af504715e0bea |
|
09-Nov-2016 |
Myles Watson <mylesgw@google.com> |
bta: Remove double asterisks in comments Double asterisks at the beginning of the line sed -i s,"^[*][*]"," *", bta/*/* Double asterisks after a space sed -i s,"^ [*][*]\([^*]\)"," *\1", bta/*/* sed -i s,"^ [*][*]$"," *", bta/*/* Test: mma -j32 Change-Id: Ib83b802c7000176683b4e7f24d1255b3c2c6c01c
/system/bt/bta/dm/bta_dm_api.cc
|
3a2747fce1bf71c3396fe50799023eefd4c09849 |
|
01-Nov-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Remove unused BLE_PERIPHERAL_MODE_SUPPORT This patch removes BLE_PERIPHERAL_MODE_SUPPORT and all code related to it, which is unused. Bug: 30622771 Bug: 24099160 Change-Id: Ic9cc2a94c8d1b974814d453ee8a0073e7d6deb85
/system/bt/bta/dm/bta_dm_api.cc
|
5ba79228abfeee8de6b65f28da180839445a693c |
|
08-Jun-2016 |
Srinu Jella <sjella@codeaurora.org> |
Separated initialize and re-initialize of DM control block Use Case: Turning ON Bluetooth failed after network reset Steps: 1. Turn ON Bluetooth 2. Go to settings->backup and restore->network reset. 3. Do reset to reset BT, WIFI, data. 4. Go back to Bluetooth settings menu and try to turn ON Bluetooth. Failure: Bluetooth is not turning ON after network reset Root Cause: In case BTA_SYS_HW_OFF_EVT event, alarm_new is getting called. Which is causing issue in Next Turn ON of Bluetooth if PID is same. Fix: Separated initialize and re-initialize of DM control block Test: code compilation. Change-Id: I09abfb22c67f04626564a7791e4b61ec3a523cc1
/system/bt/bta/dm/bta_dm_api.cc
|
d7ffd64accbd50a27289a388856e56244ccbb5da |
|
27-Oct-2016 |
Myles Watson <mylesgw@google.com> |
Remove deprecated UNUSED macro (5/5) Include osi.h for UNUSED_ATTR. Test: mma -j32 Change-Id: I43260669dc1f54639e46cc9620093d727ee86276
/system/bt/bta/dm/bta_dm_api.cc
|
d628a0695e73973e0bd54dd026bfed900b69f804 |
|
27-Oct-2016 |
Myles Watson <mylesgw@google.com> |
Remove deprecated UNUSED macro (3/5) These were caused by ifdefs, so they had to be done by hand. TEST: mma -j32 Change-Id: I183f3ee82e8744fed2b65dc96dc492b5bf079243
/system/bt/bta/dm/bta_dm_api.cc
|
00a53d14c8ec66334ff4b27586315a7a81d5475c |
|
16-Aug-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Remove BTA layer components for LE advertising Advertising is so simple, it doesn't need the BTA layer. Values returned by BTM_VendorSpecificCommand shouldn't be handled as success or failure, it's just to inform wether we sent the callback. Bug: 30622771 Change-Id: I104c4fbf84d3818b76fe8c527fbde4e6c4336c3a
/system/bt/bta/dm/bta_dm_api.cc
|
6a9666116668683fb473239ff381dec16b784421 |
|
16-Aug-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Unify LE advertising instance identifiers Up till now, we had three numbers associated with each advertising instance: client_id, inst_id, and cbindex. We also had special structure mapping each of those numbers to another. From now on, when registering advertiser, we'll grab next free advertising instance id and make advertiser_id equal to it. Thanks to this, we can remove all the mapping and have just one number associated with each advertising instance. This also means we no longer need to pass *p_ref value to the BTM layer with each request, as advertiser_id is equal to inst_id. Bug: 30622771 Change-Id: Ied71bff36e30d6c6ce4ca3e62d46ba96320cf597
/system/bt/bta/dm/bta_dm_api.cc
|
5b12a83ba9775c6bce88b23a7c13ef70aa9b6bce |
|
11-Aug-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Use closures in advertising related code This patch is a preparation to get rid of BTA layer for advertising, and for further refactoring required to keep this code maintainable. Tests: SL4A/ConcurrentBleAdvertisingTest Bug: 30622771 Change-Id: I574b57159390d090b16d264d3c1fba2f07b70d4c
/system/bt/bta/dm/bta_dm_api.cc
|
e9e58ced195ec2c983c7723c9cbdabd45eb0f2fd |
|
17-Jun-2016 |
Marie Janssen <jamuraa@google.com> |
bta: use standard types Use standard types everywhere. Use standard style for #if statements: - #if (VAR_NAME == TRUE) - #if (VAR_NAME1 == TRUE && VAR_NAME2 == TRUE) Use __func__ instead of __FUNCTION__ Fix some debug statements to use __func__ Change-Id: Ib86de4de9f14529ecaa4f71597260e3b5785360b
/system/bt/bta/dm/bta_dm_api.cc
|
b7938c1866dd8b92977e3ba3632de77fd877bace |
|
27-May-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Convert HID and Device Manager BTA code to C++ These are the only places that use BTA GATTC API. After this change it's possible to change GATT API to use C++ types as arguments. Bug: 28485365 Change-Id: Idf83396f4bc3a2cc8a9b41f69da5d033af1be678
/system/bt/bta/dm/bta_dm_api.cc
|