summaryrefslogtreecommitdiff
path: root/framework/java/android/bluetooth/IBluetoothMap.aidl
diff options
context:
space:
mode:
Diffstat (limited to 'framework/java/android/bluetooth/IBluetoothMap.aidl')
-rw-r--r--framework/java/android/bluetooth/IBluetoothMap.aidl7
1 files changed, 6 insertions, 1 deletions
diff --git a/framework/java/android/bluetooth/IBluetoothMap.aidl b/framework/java/android/bluetooth/IBluetoothMap.aidl
index 0c18e06a78..d4af63d1fd 100644
--- a/framework/java/android/bluetooth/IBluetoothMap.aidl
+++ b/framework/java/android/bluetooth/IBluetoothMap.aidl
@@ -27,6 +27,11 @@ interface IBluetoothMap {
int getState();
BluetoothDevice getClient();
boolean connect(in BluetoothDevice device);
- void disconnect();
+ boolean disconnect(in BluetoothDevice device);
boolean isConnected(in BluetoothDevice device);
+ List<BluetoothDevice> getConnectedDevices();
+ List<BluetoothDevice> getDevicesMatchingConnectionStates(in int[] states);
+ int getConnectionState(in BluetoothDevice device);
+ boolean setPriority(in BluetoothDevice device, int priority);
+ int getPriority(in BluetoothDevice device);
}