- Mar 13, 2021
-
-
Chris Manton authored
Toward readable code Bug: 163134718 Test: gd/cert/run Tag: #refactor Change-Id: Ia1f70c108d89132a1d993d4add703828c088f60c
-
Chris Manton authored
Toward readable code Bug: 163134718 Test: gd/cert/run Tag: #refactor Change-Id: I28786af205d5a3bd9595b33e00aed2b953f4dee2
-
Chris Manton authored
Toward meaningful code Bug: 163134718 Test: gd/cert/run Tag: #refactor Change-Id: I55fea00a20a23ed917c00255cd992a0ad3eab86f
-
Treehugger Robot authored
* changes: HCI: Use 0x0123 for hex HCI: Add more PDL tests Only pad the previous field
-
- Mar 12, 2021
-
-
Chris Manton authored
Bug: 182524282 Test: Manual verification on failing scenario Tag: #refactor Change-Id: Ia76e97648c8091e2bde5a26b307d2779c21e6640
-
Myles Watson authored
Bug: 182216573 Test: atest bluetooth_test_gd libbt_packets_test Tag: #gd-refactor Change-Id: Ia06fbdda9101b77204c6ee3ba1c8c1edc81aa3bf
-
Myles Watson authored
Bug: 182216573 Test: atest bluetooth_test_gd libbt_packets_test Tag: #gd-refactor Change-Id: I083066083a519c19a8d5c3a4928b306e2495c512
-
Myles Watson authored
Bug: 182216573 Test: atest bluetooth_test_gd libbt_packets_test bluetooth_packet_parser_test Tag: #gd-refactor Change-Id: I8e43aee420be58af81cd9f47fcf53a566af1b3fa
-
Myles Watson authored
* changes: Alias iterator in packet-gen Use generic type for JsonParser Change dynamic_cast to static_cast
-
Erwin Jansen authored
The msvc compiler is unable to translate some of the generated code: error: no viable conversion from 'std::array<uint8_t, 248>::iterator' (aka '_Array_iterator<unsigned char, 248ULL>') to 'uint8_t *' (aka 'unsigned char *') Instead of assigning the value to a ptr, we alias the iterator instead. Test: atest bluetooth_test_gd Tag: #gd-refactor Bug: 182505215 Change-Id: I389b26d71ef5bd8f96ae819d34ce11590f14a5e6
-
Treehugger Robot authored
-
Treehugger Robot authored
* changes: Change libbt-platform-protos dependency Update the readme to use build.py and explain Rust Add build.py to simplify building locally Build support for Rust via Cargo Add option to build libbluetooth as staticlib Prevent building some codecs when not supported Build support and abstractions for Linux build Add source_root parameter to bluetooth_packetgen Fix bison 3.7 incompatability Host tools support
-
- Mar 11, 2021
-
-
Treehugger Robot authored
-
Jizheng Chu authored
-
Myles Watson authored
Bug: 182216573 Test: atest bluetooth_test_gd libbt_packets_test Tag: #gd-refactor Change-Id: Id3e8ddca497fb0014bfcac1c96b465dede4c6995
-
Myles Watson authored
Bug: 182216573 Test: atest bluetooth_test_gd libbt_packets_test Tag: #gd-refactor Change-Id: Ifd4d681fe95664cec639bab800bec73c26b1d3a4
-
Erwin Jansen authored
The android emulator team uses a newer libchrome library. The json read method now returns an Optional type, vs. a unique_ptr. We now let the compiler infer the type and rely on the operators to do the right thing. Change-Id: I0a668115659d6508344190783b7dc55d84374f15 Test: System compiles. Bug: 182487647
-
Erwin Jansen authored
dynamic_cast requires type information at run time to throw exceptions. This is not available in the emulator build system, where execeptions are explicitly disabled. Instead we use static_cast to downcast. Change-Id: I75ef0b5c694320fc1e9fe648e8087e4def8cdf94 Test: Build succeeds.
-
Chienyuan authored
Tag: #gd-refactor Bug: 182243613 Test: gd/cert/run Test: manual, pair LE device with public address Change-Id: I8a9a0873dbdf4e8fd85f12ae7f0b2d911f5a47dc
-
Qasim Javed authored
-
- Mar 10, 2021
-
-
Hansong Zhang authored
So that some other manager process can detect it Test: cert/run Bug: 181590011 Tag: #refactor Change-Id: I340b5d25b4374d47c8c769d80fcd287b23696202
-
Qasim Javed authored
With this, I am able to reconnect to Pixel Buds successfully. Previously, there was a crash due CHECK(ThreadTaskRunner::IsSet()) failing. Bug: 171749953 Tag: #gd-refactor Test: gd/cert/run --rhost DirectHciTest Change-Id: I43ad40b03a63bdec5284c584216671bd3ae20376
-
Weichin Weng authored
-
weichinweng authored
Bug: 181293964 Test: atest BluetoothInstrumentationTests Tag: #feature Change-Id: I92deb21350f9ec963d7d5985aed31563b7384bbd
-
weichinweng authored
Bug: 181293964 Test: atest BluetoothInstrumentationTests Tag: #feature Change-Id: I89356bb39fa0fe5cc70d8ee17a28699275a32126
-
JaeMan Park authored
-
- Mar 09, 2021
-
-
Chris Manton authored
-
Myles Watson authored
* changes: PDL: Add example test packets Rust: Add a packet test PDL: Add support for test
-
Chris Manton authored
Bug: 182259591 Test: Builds and compiles Tag: #refactor This reverts commit f293f141. Change-Id: I25771c2c40089fc46ebce256c0ae1344ac6af2c4
-
Jeongik Cha authored
As-is: root-canal's response consists of packet type and payload separately In the case of several request in parallel, the responses could be overlapped, so make it combined to avoid the situation. Test: atest AdapterServiceTest Bug: 182167189 Change-Id: I19b99f6399777e927b81c26366d8e02ae577936e
-
Chen Chen authored
-
Myles Watson authored
Bug: 182216573 Test: atest libbt_packets_test Tag: #gd-refactor Change-Id: I40975081d5d30f7078a432df94b9d0c58410da97
-
Myles Watson authored
Bug: 182216573 Test: atest libbt_packets_test Tag: #gd-refactor Change-Id: Ia1fe07b49363b166d164811dd9aaceea05e66d48
-
Myles Watson authored
Bug: 182216573 Test: atest libbt_packets_test Tag: #gd-refactor Change-Id: Ieffc9874c0ff17cb2a0acb5e9399b6222f585f7c
-
Chris Manton authored
* changes: Introduce main_shim_test Add main/test::shim mocks Add gd/neighbor::inquiry mock Add SCO HACK for shim acl mock Add gd/hci::controller mock gd_acl: Directly access acl manager for SCO hack Put stack vars in proper scope Return proper type stack/acl/btm_pm::BTM_SetPowerMode Explicitly specify status type include/hardware/ble_scanner.h Add stack init indirection for activity_attribution Use proper tBTM_STATUS types Use tBTM_STATUS in stack/l2cap/:: gd_shim: Log more info about acl queue state Add bta_sys post to main alternative method Remove unused field srvc_id Template prep for bta hardening Use btm_status in stack/rfcomm/:: Use proper types tBLE_SCAN_MODE User proper types tBTM_STATUS Canonicalize tBTM_APPL_INFO::bta_security Streamline bta_av_link_role_ok Use canonical include paths Add hci code conversion stack/include/hci_error_code Remove unused bta/include/bta_api::#defs Remove unused API BTM_GetPeerSCA Remove unused API BTM_RequestPeerSCA Remove unused API BTM_IsPhy2mSupported Properly conform tACL_CONN field names Add stack/include::BT_HDR rigid struct Use proper types tSMP_STATUS Properly type stack/smp::tSMP_EVT Remove useless extern keyword for definitions Remove unused stack/gatt/gatt_int::#defs Re-include bta/ag/bta_ag_sdp.cc
-
- Mar 08, 2021
-
-
Hansong Zhang authored
Tag: #refactor Bug: 181590011 Test: cert/run Change-Id: I5308fd604b091392b9a8b15154732afeb03dde57
-
Chris Manton authored
Bug: 181991662 Test: gd/cert/run Tag: #refactor Change-Id: Ib81960bb3065f3964be16ba0feaf22358be8f323
-
Chris Manton authored
Bug: 181991662 Test: gd/cert/run Tag: #refactor No-Typo-Check: Legacy misnamed code Change-Id: I1d84f463fe1a126f1cc685b10f77f4872088a78d
-
Chris Manton authored
Bug: 181991662 Test: gd/cert/run Tag: #refactor BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines Change-Id: Id475e31092c884b33bd92b4ee18ff53b7c4d4a03
-
Chris Manton authored
Bug: 181991662 Test: gd/cert/run Tag: #refactor Change-Id: I4ba9755c6f482c99bbbc0bd55de22d45d8949815
-