- Apr 30, 2021
-
-
Erwin Jansen authored
-
Treehugger Robot authored
* changes: btaa: Add device-activity aggregation dumpsys data btaa: HCI ACL/SCO/ISO data packets process btaa: gd: Add wakeup reason dumpsys data btaa: attribute wakeup and wakelock duration over processed HCI buckets btaa: HCI LE and special event process btaa: HCI classic event process btaa: HCI command process btaa: handle wakelock notification btaa: handle wakeup notification
-
Myles Watson authored
-
- Apr 29, 2021
-
-
Martin Brabham authored
Bug: 176170066 Test: atest --host bluetooth_test_gd:SecurityRecordStorageTest (Fails to run/doesn't exist) Tag: #refactor Change-Id: I4aac224fcdd7ee31ce6e672dc4d5b9653b605b7e
-
Martin Brabham authored
-
Treehugger Robot authored
-
Grzegorz Kołodziejczyk authored
Read multiple command requires at least two handles to be performed. Test: Discovery GATT db with single descriptor characteristic Sponsor: jpawlowski@ Change-Id: I36bb1077ab8fe6adb3c94274b8ffde56086fd611
-
Chienyuan authored
Tag: #gd-refactor Bug: 186234480 Test: gd/cert/run Test: bluetooth_test_gd Test: sl4a, BleOpportunisticScanTest:test_batch_scan_result BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: I5060826ff79030cae0bacb44e67acc6f42c6adb4
-
Chienyuan authored
Tag: #gd-refactor Bug: 185962046 Test: gd/cert/run Test: manual Change-Id: If49961fc02d0cdebc28f0d8d247a98ed35bcd6b4
-
Sonny Sasaka authored
-
Sonny Sasaka authored
-
- Apr 28, 2021
-
-
Chris Manton authored
Also introduce net_test_stack_hid And update mocks to allow functional replacement Bug: 181199209 Test: gd/cert/run Tag: #refactor BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: Iab4ac55477d2d98d52d7b77aee19b4172c63e4eb
-
Chris Manton authored
Bug: 181199209 Test: gd/cert/run Tag: #refactor BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: I8b73da2ddebce5117e8bb91176c5cebfef093315
-
Chris Manton authored
Bug: 181199209 Test: gd/cert/run Tag: #refactor BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: Ie5be989255c5609da81b6126c266f18f45007e83
-
Chris Manton authored
Bug: 181199209 Test: gd/cert/run Tag: #refactor BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: I834a2e1cf0ba81cb7cc118dfdae3a0e583c4fc8e
-
Chris Manton authored
Bug: 181199209 Test: gd/cert/run Tag: #refactor BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: I99339cd65df45efc918694a115bce3fffdb86efc
-
Chris Manton authored
Bug: 181199209 Test: gd/cert/run Tag: #refactor BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: Ia8f9aa24b72a1bd3b57c3bd850a022a81c2e174b
-
Chris Manton authored
Toward loggable code Bug: 163134718 Test: gd/cert/run Tag: #refactor BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: I7566e6b37b3471fd7fd12e957d30d4585b86f26e
-
Chen Chen authored
-
Martin Brabham authored
Implement generation of LE OOB Data - Remove GD flag to NOP for OobDataReply. GD Stack is only up to ACL, so Legacy SM needs to properly function. Bug: 184377951 Tag: #feature Test: Manual implementation from p/a/Settings Change-Id: I6072c70f5e6707eb8f3a6126ffa1edbb5cba5aa4
-
Chris Manton authored
Bug: 182544206 Test: gd/cert/run Tag: #refactor BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: I67c83b36a7a9e5ac476d47760562d78bc1c95d36
-
Chris Manton authored
-
Weichin Weng authored
-
Chen Chen authored
Calling MetricIdAllocator may break its singleton pattern when stack is half gd and half legacy. Since we are not inputing metric id at this point, the easiest way is to just delete the reference. Bug: 181819141 Test: atest --host bluetooth_test_common Tag: #stability Change-Id: If4bf0a87a55ef4ee5460065c43577ed22d7b28eb
-
Myles Watson authored
-
- Apr 27, 2021
-
-
weichinweng authored
Add LogBluetoothHalCrashReason function in GD to collect Bluetooth hal crash reason. Bug: 174284338 Tag: #feature Test: atest BluetoothInstrumentationTests Change-Id: Ibdf4e1acd60f2f13f65c61c69421192ff246850b
-
Erwin Jansen authored
This makes a few changes to compile the libary under clang-cl targeting windows 10. - We cannot cast a path to std::string in msvc - Incorrect function names for generated code, causing linker failures under windows. Bug: 186568522 Test: Can successfully build packet gen as part of android emulator Change-Id: I0edebc3bf459669998295dfbee08df30d4381ff8
-
Chris Manton authored
Bug: 182544206 Test: gd/cert/run Tag: #refactor BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: I7d31565442129ece0778a377a34961a18e2e3e0a
-
Chris Manton authored
-
Chris Manton authored
Toward testable code Bug: 163134718 Test: gd/cert/run Tag: #refactor Change-Id: I6f2d7a4a26858c416750bf35c47f70ec13f2f0f4
-
Mingguang Xu authored
1. Add create time into each aggregation entry; aggregation entry expires after one day. 2. Add device-activity into dumpsys data; Trim down transient aggregation entries to avoid the unordered map overgrows. Tag: #feature Bug: 185819535 Bug: 170315554 Test: mmma -j system/bt Test: manually capture a bugreport and make sure btaa aggregation data show up BYPASS_LONG_LINES_REASON: consist with gd format Change-Id: I02cc2057796661fa3625492eaf1a429e20da4951
-
Mingguang Xu authored
Parse ACL/SCO/ISO packets to get connection handle, match to device address, and attribute them to device-based activities. Tag: #feature Bug: 185596854 Bug: 170315554 Test: mmma -j system/bt Test: manual BYPASS_LONG_LINES_REASON: consist with gd format Change-Id: Icb879814ee34700afa35ace1cdca8ff1e8f55fe4
-
Mingguang Xu authored
Create a circular buffer for wakeup history and plumb wakeup history to dumpsys. Tag: #feature Bug: 185037337 Bug: 170315554 Test: mmma -j system/bt Test: manual BYPASS_LONG_LINES_REASON: consist with gd format Change-Id: I468ac585ed0cd3415176b5d9a373e9332efe4d99
-
Michael Sun authored
Attach recorded BT wakeup to the first post-wakeup parsed HCI packet. Distribute wakelock duration over bucketed HCI info based on transmitted byte counts. Tag: #feature Bug: 177232907 BUG: 177228387 Test: verified locally BTAA aggregator updated with BT activities BYPASS_LONG_LINES_REASON: consist with gd format Change-Id: Idf93afcf13af9e76b4bc6f6ef30cf8424d8b4982
-
Michael Sun authored
Implementation the HCI process for LE and special (events that contains more than one device information) events. Tag: #feature Bug: 177230507 Test: verified locally BTAA can process LE and special events. BYPASS_LONG_LINES_REASON: consist with gd format Change-Id: If30069673bd6164b22af926ca17ea9830f891a8a
-
Michael Sun authored
Introduce BTAA HCI event processing. This change only handles simple (event that contains only one device information and do not require additional processing )classic events. Command status and command complete events will be associated with previous parsed HCI command. The lookup table is a skelton implementation that does not contain 100% correct information. Tag: #feature Bug: 177230507 Test: verified locally BTAA can partially process HCI events. BYPASS_LONG_LINES_REASON: consist with gd format Change-Id: Idd26318200cfd1f94596dd69083452dba5dff478
-
Michael Sun authored
Introduce the first phase of BTAA HCI command process. Upon receives a HCI command packet, processing module will search the opcode against a lookup table, only simple (contains only device info) and identifiable command will be processed. Pair information of connection handle and device address are associated and recorded for future references. The lookup table is a skelton implementation that does not contain 100% correct information. Tag: #feature Bug: 177230507 Test: verified locally BTAA can partially process HCI commands BYPASS_LONG_LINES_REASON: consist with gd format Change-Id: I7c8640e60ffa06f45953403549d28dc530383bd9
-
Michael Sun authored
Handle wakelock acquire and release notification from system suspend service and record the wakelock duration upon release. Tag: #feature Bug: 177232907 Test: verified locally BTAA can capture and timestamp BT wakelocks BYPASS_LONG_LINES_REASON: consist with gd format Change-Id: I51dfdbec62b66d5a93f45d8ea2c52a16ce3beec1
-
Chris Manton authored
Bug: 163134718 Test: cert Tag: #refactor Change-Id: Iae4b30484c2e0a38d5ac61875c1a80c6b04bd97f
-
Chris Manton authored
Bug: 182544206 Test: gd/cert/run Tag: #refactor BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: Ib9bef0b07b5a2248ae4262537b4fa4a4f865e0e3
-