Home
last modified time | relevance | path

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

/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothMapFacade.java45 private static BluetoothMap sMapProfile = null; field in BluetoothMapFacade
58 sMapProfile = (BluetoothMap) proxy; in onServiceConnected()
69 if (sMapProfile.getPriority(device) > BluetoothProfile.PRIORITY_ON) { in mapDisconnect()
70 sMapProfile.setPriority(device, BluetoothProfile.PRIORITY_ON); in mapDisconnect()
72 return sMapProfile.disconnect(device); in mapDisconnect()
85 if (sMapProfile == null) return false; in bluetoothMapDisconnect()
86 List<BluetoothDevice> connectedMapDevices = sMapProfile.getConnectedDevices(); in bluetoothMapDisconnect()
90 if (sMapProfile.getPriority(mDevice) > BluetoothProfile.PRIORITY_ON) { in bluetoothMapDisconnect()
91 sMapProfile.setPriority(mDevice, BluetoothProfile.PRIORITY_ON); in bluetoothMapDisconnect()
93 return sMapProfile.disconnect(mDevice); in bluetoothMapDisconnect()
[all …]
DBluetoothMapClientFacade.java63 private static BluetoothMapClient sMapProfile = null; field in BluetoothMapClientFacade
88 sMapProfile = (BluetoothMapClient) proxy; in onServiceConnected()
99 if (sMapProfile == null) return false; in mapClientConnect()
100 return sMapProfile.connect(device); in mapClientConnect()
104 if (sMapProfile == null) return false; in mapClientDisconnect()
105 return sMapProfile.disconnect(device); in mapClientDisconnect()
114 if (sMapProfile == null) return false; in bluetoothMapClientConnect()
118 return sMapProfile.connect(mDevice); in bluetoothMapClientConnect()
130 BluetoothFacade.getDevice(sMapProfile.getConnectedDevices(), deviceID); in mapSendMessage()
140 return sMapProfile.sendMessage(device, contacts, message, mSentIntent, in mapSendMessage()
[all …]