Home
last modified time | relevance | path

Searched refs:sA2dpProfile (Results 1 – 1 of 1) sorted by relevance

/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothA2dpFacade.java43 private static BluetoothA2dp sA2dpProfile = null; field in BluetoothA2dpFacade
56 sA2dpProfile = (BluetoothA2dp) proxy; in onServiceConnected()
67 List<BluetoothDevice> sinks = sA2dpProfile.getConnectedDevices(); in a2dpConnect()
70 sA2dpProfile.disconnect(sink); in a2dpConnect()
73 return sA2dpProfile.connect(device); in a2dpConnect()
77 if (sA2dpProfile == null) return false; in a2dpDisconnect()
78 if (sA2dpProfile.getPriority(device) > BluetoothProfile.PRIORITY_ON) { in a2dpDisconnect()
79 sA2dpProfile.setPriority(device, BluetoothProfile.PRIORITY_ON); in a2dpDisconnect()
81 return sA2dpProfile.disconnect(device); in a2dpDisconnect()
106 if (sA2dpProfile == null) in bluetoothA2dpConnect()
[all …]