summaryrefslogtreecommitdiffstats
path: root/core/java/android/bluetooth/IBluetooth.aidl
diff options
context:
space:
mode:
authorMatthew Xie <mattx@google.com>2011-07-26 18:36:49 -0700
committerMatthew Xie <mattx@google.com>2011-07-28 15:56:11 -0700
commit269e81a563cfe080d7f241d0d46411d3c946c111 (patch)
treefb62527f5a1dc5bda21202c87e7c026a6c914ed1 /core/java/android/bluetooth/IBluetooth.aidl
parent686200cb5f3e80c0b0519ec14cc54b280a560863 (diff)
downloadframeworks_base-269e81a563cfe080d7f241d0d46411d3c946c111.zip
frameworks_base-269e81a563cfe080d7f241d0d46411d3c946c111.tar.gz
frameworks_base-269e81a563cfe080d7f241d0d46411d3c946c111.tar.bz2
Provide an API to set the friendly name of a remote device.
BluetoothDevice setName overwrite the locally cached remote name. The changed name is saved in the local storage so that the change is preserved over power cycle. bug 5081605 Change-Id: I486966033828d153bfb1076a99e274c8a7f41636
Diffstat (limited to 'core/java/android/bluetooth/IBluetooth.aidl')
-rw-r--r--core/java/android/bluetooth/IBluetooth.aidl2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/java/android/bluetooth/IBluetooth.aidl b/core/java/android/bluetooth/IBluetooth.aidl
index 183772d..da66b1a 100644
--- a/core/java/android/bluetooth/IBluetooth.aidl
+++ b/core/java/android/bluetooth/IBluetooth.aidl
@@ -62,6 +62,8 @@ interface IBluetooth
boolean setDeviceOutOfBandData(in String address, in byte[] hash, in byte[] randomizer);
String getRemoteName(in String address);
+ String getRemoteAlias(in String address);
+ boolean setRemoteAlias(in String address, in String name);
int getRemoteClass(in String address);
ParcelUuid[] getRemoteUuids(in String address);
boolean fetchRemoteUuids(in String address, in ParcelUuid uuid, in IBluetoothCallback callback);