- Jun 21, 2020
-
-
jonerlin authored
Fine tune btif config mechanism to limit the number of section in bt config cache and improve the bt config clone performance * Bt config cache will grow bigger and bigger without limitation and cause many Bluetooth stability issues * Do not clone the whole config cache before writing config cache into file, clone paired devices section instead. * Implement BtifConfigCache class to handle bt devices config add, remove, paired, unpaired,..etc. Bug: 143515989 Test: 1. Add BtifConfigCacheTest unit tests to test bt config cache setup, paire with a new devices, unpaire with a devices, remove the sections with specific key. 2. Checking the paired devices information still existed in settings after Bluetooth disable or device reboot. 3. Checking the paired devices information still saved in btif_config file after Bluetooth disable and device reboot. 4. Remove btif_confing files and enable Bluetooth, checking the btif_config file can be created and included adapter information normally. 5. Checking the paired devices information be clean in btif_config file after device factory reset 6. keep BLE scanning, then pair with a bluetooth device, connect a bluetooth device, disable Bluetooth, checking the function work normally. Tag: #stability Change-Id: Ide1ba1b6daaf9d102ab96976cbf28e65031423d0
-
- Jun 19, 2020
-
-
Sal Savage authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Chris Manton authored
Includes skeleton infrastructure for filtering and portions marked obsolete Bug: 157647700 Test: atest --host bluetooth_test_gd Tag: #gd-refactor Change-Id: I0f21cc2e1b9904af326961f5a787e07dcf309523
-
Myles Watson authored
Remove unused imports in acl_manager_test.py. Remove unused class variable facade_handler in connection. Add handle to GrpcEventQueue debugging string. Bug: 152346341 Test: cert/run --host Tag: #gd-refactor Change-Id: Ied830b7fc17fb6b5bed9669a3dc4eafb15176cef
-
- Jun 18, 2020
-
-
Martin Brabham authored
Place the venv in ashmem by default. This decreases the --clean build runtime by ~40%. This also decreases the regular build runtime by ~10%. The build time that is measured is the time for the python/cert changes to happen. This isn't accounting for building C++ files and objects into intermediates and target. Please note, if you lose power or reboot you will lose data in ashmem. Added a flag '--gotta-go-slow' for those that want the venv to remain on disk. Added a flag '--speed-hax' as a bucket to add non default speed improvements. Currently, this will move HostOnlyCert to ashmem which decreases clean builds by 54% and non clean builds by 16% when coupled with default gotta go fast feature. Bug: 159358844 Test: cert/run --host --verbose --test_filter=SecurityTest:test_dut_initiated_no_input_no_output_no_input_no_output Test: cert/run --clean --host --verbose --test_filter=SecurityTest:test_dut_initiated_no_input_no_output_no_input_no_output Test: cert/run --gotta-go-slow --host --verbose --test_filter=SecurityTest:test_dut_initiated_no_input_no_output_no_input_no_output Test: cert/run --clean --gotta-go-slow --host --verbose --test_filter=SecurityTest:test_dut_initiated_no_input_no_output_no_input_no_output Test: cert/run --speed-hax --host --verbose --test_filter=SecurityTest:test_dut_initiated_no_input_no_output_no_input_no_output Test: cert/run --gotta-go-slow --speed-hax --host --verbose --test_filter=SecurityTest:test_dut_initiated_no_input_no_output_no_input_no_output Tag: #gd-refactor Change-Id: Ibdf42f0cf7c2e9a32e3360f2f071443722796a4f
-
Sal Savage authored
These removed lines of code were for a problem that no longer seems to exist with other phones. It was a band-aid at best, having us pull metadaa on 'playing status' when a phone really should have just been sending the update to us anyway. Pulling metadata here causes a bad user experience with cover artwork where the new metadata is interpreted as a track change in Java land and cover artwork can be redownloaded. This happens primarily with non-database aware players after a BIP reconnect where we're guarenteed nothing about the handle we receive. Tag: #compatibility Bug: 158232844 Test: atest BluetoothInstrumentationTests Change-Id: Idb88e7c1e1553319cb26eba2c18e3cd2bbd552cc
-
Chienyuan authored
Tag: #gd-refactor Bug: 152346341 Test: gd/cert/run --host Test: atest bluetooth_test_gd Change-Id: I1067695121c8e6f0336450b58c82cc5700a01cfc
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Jack He authored
* Add a Find() function that returns the pointer to the value associated with a key, further changes to the value using that poitner does not warm up the cache * Remove eviction callback, but instead return an optional evicted node when Put() evicts a cold node. This prevents potential deadlock when calling LruCache methods in the callback * HasKey() is not zero-copy * Get() calls Find() * Add unit tests for these new features * Modify MetricIdAllocator to use these new features Bug: 143515989 Test: atest --host bluetooth_test_common Change-Id: I9071c86a9041e5c95b349824889ccedf9f9c18dc
-
Treehugger Robot authored
-
- Jun 17, 2020
-
-
Martin Brabham authored
LinkKeyNotification comes after SimplePairingComplete Bug: 159075859 Test: cert/run --host --test_filter=SecurityTest Tag: #gd-refactor Change-Id: I02a2a23ee3e7404b0d494248d720a174a87e21d8
-
Jack He authored
* Implement convenience methods so that users don't have to loop through them manually Bug: 143515989 Test: atest --host net_test_osi:ConfigTest Change-Id: I570a49bec9496409ba60f8223c58c9e642b41c1a
-
Jack He authored
* When nullptr is given, copy of item is omitted Bug: 143515989 Test: atest --host bluetooth_test_common Change-Id: If5405611e8a32709bf0bf18f416d17adbd07b5ea
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Chienyuan authored
Tag: #gd-refactor Bug: 152346341 Test: gd/cert/run --host Test: atest bluetooth_test_gd Change-Id: Ied01aaebd339406d60370670db215dd8cb63b8af
-
Myles Watson authored
Use BluetoothAddressWithType for connection messages. Bug: 152346341 Test: cert/run --host Tag: #gd-refactor Change-Id: If085b1e9cd03fe209864b1f334f5a39f124e4822
-
Hansong Zhang authored
Flow control and retransmission only applies to dynamic channel. Test: Use nRF connection app to test GATT Change-Id: I6cc7a2ffaf707013d2d7afa3f2b37cb0f328eda9
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Treehugger Robot authored
-
- Jun 16, 2020
-
-
Chris Manton authored
Bug: 157647700 Test: atest --host bluetooth_test_gd Tag: #gd-refactor Change-Id: Ib7efbccb42175dfc4c46183d0ad9888b2776b7bf
-
Sanjay Ramankandath authored
Test: Verified bt hal builds fine. Tag: #gd-refactor Bug: 154491371 Bug: 158019041 Change-Id: I525f5ec46b222e304abf89b437026c1a1ce6e70c
-
Jakub Pawlowski authored
Implementation of SM/MAS/JW/BI-04-C test case Tag: #gd-refactor Bug: 155399771 Test: gd/cert/run --host --test_filter=LeSecurityTest Change-Id: Id382ae008f57ad54b06185975db413cf04b192ad
-
Jakub Pawlowski authored
Implementation of SM/SLA/JW/BI-03-C test case Tag: #gd-refactor Bug: 155399771 Test: gd/cert/run --host --test_filter=LeSecurityTest Change-Id: I894c0f0027f888630696ba264aaa65e887034baf
-
Tyler Gunn authored
-
Tyler Gunn authored
This reverts commit 02e30d5a. Reason for revert: Breaks aosp-master build as indicated here: https://android-build.googleplex.com/builds/quarterdeck?branch=aosp-master&target=run_bluetooth_host_native_tests&lkgb=6595363&lkbb=6595627&fkbb=6595392 Change-Id: I93e7dd80d3f0b153d71f2650cd16bcaf0fcdd89f
-
Treehugger Robot authored
-
Treehugger Robot authored
-
Chris Manton authored
Bug: 157647700 Test: atest bluetooth_test_gd Tag: #gd-refactor Change-Id: Ibea37073e7dfac2a11b6b49b76d1a3ee2fcbeef1
-
Jakub Pawlowski authored
Implementation of SM/SLA/JW/BV-02-C test case Tag: #gd-refactor Bug: 155399771 Test: gd/cert/run --host --test_filter=LeSecurityTest Change-Id: I4a6125e3ea1a8149315dcd35e78f7d08a38cf80a
-
Jakub Pawlowski authored
Implementation of the first successful PTS test implementing "Just Works IUT Initiator" test case. Tag: #gd-refactor Bug: 155399771 Test: gd/cert/run --host --test_filter=LeSecurityTest Change-Id: I37582b65f4f5acb3ce5e855ea909a6665524d00e
-
Martin Brabham authored
After running tests on the real device, I have discovered that these two events come in the opposite order as currently programmed. Bug: 159075859 Test: cert/run --host --test_filter=SecurityTest:test_dut_initiated_display_yes_no_display_yes_no Test: cert/run --host --test_filter=SecurityTest:test_dut_initiated_display_yes_no_display_yes_no_init_reject Tag: #gd-refactor Change-Id: Ic054c26ce03c502ec60057746036cf416871d980
-
Treehugger Robot authored
-
- Jun 15, 2020
-
-
Treehugger Robot authored
-