Searched refs:characteristic (Results 1 – 3 of 3) sorted by relevance
/device/google/atv/libraries/BluetoothServices/src/com/google/android/tv/btservices/remote/ |
D | BleConnection.java | 104 void run(BluetoothGattCharacteristic characteristic, int status); in run() argument 109 void run(BluetoothGattCharacteristic characteristic, int status); in run() argument 127 final BluetoothGattCharacteristic characteristic; field in BleConnection.CharacteristicWriteRequest 132 BluetoothGattCharacteristic characteristic, in CharacteristicWriteRequest() argument 135 this.characteristic = characteristic; in CharacteristicWriteRequest() 143 characteristic.setValue(data); in processRequest() 144 return gatt.writeCharacteristic(characteristic); in processRequest() 149 final BluetoothGattCharacteristic characteristic; field in BleConnection.CharacteristicReadRequest 153 BluetoothGattCharacteristic characteristic, in CharacteristicReadRequest() argument 155 this.characteristic = characteristic; in CharacteristicReadRequest() [all …]
|
D | DefaultProxy.java | 80 (BluetoothGattCharacteristic characteristic, int status) -> { in refreshBatteryLevel() 82 characteristic.getValue() == null || in refreshBatteryLevel() 83 characteristic.getValue().length == 0) { in refreshBatteryLevel() 87 final int battery = characteristic.getValue()[0] & 0xff; in refreshBatteryLevel() 142 (BluetoothGattCharacteristic characteristic, int status) -> { in refreshVersion() 147 String versionString = characteristic.getStringValue(0); in refreshVersion() 253 public void onNotification(BluetoothGattCharacteristic characteristic, byte[] data) { in onNotification() argument 255 Log.d(TAG, "GattCallback#onNotification: " + characteristic); in onNotification() 258 if (characteristic == batteryLevelCharacteristic && data.length > 0) { in onNotification()
|
D | Transport.java | 97 protected abstract void onCharacteristicChangedImpl(BluetoothGattCharacteristic characteristic); in onCharacteristicChangedImpl() argument 163 BluetoothGatt gatt, BluetoothGattCharacteristic characteristic) { in onCharacteristicChanged() argument 164 mHandler.post(() -> onCharacteristicChangedImpl(characteristic)); in onCharacteristicChanged() 170 BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status) { in onCharacteristicWrite() argument 171 mHandler.post(() -> onWritten(characteristic, status)); in onCharacteristicWrite() 177 BluetoothGatt gatt, BluetoothGattCharacteristic characteristic, int status) { in onCharacteristicRead() argument 178 mHandler.post(() -> onRead(characteristic, status)); in onCharacteristicRead()
|