summaryrefslogtreecommitdiffstats
path: root/core/java/android/bluetooth/IBluetoothA2dp.aidl
diff options
context:
space:
mode:
authorJaikumar Ganesh <jaikumar@google.com>2009-12-04 15:10:54 -0800
committerJaikumar Ganesh <jaikumar@google.com>2009-12-07 15:20:31 -0800
commitb16c4f7dd92dabf0cc27438a5d3d9ebd203a38b3 (patch)
tree5fd029b5852c6888ef2e3e14a286a9657593216a /core/java/android/bluetooth/IBluetoothA2dp.aidl
parent084c665421502b13271e94bd0a342b0ddbbaa7ca (diff)
downloadframeworks_base-b16c4f7dd92dabf0cc27438a5d3d9ebd203a38b3.zip
frameworks_base-b16c4f7dd92dabf0cc27438a5d3d9ebd203a38b3.tar.gz
frameworks_base-b16c4f7dd92dabf0cc27438a5d3d9ebd203a38b3.tar.bz2
Add API to get Active Sinks.
Allow incoming connections only when there are no active sinks. Dr No: Eastham Bug: 2133530
Diffstat (limited to 'core/java/android/bluetooth/IBluetoothA2dp.aidl')
-rw-r--r--core/java/android/bluetooth/IBluetoothA2dp.aidl1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/java/android/bluetooth/IBluetoothA2dp.aidl b/core/java/android/bluetooth/IBluetoothA2dp.aidl
index 002cf4e..168fe3b 100644
--- a/core/java/android/bluetooth/IBluetoothA2dp.aidl
+++ b/core/java/android/bluetooth/IBluetoothA2dp.aidl
@@ -29,6 +29,7 @@ interface IBluetoothA2dp {
boolean suspendSink(in BluetoothDevice device);
boolean resumeSink(in BluetoothDevice device);
BluetoothDevice[] getConnectedSinks(); // change to Set<> once AIDL supports
+ BluetoothDevice[] getNonDisconnectedSinks(); // change to Set<> once AIDL supports
int getSinkState(in BluetoothDevice device);
boolean setSinkPriority(in BluetoothDevice device, int priority);
int getSinkPriority(in BluetoothDevice device);