be838370feaff4696d938b54c8e116030be1d7f5 |
|
22-Aug-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Fix crashes in btm_consolidate_dev It is not safe to do list_next after list_remove. Test: sl4a BleStressTest:test_le_pairing Bug: 31442085 Change-Id: Ib4cb02154684b39ebc652d20559e1b07eee2c357 Merged-In: Ib4cb02154684b39ebc652d20559e1b07eee2c357 (cherry picked from commit bd8ed367d3522037c0c09e425fc85baf5b66a411)
/system/bt/stack/btm/btm_dev.cc
|
76eba3ad1949b54d63a2cfa097721d5590e631cf |
|
13-Aug-2016 |
Nitin Arora <niarora@codeaurora.org> |
Allow full dev consolidation after pairing When BR/EDR and LE RPA device records are present in the device records and the same remote device is paired on a new RPA, the device consolidation happens after the IRK is received. The current consolidation breaks out of the loop after consolidating one device record. In such cases, BR dev record is left and when BR link key is derived, it gets updated in a separate device record. Since two device records are present at the same time for the same remote, the keys and static addresses get picked up from incorrect node and issues such as "remove device from resolving list seen with {0} static address" are seen. The fix includes allowing the host to complete the consolidation for all device records rather than breaking at the fist match. Change-Id: Ic8ea4b831a7ba971eb6a0f54573934a6079b45d5
/system/bt/stack/btm/btm_dev.cc
|
a484a888196ddf8bcbf1ad3226d6451bc735a94b |
|
25-Jun-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Rename bt_bdaddr_t into RawAddress (3/3) Test: compilation test Change-Id: I4571721a0c6165a66450ee157a53d8d15bfc45d0
/system/bt/stack/btm/btm_dev.cc
|
b8a477e9ac51898b05cb328eda897d95f1ef3d02 |
|
17-Jun-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Get rid of BD_ADDR Test: compilation test Change-Id: I8493485873a81f897fbaef1504076ef18274a8a5
/system/bt/stack/btm/btm_dev.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/stack/btm/btm_dev.cc
|
f6ac424a81bad038bbf9a90c7c569dba81978f51 |
|
09-Nov-2016 |
Venkata Jagadeesh Garaga <vgaraga@codeaurora.org> |
Increase max remote ext feature pages to 3 Use Case: DUT unable to pair with Xbox HID device Steps: 1. Turn on BT 2. Start Inquiry 3. Pair with device with three extended feature pages Failure: Unable to pair with HID device Root Cause: DUT not responding for btm_read_remote_ext_features_complete as we are not supporting three extended pages. So Security procedure also not getting started. Fix: Increase max remote ext feature pages to three from 2 as some latest remotes supporting three extended pages. As per spec we can support 255 extended pages. Test: Pair with device with three extended feature pages Bug: 32999575 Change-Id: I061c78a7aaa1ab58a2fc554d026305a0124eee77
/system/bt/stack/btm/btm_dev.cc
|
f618f83f094fd0ba1af7cf960077e7edae881e69 |
|
01-Dec-2016 |
Jack He <siyuanh@google.com> |
Initialize SDP rmt_io_cap to UNKNOWN (0xFF) * Set rmt_io_cap to 0xFF (Unknown) when initializing security device record * Check if rmt_io_cap is unknown when processing passkey confirmation request and fail the confirmation if rmt_io_cap is never updated since record creation Bug: 33269435 Test: BtStressTest:test_pair_bluetooth_stress Change-Id: I329f3da37422d34548e4ef5d16fae4b5159fca22
/system/bt/stack/btm/btm_dev.cc
|
911d1ae03efec2d54c3b1b605589d790d1745488 |
|
29-Nov-2016 |
Myles Watson <mylesgw@google.com> |
Apply clang-format to the rest of the tree find * | grep "\.[ch]" | xargs clang-format --style=file -i Test: mma -j32 Change-Id: I6fcc9862bb7bc07c2a367ca58fef2b3cd27a6f05
/system/bt/stack/btm/btm_dev.cc
|
9ca07091a1f07ea201cee0504dab6a1d7073d429 |
|
29-Nov-2016 |
Myles Watson <mylesgw@google.com> |
Reformat long comments before clang-format Test: mma -j32 Change-Id: I86a2a4af9dcd22d675ca1f764bb2c9623d63edcc
/system/bt/stack/btm/btm_dev.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/stack/btm/btm_dev.cc
|
f33b6f434f086b20fabe5913016bc423ac975057 |
|
23-Nov-2016 |
Marie Janssen <jamuraa@google.com> |
readability fix: No assigns in if conditionals Coccinelle-assisted: @@ variable i; expression E; statement S1, S2; @@ + i = E; if ( ( - (i = E) + i != ... | - (i = E) + i == ... | - (i = E) + i < ... | - (i = E) + i > ... | - (i = E) + i <= ... | - (i = E) + i >= ... | - (i = E) + i ) ) S1 else S2 for file in $(find . -name "*.cc"); do spatch --sp no-if-assigns.cocci --in-place $file done clang-format --style=file -i bta/**/*.cc Test: mma -j37 and basic sanity testing on angler, sailfish Change-Id: I41a2964afac347c24e13869b6c172e321e646091
/system/bt/stack/btm/btm_dev.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/stack/btm/btm_dev.cc
|
415d1120561ba38c7cd00f0e41d8fb69cda97601 |
|
18-Oct-2016 |
Andre Eisenbach <eisenbach@google.com> |
Reset device security flags when pairing fails Bug: 29998634 Test: manual (cherry picked from commit 54ee9431e8bf0ec1c47d7306fd7a3d0975590733) Change-Id: I8bd0ce5b797e30009260f7fe673f389d066db9ac
/system/bt/stack/btm/btm_dev.cc
|
b2a292b5d8df2f359c38b0787bc01181225a9bc9 |
|
15-Oct-2016 |
Pavlin Radoslavov <pavlin@google.com> |
Renamed most C files to C++: *.c to *.cc Also: - Fixed C++ related compilation errors. - Added missing 'extern "C"' guards in some of the header files. - Added missing LOCAL_CPP_EXTENSION to Android.mk files. - Added-back btif/src/btif_mce.cc and bta/mce/bta_mce_* to btif/Android.mk and bta/Android.mk respectively. - Fixed the alphabetical ordering of the *.cc files in some of the Android.mk files. - Added missing Copyright header to "osi/include/list.h" - Updated "osi/src/wakelock.cc" to use C++ std::string instead of dynamic allocation of C-style strings. Test: code compilation, unit tests, and A2DP streaming Change-Id: Ia2f7215ed9df32775c701b68fc86b09875b942c7
/system/bt/stack/btm/btm_dev.cc
|