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

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

Issue 1215303006: bluetooth: android: Initial BluetoothDeviceAndroid implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@bta-discovery-
Patch Set: Created 5 years, 5 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
Index: device/bluetooth/test/bluetooth_test.h
diff --git a/device/bluetooth/test/bluetooth_test.h b/device/bluetooth/test/bluetooth_test.h
index 8778c00f77a47280def1c6cc4563cce53ad6b389..f9dbeb924330f9672bac7482de81b6ce8a45184e 100644
--- a/device/bluetooth/test/bluetooth_test.h
+++ b/device/bluetooth/test/bluetooth_test.h
@@ -37,6 +37,13 @@ class BluetoothTestBase : public testing::Test {
// controlled by this test fixture.
virtual void InitWithFakeAdapter(){};
+ // Create a fake Low Energy device and discover it.
+ // |device_ordinal| selects between multiple fake device data sets to produce.
+ // 1: Device with simple default values.
+ // 2: Same address as 1, but with different advertised Service UUIDs.
+ // 3: Device with empty name, empty UUIDs.
+ virtual void DiscoverLowEnergyDevice(int device_ordinal){};
+
// Callbacks that increment |callback_count_|, |error_callback_count_|:
void Callback();
void DiscoverySessionCallback(scoped_ptr<BluetoothDiscoverySession>);

Powered by Google App Engine
This is Rietveld 408576698