Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2976)

Unified Diff: device/bluetooth/test/bluetooth_test_android.h

Issue 1394973003: bluetooth: android: Create BluetoothRemoteGattServiceAndroid objects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bt-renames-
Patch Set: Address ortuno Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/bluetooth/test/bluetooth_test.cc ('k') | device/bluetooth/test/bluetooth_test_android.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 910825cd4af062f33a3b8a9631f4c324b151079c..4db263bce4c98ca76ee54a5407c94653f893079f 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 SimulateGattConnectionError(BluetoothDevice* device,
BluetoothDevice::ConnectErrorCode) override;
void SimulateGattDisconnection(BluetoothDevice* device) override;
+ void SimulateGattServicesDiscovered(BluetoothDevice* device) override;
+ void SimulateGattServicesDiscoveryError(BluetoothDevice* device) override;
// Records that Java FakeBluetoothDevice connectGatt was called.
void OnFakeBluetoothDeviceConnectGattCalled(JNIEnv* env, jobject caller);
@@ -38,6 +40,9 @@ class BluetoothTestAndroid : public BluetoothTestBase {
// Records that Java FakeBluetoothGatt disconnect was called.
void OnFakeBluetoothGattDisconnect(JNIEnv* env, jobject caller);
+ // Records that Java FakeBluetoothGatt discoverServices was called.
+ void OnFakeBluetoothGattDiscoverServices(JNIEnv* env, jobject caller);
+
base::android::ScopedJavaGlobalRef<jobject> j_fake_bluetooth_adapter_;
};
« no previous file with comments | « device/bluetooth/test/bluetooth_test.cc ('k') | device/bluetooth/test/bluetooth_test_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698