Home
last modified time | relevance | path

Searched refs:mBluetoothAdapter (Results 1 – 15 of 15) 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(), new Callable<BluetoothAdapter>() { in BluetoothFacade()
122 final int state = mBluetoothAdapter.getState(); in onReceive()
144 int state = mBluetoothAdapter.getLeState(); in onReceive()
195 mBluetoothAdapter in bluetoothMakeConnectable()
207 mBluetoothAdapter in bluetoothMakeDiscoverable()
214 mBluetoothAdapter.setScanMode(BluetoothAdapter.SCAN_MODE_NONE); in bluetoothMakeUndiscoverable()
223 mDevice = mBluetoothAdapter.getRemoteDevice(address); in bluetoothGetRemoteDeviceName()
232 return mBluetoothAdapter.getName(); in bluetoothGetLocalName()
239 return mBluetoothAdapter.setName(name); in bluetoothSetLocalName()
[all …]
DBluetoothConnectionFacade.java54 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothConnectionFacade
84 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothConnectionFacade()
161 mBluetoothAdapter.cancelDiscovery(); in onReceive()
210 mBluetoothAdapter.cancelDiscovery(); in onReceive()
400 for (BluetoothDevice bd : mBluetoothAdapter.getBondedDevices()) { in bluetoothGetConnectedDevices()
415 for (BluetoothDevice bd : mBluetoothAdapter.getBondedDevices()) { in bluetoothIsDeviceConnected()
429 mBluetoothAdapter.cancelDiscovery(); in bluetoothDiscoverAndConnect()
437 return mBluetoothAdapter.startDiscovery(); in bluetoothDiscoverAndConnect()
446 mBluetoothAdapter.cancelDiscovery(); in bluetoothDiscoverAndBond()
451 if (BluetoothFacade.deviceExists(mBluetoothAdapter.getBondedDevices(), deviceID)) { in bluetoothDiscoverAndBond()
[all …]
DBluetoothPanFacade.java43 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothPanFacade
51 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothPanFacade()
52 mBluetoothAdapter.getProfileProxy(mService, new PanServiceListener(), in BluetoothPanFacade()
DBluetoothAvrcpFacade.java42 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothAvrcpFacade
50 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothAvrcpFacade()
51 mBluetoothAdapter.getProfileProxy(mService, new AvrcpServiceListener(), in BluetoothAvrcpFacade()
DBluetoothMapFacade.java42 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothMapFacade
50 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothMapFacade()
51 mBluetoothAdapter.getProfileProxy(mService, new MapServiceListener(), in BluetoothMapFacade()
DBluetoothA2dpFacade.java40 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothA2dpFacade
48 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothA2dpFacade()
49 mBluetoothAdapter.getProfileProxy(mService, new A2dpServiceListener(), in BluetoothA2dpFacade()
DBluetoothA2dpSinkFacade.java41 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothA2dpSinkFacade
48 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothA2dpSinkFacade()
49 mBluetoothAdapter.getProfileProxy(mService, new A2dpSinkServiceListener(), in BluetoothA2dpSinkFacade()
DBluetoothHspFacade.java41 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothHspFacade
49 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHspFacade()
50 mBluetoothAdapter.getProfileProxy(mService, new HspServiceListener(), in BluetoothHspFacade()
DBluetoothHfpClientFacade.java41 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothHfpClientFacade
49 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHfpClientFacade()
50 mBluetoothAdapter.getProfileProxy(mService, new HfpClientServiceListener(), in BluetoothHfpClientFacade()
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()
250 result = mBluetoothAdapter.startLeScan(mLeScanCallbackList.get(leCallbackIndex)); in bleStartClassicBleScan()
278 result = mBluetoothAdapter.startLeScan(serviceUuids, in bleStartClassicBleScanWithServiceUuids()
298 mBluetoothAdapter in bleFlushPendingScanResults()
888 if (mBluetoothAdapter.getState() == BluetoothAdapter.STATE_ON) { in shutdown()
892 mBluetoothAdapter.getBluetoothLeScanner() in shutdown()
902 mBluetoothAdapter.stopLeScan(mLeScanCallback); in shutdown()
DBluetoothHidFacade.java40 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothHidFacade
48 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothHidFacade()
49 mBluetoothAdapter.getProfileProxy(mService, new HidServiceListener(), in BluetoothHidFacade()
DBluetoothLeAdvertiseFacade.java48 private BluetoothAdapter mBluetoothAdapter; field in BluetoothLeAdvertiseFacade
63 mBluetoothAdapter = MainThread.run(mService, in BluetoothLeAdvertiseFacade()
72 mAdvertise = mBluetoothAdapter.getBluetoothLeAdvertiser(); in BluetoothLeAdvertiseFacade()
587 if (mBluetoothAdapter.getState() == BluetoothAdapter.STATE_ON) { in shutdown()
592 mBluetoothAdapter.getBluetoothLeAdvertiser() in shutdown()
DBluetoothRfcommFacade.java62 private final BluetoothAdapter mBluetoothAdapter; field in BluetoothRfcommFacade
73 mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); in BluetoothRfcommFacade()
106 mDevice = mBluetoothAdapter.getRemoteDevice(address); in bluetoothRfcommBeginConnectThread()
321 mBluetoothAdapter.cancelDiscovery(); in run()
360 mBluetoothAdapter.listenUsingRfcommWithServiceRecord(SDP_NAME, UUID.fromString(uuid)); in AcceptThread()
DGattClientFacade.java50 private BluetoothAdapter mBluetoothAdapter; field in GattClientFacade
74 mBluetoothAdapter = MainThread.run(mService, in GattClientFacade()
116 BluetoothDevice device = mBluetoothAdapter.getRemoteDevice(macAddress); in gattClientConnectGatt()
DGattServerFacade.java50 private BluetoothAdapter mBluetoothAdapter; field in GattServerFacade
71 mBluetoothAdapter = MainThread.run(mService, new Callable<BluetoothAdapter>() { in GattServerFacade()