Home
last modified time | relevance | path

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

/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DBluetoothFacade.java61 private BluetoothAdapter mBluetoothAdapter; field in BluetoothFacade
67 mBluetoothAdapter = MainThread.run(manager.getService(), in BluetoothFacade()
150 int state = mBluetoothAdapter.getLeState(); in onReceive()
223 mBluetoothAdapter in bluetoothMakeConnectable()
235 mBluetoothAdapter.setScanMode( in bluetoothMakeDiscoverable()
242 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_NONE); in bluetoothMakeUndiscoverable()
251 mDevice = mBluetoothAdapter.getRemoteDevice(address); in bluetoothGetRemoteDeviceName()
264 mDevice = mBluetoothAdapter.getRemoteDevice(address); in bluetoothFetchUuidsWithSdp()
273 return mBluetoothAdapter.getName(); in bluetoothGetLocalName()
280 return mBluetoothAdapter.setName(name); in bluetoothSetLocalName()
[all …]
DBluetoothPbapClientFacade.java45 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothPbapClientFacade
53 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothPbapClientFacade()
54 mBluetoothAdapter.getProfileProxy(mService, in BluetoothPbapClientFacade()
114 BluetoothFacade.getDevice(mBluetoothAdapter.getBondedDevices(), in bluetoothPbapClientSetPriority()
134 BluetoothFacade.getDevice(mBluetoothAdapter.getBondedDevices(), in bluetoothPbapClientGetPriority()
153 mBluetoothAdapter.getBondedDevices(), deviceStr); in bluetoothPbapClientConnect()
DBluetoothConnectionFacade.java65 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothConnectionFacade
104 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothConnectionFacade()
195 mBluetoothAdapter.cancelDiscovery(); in onReceive()
245 mBluetoothAdapter.cancelDiscovery(); in onReceive()
520 for (BluetoothDevice bd : mBluetoothAdapter.getBondedDevices()) { in bluetoothGetConnectedDevices()
538 BluetoothDevice mDevice = BluetoothFacade.getDevice(mBluetoothAdapter.getBondedDevices(), in bluetoothGetBondedDeviceUuids()
554 return mBluetoothAdapter.getRemoteDevice(macAddress).createBond(); in bluetoothBond()
559 for (BluetoothDevice bd : mBluetoothAdapter.getBondedDevices()) { in bluetoothIsDeviceConnected()
595 mBluetoothAdapter.cancelDiscovery(); in bluetoothDiscoverAndConnect()
603 return mBluetoothAdapter.startDiscovery(); in bluetoothDiscoverAndConnect()
[all …]
DBluetoothA2dpSinkFacade.java42 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothA2dpSinkFacade
49 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothA2dpSinkFacade()
50 mBluetoothAdapter.getProfileProxy(mService, new A2dpSinkServiceListener(), in BluetoothA2dpSinkFacade()
101 mBluetoothAdapter.getBondedDevices(), deviceStr); in bluetoothA2dpSinkSetPriority()
120 mBluetoothAdapter.getBondedDevices(), deviceStr); in bluetoothA2dpSinkGetPriority()
DBluetoothAvrcpFacade.java42 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothAvrcpFacade
50 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothAvrcpFacade()
51 mBluetoothAdapter.getProfileProxy(mService, new AvrcpServiceListener(), in BluetoothAvrcpFacade()
DBluetoothPanFacade.java42 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothPanFacade
50 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothPanFacade()
51 mBluetoothAdapter.getProfileProxy(mService, new PanServiceListener(), in BluetoothPanFacade()
DBluetoothSocketConnFacade.java50 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothSocketConnFacade
70 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothSocketConnFacade()
111 mDevice = mBluetoothAdapter.getRemoteDevice(address); in bluetoothSocketConnCreateL2capSocket()
134 mDevice = mBluetoothAdapter.getRemoteDevice(address); in bluetoothSocketConnBeginConnectThreadUuid()
158 mDevice = mBluetoothAdapter.getRemoteDevice(address); in bluetoothSocketConnBeginConnectThreadPsm()
726 mBluetoothAdapter.cancelDiscovery(); in run()
771 tmp = mBluetoothAdapter.listenUsingRfcommWithServiceRecord(SDP_NAME, in AcceptThread()
788 tmp = mBluetoothAdapter.listenUsingL2capChannel(); in AcceptThread()
790 tmp = mBluetoothAdapter.listenUsingInsecureL2capChannel(); in AcceptThread()
794 tmp = mBluetoothAdapter.listenUsingL2capOn(psmValue); in AcceptThread()
[all …]
DBluetoothA2dpFacade.java52 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothA2dpFacade
62 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothA2dpFacade()
71 mBluetoothAdapter.getProfileProxy(mService, new A2dpServiceListener(), in BluetoothA2dpFacade()
163 BluetoothFacade.getDevice(mBluetoothAdapter.getBondedDevices(), deviceStr); in bluetoothA2dpSetPriority()
187 mBluetoothAdapter.getBondedDevices(), deviceID); in bluetoothA2dpConnect()
DBluetoothMapFacade.java42 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothMapFacade
50 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothMapFacade()
51 mBluetoothAdapter.getProfileProxy(mService, new MapServiceListener(), in BluetoothMapFacade()
DBluetoothHfpClientFacade.java43 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothHfpClientFacade
51 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHfpClientFacade()
52 mBluetoothAdapter.getProfileProxy(mService, in BluetoothHfpClientFacade()
113 BluetoothFacade.getDevice(mBluetoothAdapter.getBondedDevices(), in bluetoothHfpClientSetPriority()
132 mBluetoothAdapter.getBondedDevices(), deviceStr); in bluetoothHfpClientGetPriority()
DBluetoothHspFacade.java41 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothHspFacade
49 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHspFacade()
50 mBluetoothAdapter.getProfileProxy(mService, new HspServiceListener(), in BluetoothHspFacade()
123 mBluetoothAdapter.getBondedDevices(), deviceStr); in bluetoothHspSetPriority()
140 mBluetoothAdapter.getBondedDevices(), device); in bluetoothHspConnect()
DBluetoothLeScanFacade.java55 private BluetoothAdapter mBluetoothAdapter; field in BluetoothLeScanFacade
72 mBluetoothAdapter = MainThread.run(mService, in BluetoothLeScanFacade()
79 mScanner = mBluetoothAdapter.getBluetoothLeScanner(); in BluetoothLeScanFacade()
191 mBluetoothAdapter.stopLeScan(mLeScanCallback); in bleStopClassicBleScan()
251 result = mBluetoothAdapter.startLeScan( in bleStartClassicBleScan()
280 result = mBluetoothAdapter.startLeScan(serviceUuids, in bleStartClassicBleScanWithServiceUuids()
300 mBluetoothAdapter in bleFlushPendingScanResults()
946 if (mBluetoothAdapter.getState() == BluetoothAdapter.STATE_ON) { in shutdown()
950 mBluetoothAdapter.getBluetoothLeScanner() in shutdown()
960 mBluetoothAdapter.stopLeScan(mLeScanCallback); in shutdown()
DBluetoothMapClientFacade.java53 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothMapClientFacade
69 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothMapClientFacade()
70 mBluetoothAdapter.getProfileProxy(mService, new MapServiceListener(), in BluetoothMapClientFacade()
121 mBluetoothAdapter.getBondedDevices(), device); in bluetoothMapClientConnect()
DBluetoothLeAdvertisingSetFacade.java55 private BluetoothAdapter mBluetoothAdapter; field in BluetoothLeAdvertisingSetFacade
66 mBluetoothAdapter = MainThread.run(manager.getService(), in BluetoothLeAdvertisingSetFacade()
263 mBluetoothAdapter.getBluetoothLeAdvertiser().startAdvertisingSet( in bleAdvSetStartAdvertisingSet()
344 mBluetoothAdapter.getBluetoothLeAdvertiser().stopAdvertisingSet(callback); in bleAdvSetStopAdvertisingSet()
448 if (mBluetoothAdapter.getState() == BluetoothAdapter.STATE_ON) { in shutdown()
460 mBluetoothAdapter.getBluetoothLeAdvertiser() in shutdown()
DBluetoothLeAdvertiseFacade.java48 private BluetoothAdapter mBluetoothAdapter; field in BluetoothLeAdvertiseFacade
63 mBluetoothAdapter = MainThread.run(mService, in BluetoothLeAdvertiseFacade()
72 mAdvertise = mBluetoothAdapter.getBluetoothLeAdvertiser(); in BluetoothLeAdvertiseFacade()
618 if (mBluetoothAdapter.getState() == BluetoothAdapter.STATE_ON) { in bleAdvertiseClearAll()
623 mBluetoothAdapter.getBluetoothLeAdvertiser() in bleAdvertiseClearAll()
DBluetoothHidDeviceFacade.java165 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothHidDeviceFacade
255 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHidDeviceFacade()
256 mBluetoothAdapter.getProfileProxy(mService, new HidDeviceServiceListener(), in BluetoothHidDeviceFacade()
DBluetoothHidFacade.java50 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothHidFacade
63 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHidFacade()
64 mBluetoothAdapter.getProfileProxy(mService, new HidServiceListener(), in BluetoothHidFacade()
DGattServerFacade.java49 private BluetoothAdapter mBluetoothAdapter; field in GattServerFacade
70 mBluetoothAdapter = MainThread.run(mService, new Callable<BluetoothAdapter>() { in GattServerFacade()
DGattClientFacade.java49 private BluetoothAdapter mBluetoothAdapter; field in GattClientFacade
73 mBluetoothAdapter = in GattClientFacade()
118 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(macAddress); in gattClientConnectGatt()