summaryrefslogtreecommitdiffstats
path: root/core/java/android/bluetooth/IBluetooth.aidl
diff options
context:
space:
mode:
authorJaikumar Ganesh <jaikumar@google.com>2010-06-04 10:23:03 -0700
committerJaikumar Ganesh <jaikumar@google.com>2010-06-17 13:49:25 -0700
commit545e6708adda6859932b55fd824794b1401f5318 (patch)
treece35056656b208a19aca1edc98864f35935d4edf /core/java/android/bluetooth/IBluetooth.aidl
parent4e74ae3d5b27d917ea26d0929015f9fdc64af412 (diff)
downloadframeworks_base-545e6708adda6859932b55fd824794b1401f5318.zip
frameworks_base-545e6708adda6859932b55fd824794b1401f5318.tar.gz
frameworks_base-545e6708adda6859932b55fd824794b1401f5318.tar.bz2
HID profile.
Change-Id: I52e965a6537bce02c751ba26fe7b44dd03832510
Diffstat (limited to 'core/java/android/bluetooth/IBluetooth.aidl')
-rw-r--r--core/java/android/bluetooth/IBluetooth.aidl9
1 files changed, 9 insertions, 0 deletions
diff --git a/core/java/android/bluetooth/IBluetooth.aidl b/core/java/android/bluetooth/IBluetooth.aidl
index ea71034..75f093c 100644
--- a/core/java/android/bluetooth/IBluetooth.aidl
+++ b/core/java/android/bluetooth/IBluetooth.aidl
@@ -17,6 +17,7 @@
package android.bluetooth;
import android.bluetooth.IBluetoothCallback;
+import android.bluetooth.BluetoothDevice;
import android.os.ParcelUuid;
/**
@@ -72,4 +73,12 @@ interface IBluetooth
boolean connectHeadset(String address);
boolean disconnectHeadset(String address);
boolean notifyIncomingConnection(String address);
+
+ // HID profile APIs
+ boolean connectInputDevice(in BluetoothDevice device);
+ boolean disconnectInputDevice(in BluetoothDevice device);
+ BluetoothDevice[] getConnectedInputDevices(); // change to Set<> once AIDL supports
+ int getInputDeviceState(in BluetoothDevice device);
+ boolean setInputDevicePriority(in BluetoothDevice device, int priority);
+ int getInputDevicePriority(in BluetoothDevice device);
}