| 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 c91f0a11783479223c17ed78c9baf1c49357de27..9d9914db602b1e9f6f6ac13007185f5d00694e88 100644
|
| --- a/device/bluetooth/test/bluetooth_test_android.h
|
| +++ b/device/bluetooth/test/bluetooth_test_android.h
|
| @@ -31,6 +31,8 @@ class BluetoothTestAndroid : public BluetoothTestBase {
|
| void InitWithFakeAdapter() override;
|
| bool DenyPermission() override;
|
| BluetoothDevice* SimulateLowEnergyDevice(int device_ordinal) override;
|
| + void SimulateConnectedLowEnergyDevice(
|
| + ConnectedDeviceType device_type) override;
|
| void RememberDeviceForSubsequentAction(BluetoothDevice* device) override;
|
| void SimulateGattConnection(BluetoothDevice* device) override;
|
| void SimulateGattConnectionError(BluetoothDevice* device,
|
| @@ -157,6 +159,11 @@ class BluetoothTestAndroid : public BluetoothTestBase {
|
| const base::android::JavaParamRef<jobject>& caller,
|
| const base::android::JavaParamRef<jbyteArray>& value);
|
|
|
| + // Records that Java FakeBluetoothManager getConnectedDevices was called.
|
| + void OnFakeManagerGetConnectedDevices(
|
| + JNIEnv* env,
|
| + const base::android::JavaParamRef<jobject>& caller);
|
| +
|
| // Records that Java FakeBluetoothAdapter onAdapterStateChanged was called.
|
| void OnFakeAdapterStateChanged(
|
| JNIEnv* env,
|
| @@ -164,6 +171,7 @@ class BluetoothTestAndroid : public BluetoothTestBase {
|
| const bool powered);
|
|
|
| base::android::ScopedJavaGlobalRef<jobject> j_fake_bluetooth_adapter_;
|
| + base::android::ScopedJavaGlobalRef<jobject> j_fake_bluetooth_manager_;
|
|
|
| int gatt_open_connections_ = 0;
|
| BluetoothRemoteGattDescriptor* remembered_ccc_descriptor_ = nullptr;
|
|
|