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

Unified Diff: device/bluetooth/test/bluetooth_test_bluez.cc

Issue 2377513004: bluetooth:android: Return the advertised name if advertising (Closed)
Patch Set: Format' Created 4 years, 1 month 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_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/test/bluetooth_test_bluez.cc
diff --git a/device/bluetooth/test/bluetooth_test_bluez.cc b/device/bluetooth/test/bluetooth_test_bluez.cc
index d492f4a196461e96ca0c20e39658d7c0bc052637..c63142b9bbcb891b4d43bc434273c1886a6708eb 100644
--- a/device/bluetooth/test/bluetooth_test_bluez.cc
+++ b/device/bluetooth/test/bluetooth_test_bluez.cc
@@ -94,7 +94,7 @@ BluetoothDevice* BluetoothTestBlueZ::SimulateLowEnergyDevice(
if (device_ordinal > 6 || device_ordinal < 1)
return nullptr;
- base::Optional<std::string> device_name = kTestDeviceName;
+ base::Optional<std::string> device_name = kTestDeviceGapName;
std::string device_address = kTestDeviceAddress1;
std::vector<std::string> service_uuids;
BluetoothTransport device_type = BLUETOOTH_TRANSPORT_LE;
@@ -136,7 +136,7 @@ BluetoothDevice* BluetoothTestBlueZ::SimulateLowEnergyDevice(
}
BluetoothDevice* BluetoothTestBlueZ::SimulateClassicDevice() {
- std::string device_name = kTestDeviceName;
+ std::string device_name = kTestDeviceGapName;
std::string device_address = kTestDeviceAddress3;
std::vector<std::string> service_uuids;
« no previous file with comments | « device/bluetooth/test/bluetooth_test.cc ('k') | device/bluetooth/test/bluetooth_test_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698