summaryrefslogtreecommitdiffstats
path: root/core/java/android/bluetooth/IBluetooth.aidl
diff options
context:
space:
mode:
authorJaikumar Ganesh <jaikumar@google.com>2011-08-19 10:26:32 -0700
committerJaikumar Ganesh <jaikumar@google.com>2011-08-22 14:44:38 -0700
commitcb1d354c1e9b458a0426cd08520d938012e32b34 (patch)
treee8d143e7743bd943e83603d3e53e732302acf05c /core/java/android/bluetooth/IBluetooth.aidl
parent7a12d6ba14a35276fd3afb314d6c95055da4c6f0 (diff)
downloadframeworks_base-cb1d354c1e9b458a0426cd08520d938012e32b34.zip
frameworks_base-cb1d354c1e9b458a0426cd08520d938012e32b34.tar.gz
frameworks_base-cb1d354c1e9b458a0426cd08520d938012e32b34.tar.bz2
Add Api to get profile connection state.
This gets the current connection state of the profile with respect to the local Bluetooth adapter. Change-Id: I7cff6c9201d29a8b45413cff7384b7483f21bd5c
Diffstat (limited to 'core/java/android/bluetooth/IBluetooth.aidl')
-rw-r--r--core/java/android/bluetooth/IBluetooth.aidl3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/java/android/bluetooth/IBluetooth.aidl b/core/java/android/bluetooth/IBluetooth.aidl
index 48dfed8..d4e7f7d 100644
--- a/core/java/android/bluetooth/IBluetooth.aidl
+++ b/core/java/android/bluetooth/IBluetooth.aidl
@@ -53,6 +53,7 @@ interface IBluetooth
byte[] readOutOfBandData();
int getAdapterConnectionState();
+ int getProfileConnectionState(int profile);
boolean changeApplicationBluetoothState(boolean on,
in IBluetoothStateChangeCallback callback, in
IBinder b);
@@ -121,5 +122,5 @@ interface IBluetooth
List<BluetoothDevice> getHealthDevicesMatchingConnectionStates(in int[] states);
int getHealthDeviceConnectionState(in BluetoothDevice device);
- void sendConnectionStateChange(in BluetoothDevice device, int state, int prevState);
+ void sendConnectionStateChange(in BluetoothDevice device, int profile, int state, int prevState);
}