Commit Graph

5 Commits

Author SHA1 Message Date
Anton Hansson
44b2e0dfcb development: Set LOCAL_SDK_VERSION where possible.
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.

Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.

Test: make relevant packages
Bug: 73535841
Change-Id: I371bd0b43e66bcc4be1e26decb95c70519ac3342
2018-02-21 19:02:11 +00:00
Marie Janssen
d0ab7141d1 BluetoothDebug: remove unused SINK_STATE_CHANGED
android.bluetooth.a2dp.action.SINK_STATE_CHANGED is not sent from
anywhere, so it's useless to try to catch it.

Test: compiles
Bug: 34395439
Change-Id: I8185e148cf31efa820fe288c90ebed395517c722
2017-01-30 17:40:11 +00:00
Ying Wang
36d9f32f07 Fix proguard flags. 2010-02-19 18:47:02 -08:00
Jaikumar Ganesh
32de5900b1 Add UUID intent to BluetoothDebug app.
Change-Id: If1198f4f03eb261afe29f4c363924033aa49a477
2009-09-18 16:08:18 -07:00
Nick Pelly
48e8ca1f52 Add BluetoothDebug.apk for testing and debugging Bluetooth.
Currently it just registers a receiver for all Bluetooth intents,
and prints them to logcat. For example:

BTDEBUG : a.b.device.a.FOUND
BTDEBUG : 	a.b.device.e.DEVICE = 00:18:13:F2:CC:33
BTDEBUG : 	a.b.device.e.RSSI = -35
BTDEBUG : 	a.b.device.e.CLASS = 200404
BTDEBUG : a.b.adapter.a.DISCOVERY_FINISHED
BTDEBUG : a.b.device.a.BOND_STATE_CHANGED
BTDEBUG : 	a.b.device.e.DEVICE = 00:18:13:F2:CC:33
BTDEBUG : 	a.b.device.e.BOND_STATE = 11
BTDEBUG : 	a.b.device.e.PREVIOUS_BOND_STATE = 10
BTDEBUG : a.b.device.a.ACL_CONNECTED
BTDEBUG : 	a.b.device.e.DEVICE = 00:18:13:F2:CC:33
BTDEBUG : a.b.device.a.NAME_CHANGED
BTDEBUG : 	a.b.device.e.DEVICE = 00:18:13:F2:CC:33
BTDEBUG : 	a.b.device.e.NAME = "HBH-IV840"

This application is built by default, but is not installed. Use

mmm development/apps/BluetoothDebug
adb install -r $OUT/system/app/BluetoothDebug.apk

to install it. Logging will begin immediately.

Change-Id: I582e6415fc1c856a6a4581ecf52eda11818601cf
2009-09-14 12:46:20 -07:00