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()
74 if (sMapProfile.getPriority(device) > BluetoothProfile.PRIORITY_ON) { in mapDisconnect()
75 sMapProfile.setPriority(device, BluetoothProfile.PRIORITY_ON); in mapDisconnect()
77 return sMapProfile.disconnect(device); in mapDisconnect()
99 if (sMapProfile == null) return false; in bluetoothMapDisconnect()
101 sMapProfile.getConnectedDevices(); in bluetoothMapDisconnect()
106 if (sMapProfile.getPriority(mDevice) in bluetoothMapDisconnect()
108 sMapProfile.setPriority(mDevice, BluetoothProfile.PRIORITY_ON); in bluetoothMapDisconnect()
110 return sMapProfile.disconnect(mDevice); in bluetoothMapDisconnect()
[all …]
DBluetoothMapClientFacade.java63 private static BluetoothMapClient sMapProfile = null; field in BluetoothMapClientFacade
92 sMapProfile = (BluetoothMapClient) proxy; in onServiceConnected()
103 if (sMapProfile == null) return false; in mapClientConnect()
104 return sMapProfile.connect(device); in mapClientConnect()
108 if (sMapProfile == null) return false; in mapClientDisconnect()
109 return sMapProfile.disconnect(device); in mapClientDisconnect()
119 if (sMapProfile == null) return false; in bluetoothMapClientConnect()
123 return sMapProfile.connect(mDevice); in bluetoothMapClientConnect()
139 sMapProfile.getConnectedDevices(), deviceID); in mapSendMessage()
151 return sMapProfile.sendMessage(device, contacts, message, mSentIntent, in mapSendMessage()
[all …]