OSDN Git Service

Modify Bluetooth Class of Device from Android stack
authorPulkit Bhuwalka <pulkitb@google.com>
Thu, 14 Sep 2017 02:25:31 +0000 (19:25 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Wed, 27 Sep 2017 06:29:33 +0000 (06:29 +0000)
commit16f356a256fe74dfc5b7833583df98644ba089c7
treea202397b520c97d9e33f558a5a3ea50cdd03a25b
parent50ba9031b4551b013fe5f77c8648c85a257365c5
Modify Bluetooth Class of Device from Android stack

Adds ability to modify Bluetooth Class of Device from Android stack by
hooking into existing functions to modify adapter properties. This
ensures the hardware HAL bluetooth.h interface does not have to change.

Bug: 36015415
Test: Modified Class of Device using sample app and verified device icon
change when discovering from a remote device.

Change-Id: Ib5f05741480a27431afea882d071ded4a6b1bdb8
binder/android/bluetooth/BluetoothClass.aidl [new file with mode: 0644]
binder/android/bluetooth/IBluetooth.aidl
btif/src/btif_core.cc