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

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

Issue 2499913002: bluetooth: android: Implement RetrieveGattConnectedDevicesWithFilter
Patch Set: rebase Created 4 years 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
Index: device/bluetooth/test/bluetooth_test.h
diff --git a/device/bluetooth/test/bluetooth_test.h b/device/bluetooth/test/bluetooth_test.h
index c85ab5d55ced88f2d1ecc999691cf5a10f2ef88d..c062bfc327340caaf41050832ec685c0755e09d3 100644
--- a/device/bluetooth/test/bluetooth_test.h
+++ b/device/bluetooth/test/bluetooth_test.h
@@ -45,11 +45,11 @@ class BluetoothTestBase : public testing::Test {
// SimulateConnectedLowEnergyDevice().
// GENERIC_DEVICE:
// - Name: kTestDeviceName
- // - Address: kTestPeripheralUUID1
+ // - Address: kTestDeviceAddress1
// - Services: [ kTestUUIDGenericAccess ]
// HEART_RATE_DEVICE:
// - Name: kTestDeviceName
- // - Address: kTestPeripheralUUID2
+ // - Address: kTestDeviceAddress2
// - Services: [ kTestUUIDGenericAccess, kTestUUIDHeartRate]
enum class ConnectedDeviceType {
GENERIC_DEVICE,
@@ -168,7 +168,7 @@ class BluetoothTestBase : public testing::Test {
// Simulates a connected low energy device. Used before starting a low energy
// discovey session.
virtual void SimulateConnectedLowEnergyDevice(
- ConnectedDeviceType device_ordinal){};
+ ConnectedDeviceType device_type){};
// Create a fake classic device and discover it. The device will have
// name kTestDeviceName, no advertised UUIDs and address kTestDeviceAddress3.
@@ -485,6 +485,7 @@ class BluetoothTestBase : public testing::Test {
int callback_count_ = 0;
int error_callback_count_ = 0;
+ int manager_get_connected_devices_attempts_ = 0;
int gatt_connection_attempts_ = 0;
int gatt_disconnection_attempts_ = 0;
int gatt_discovery_attempts_ = 0;

Powered by Google App Engine
This is Rietveld 408576698