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

Unified Diff: device/bluetooth/test/bluetooth_test_mac.mm

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_bluez.cc ('k') | device/bluetooth/test/bluetooth_test_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/test/bluetooth_test_mac.mm
diff --git a/device/bluetooth/test/bluetooth_test_mac.mm b/device/bluetooth/test/bluetooth_test_mac.mm
index d7e6f4b63ad6020d8ebfeed19d13e4afb3bd52ee..ce064a02273988fd190ad628715f84a1ba9d6d8c 100644
--- a/device/bluetooth/test/bluetooth_test_mac.mm
+++ b/device/bluetooth/test/bluetooth_test_mac.mm
@@ -160,7 +160,7 @@ BluetoothDevice* BluetoothTestMac::SimulateLowEnergyDevice(int device_ordinal) {
switch (device_ordinal) {
case 1:
identifier = kTestPeripheralUUID1.c_str();
- name = @(kTestDeviceName.c_str());
+ name = @(kTestDeviceGapName.c_str());
rssi = @(static_cast<int8_t>(TestRSSI::LOWEST));
uuids = @[
[CBUUID UUIDWithString:@(kTestUUIDGenericAccess.c_str())],
@@ -174,7 +174,7 @@ BluetoothDevice* BluetoothTestMac::SimulateLowEnergyDevice(int device_ordinal) {
break;
case 2:
identifier = kTestPeripheralUUID1.c_str();
- name = @(kTestDeviceName.c_str());
+ name = @(kTestDeviceGapName.c_str());
rssi = @(static_cast<int8_t>(TestRSSI::LOWER));
uuids = @[
[CBUUID UUIDWithString:@(kTestUUIDImmediateAlert.c_str())],
« no previous file with comments | « device/bluetooth/test/bluetooth_test_bluez.cc ('k') | device/bluetooth/test/bluetooth_test_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698