| Index: device/bluetooth/test/bluetooth_test_android.h
|
| diff --git a/device/bluetooth/test/bluetooth_test_android.h b/device/bluetooth/test/bluetooth_test_android.h
|
| index 48939b371f8d99bc140fccafff1049aade909327..0c2b356965ce8acb76a0ccf73f36ac506a05f40e 100644
|
| --- a/device/bluetooth/test/bluetooth_test_android.h
|
| +++ b/device/bluetooth/test/bluetooth_test_android.h
|
| @@ -38,6 +38,10 @@ class BluetoothTestAndroid : public BluetoothTestBase {
|
| void SimulateGattCharacteristic(BluetoothGattService* service,
|
| const std::string& uuid,
|
| int properties) override;
|
| + virtual void SimulateGattNotifySessionStarted(
|
| + BluetoothGattCharacteristic* characteristic) override;
|
| + virtual void SimulateGattCharacteristicSetNotifyWillFailSynchronouslyOnce(
|
| + BluetoothGattCharacteristic* characteristic) override;
|
| void SimulateGattCharacteristicRead(
|
| BluetoothGattCharacteristic* characteristic,
|
| const std::vector<uint8>& value) override;
|
| @@ -63,10 +67,15 @@ class BluetoothTestAndroid : public BluetoothTestBase {
|
| // Records that Java FakeBluetoothGatt discoverServices was called.
|
| void OnFakeBluetoothGattDiscoverServices(JNIEnv* env, jobject caller);
|
|
|
| - // Records that Java FakeBluetoothGatt discoverServices was called.
|
| + // Records that Java FakeBluetoothGatt setCharacteristicNotification was
|
| + // called.
|
| + void OnFakeBluetoothGattSetCharacteristicNotification(JNIEnv* env,
|
| + jobject caller);
|
| +
|
| + // Records that Java FakeBluetoothGatt readCharacteristic was called.
|
| void OnFakeBluetoothGattReadCharacteristic(JNIEnv* env, jobject caller);
|
|
|
| - // Records that Java FakeBluetoothGatt discoverServices was called.
|
| + // Records that Java FakeBluetoothGatt writeCharacteristic was called.
|
| void OnFakeBluetoothGattWriteCharacteristic(JNIEnv* env,
|
| jobject caller,
|
| jbyteArray value);
|
|
|