Home
last modified time | relevance | path

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

/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 …]