43346aad0191ca95ddec6fadaea0fd70be53f380 |
|
19-Apr-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Expose LE advertiser address for easier PTS tests (3/6) This patchset adds a hidden method getOwnAddress, that lets app with BLUETOOTH_PRIVILEGED permission to lear their own addreess. This is done exclusively for PTS tests. Bug: 35147497 Test: manual Change-Id: I39a6395d589d0ea801fd771bf3313ed6212a6349 (cherry picked from commit 788847a61ac6281212714e831e3aeb217f024973)
/hardware/libhardware/include/hardware/ble_advertiser.h
|
784d6f1a884932c849a2e91f1ed31d9e0dd7edc1 |
|
31-Mar-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Bluetooth 5 advertising duration refactoring (2/4) Expose both duration and maximum extended advertising events to limit advertising time. Test: manual Bug: 30622771 Change-Id: Id5a7246b1d3e937d5c462315c157b320d659a52d (cherry picked from commit dd3e64f258e5e7dbed89853f5a5e3ef1a39d37b2)
/hardware/libhardware/include/hardware/ble_advertiser.h
|
a4bd8a61cb75190af38f05a909f01e0b6f6dc473 |
|
18-Mar-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Bluetooth 5 AdvertisingSet implementation (3/4) Test: manual Bug: 30622771 Change-Id: I8dc3b0ee85a6a449838a61bab86be5a2ea40b0ab
/hardware/libhardware/include/hardware/ble_advertiser.h
|
0d0b7d1757a9e72e0cfd8fcffedeff6cbb23a73a |
|
13-Mar-2017 |
Jakub Pawlowski <jpawlowski@google.com> |
Bluetooth 5 AdvertisingSet implementation (4/4) This patch wires up fist methods of AdvertisingSet, making it possible to start advertising and stop advertising. It also replaces legacy implemementation with calls to new implementation. Bug: 30622771 Test: sl4a ConcurrentBleAdvertisingTest Change-Id: I4a2739528fe114547f747d9719a4d47de7ce5589
/hardware/libhardware/include/hardware/ble_advertiser.h
|
97902980539f2739f3139ed1e01311edb7e9fe72 |
|
05-Dec-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Expose Bluetooth 5.0 properties to JNI Bug: 30622771 Test: sl4a ConcurrentBleAdvertisingTest Change-Id: I44b1d6eedb421728076671b4d9be3ebb9d466b71
/hardware/libhardware/include/hardware/ble_advertiser.h
|
a90ebeafc11eb2714316739001cd00f45d727e1c |
|
17-Nov-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Move startAdvertising() logic into native code (1/3) AdvertiseManager.startAdvertising() was implemented in Java layer for historical reasons. Now that we have nice native callbacks and tests, it can be moved into native code, where it will be shared between Android daemon and bluetoothtbd. Bug: 30622771 Test: native tests added to cover startAdvertising Change-Id: I492d857cae7e4f82273fa92213c8e9904302f01a
/hardware/libhardware/include/hardware/ble_advertiser.h
|
555b8aeef9cb861b9954587fbca1bf2cada21be0 |
|
04-Nov-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Unify advertising API (2/3) This patch unifies advertising API. On startup, if VSC multi advertising is avaliable, it will be used, otherwise BleAdvertiserLegacyHciInterfaceImpl will be used, which provides one advertising instance. Test: sl4a tests are passing, all proper tests updated accordingly Change-Id: I02d3996f694beb6614d342d6c15a8c27b7b7274a
/hardware/libhardware/include/hardware/ble_advertiser.h
|
f82a2497957d19fd7b7c7a074f783b487acac051 |
|
31-Oct-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Move start advertise method to advertising interface (2/3) Advertising related code should be exposed through BleAdvertiserInterface. Move client.listen function into this interface. Remove reduntant clientif parameter. Bug: 30622771 Bug: 24099160 Test: no tests necessary Change-Id: Ic4335f2c65c1e21f20d3ae08222fba4341b63e27
/hardware/libhardware/include/hardware/ble_advertiser.h
|
6b76de1ef08509050989657143f578c34d01a809 |
|
19-Oct-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Change how Advertise Data is passed to BTIF (1/3) The way that AD data is passed right now put some additional limitations, i.e. only one manufacturer specific data can be set, or only one service UUID. By moving AD generation to upper layers, another set of limitations is removed. Test: Covered by BleAdvertiseApiTest sl4a test Bug: 30622771 Change-Id: I34e8d731141caaf4497565f6e929992f6e929913
/hardware/libhardware/include/hardware/ble_advertiser.h
|
4a635288b832d49aca5e04a5da8fc112bc090fb6 |
|
07-Oct-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Convert advertising HAL from struct into class (1/3) Bug: 30622771 Test: all related tests were updated Change-Id: I61381cc57a9c8cd725478ad4e52abce9f857a373
/hardware/libhardware/include/hardware/ble_advertiser.h
|
bb84c86f5a7e600f2fa70330d6dfc6f0a8197985 |
|
23-Aug-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Bluetooth: split setting params and enabling advertising (2/3) Proper order of commands when starting advertising: * set parameters * set data * enable advertising This cannot be achieved when setting advertising parameters and enabling advertising is put together in one function. Enabling before setting data might cause first advertisements to be empty. If a device with hardware filter pick up such advertisement, it might fail to properly recognize our device. Bug: 30622771 Bug: 19372779 Change-Id: Iac154beb5129526fa3cd1d1b31eba269459bc9a0
/hardware/libhardware/include/hardware/ble_advertiser.h
|
6ecdb8c0cd17315d108f8243f6613fcdd2c4fb2d |
|
13-Jul-2016 |
Jakub Pawlowski <jpawlowski@google.com> |
Separate advertiser from GATT client (3/4) Bug: 30622771 Change-Id: Ib9f9a27a2d1a7945b05a1c985cf78b46f4b97026
/hardware/libhardware/include/hardware/ble_advertiser.h
|