diff options
Diffstat (limited to 'device/bluetooth/test/bluetooth_test_android.h')
-rw-r--r-- | device/bluetooth/test/bluetooth_test_android.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/device/bluetooth/test/bluetooth_test_android.h b/device/bluetooth/test/bluetooth_test_android.h index 8fbf61c..ddf39bf 100644 --- a/device/bluetooth/test/bluetooth_test_android.h +++ b/device/bluetooth/test/bluetooth_test_android.h @@ -44,8 +44,13 @@ class BluetoothTestAndroid : public BluetoothTestBase { int properties) override; void RememberCharacteristicForSubsequentAction( BluetoothGattCharacteristic* characteristic) override; + void RememberCCCDescriptorForSubsequentAction( + BluetoothGattCharacteristic* characteristic) override; void SimulateGattNotifySessionStarted( BluetoothGattCharacteristic* characteristic) override; + void SimulateGattNotifySessionStartError( + BluetoothGattCharacteristic* characteristic, + BluetoothGattService::GattErrorCode error_code) override; void SimulateGattCharacteristicSetNotifyWillFailSynchronouslyOnce( BluetoothGattCharacteristic* characteristic) override; void SimulateGattCharacteristicChanged( @@ -151,6 +156,7 @@ class BluetoothTestAndroid : public BluetoothTestBase { base::android::ScopedJavaGlobalRef<jobject> j_fake_bluetooth_adapter_; int gatt_open_connections_ = 0; + BluetoothGattDescriptor* remembered_ccc_descriptor_ = nullptr; }; // Defines common test fixture name. Use TEST_F(BluetoothTest, YourTestName). |