Home
last modified time | relevance | path

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

/external/webrtc/examples/androidapp/src/org/appspot/apprtc/
DAppRTCBluetoothManager.java80 private BluetoothDevice bluetoothDevice; field in AppRTCBluetoothManager
122 bluetoothDevice = null; in onServiceDisconnected()
246 bluetoothDevice = null; in start()
301 bluetoothDevice = null; in stop()
380 bluetoothDevice = null; in updateDevice()
385 bluetoothDevice = devices.get(0); in updateDevice()
388 + "name=" + bluetoothDevice.getName() + ", " in updateDevice()
389 + "state=" + stateToString(bluetoothHeadset.getConnectionState(bluetoothDevice)) in updateDevice()
390 + ", SCO audio=" + bluetoothHeadset.isAudioConnected(bluetoothDevice)); in updateDevice()
479 bluetoothDevice = devices.get(0); in bluetoothTimeout()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowBluetoothDeviceTest.java28 BluetoothDevice bluetoothDevice = ShadowBluetoothDevice.newInstance(MOCK_MAC_ADDRESS); in canCreateBluetoothDeviceViaNewInstance() local
29 assertThat(bluetoothDevice).isNotNull(); in canCreateBluetoothDeviceViaNewInstance()
95 BluetoothDevice bluetoothDevice = ShadowBluetoothDevice.newInstance(MOCK_MAC_ADDRESS); in connectGatt_doesntCrash() local
97 bluetoothDevice.connectGatt( in connectGatt_doesntCrash()
DShadowBluetoothGattTest.java22 BluetoothDevice bluetoothDevice = ShadowBluetoothDevice.newInstance(MOCK_MAC_ADDRESS); in canCreateBluetoothGattViaNewInstance() local
23 BluetoothGatt bluetoothGatt = ShadowBluetoothGatt.newInstance(bluetoothDevice); in canCreateBluetoothGattViaNewInstance()
DShadowBluetoothAdapterTest.java169 public void onLeScan(BluetoothDevice bluetoothDevice, int i, byte[] bytes) {} in newLeScanCallback()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
DGattServerFacade.java191 BluetoothDevice bluetoothDevice = connectedDevices.get(bluetoothDeviceIndex); in gattServerSendResponse() local
192 gattServer.sendResponse(bluetoothDevice, requestId, status, offset, value); in gattServerSendResponse()
225 BluetoothDevice bluetoothDevice = connectedDevices.get(bluetoothDeviceIndex); in gattServerNotifyCharacteristicChanged() local
226 if (bluetoothDevice == null) { in gattServerNotifyCharacteristicChanged()
238 gattServer.notifyCharacteristicChanged(bluetoothDevice, bluetoothCharacteristic, confirm); in gattServerNotifyCharacteristicChanged()
268 BluetoothDevice bluetoothDevice = connectedDevices.get(bluetoothDeviceIndex); in gattServerNotifyCharacteristicChangedByInstanceId() local
269 if (bluetoothDevice == null) { in gattServerNotifyCharacteristicChangedByInstanceId()
279 gattServer.notifyCharacteristicChanged(bluetoothDevice, mGattChar, confirm); in gattServerNotifyCharacteristicChangedByInstanceId()
410 BluetoothDevice bluetoothDevice = connectedDevices.get(bluetoothDeviceIndex); in gattServerReadPhy() local
411 if (bluetoothDevice == null) { in gattServerReadPhy()
[all …]