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

Side by Side Diff: device/bluetooth/bluetooth_remote_gatt_characteristic_unittest.cc

Issue 2695573002: Adding BluetoothTestBase::CheckNotifySessionValue() method (Closed)
Patch Set: Fixing tests Created 3 years, 10 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stdint.h> 5 #include <stdint.h>
6 #include <utility> 6 #include <utility>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/run_loop.h" 10 #include "base/run_loop.h"
(...skipping 1404 matching lines...) Expand 10 before | Expand all | Expand 10 after
1415 #if defined(OS_ANDROID) || defined(OS_MACOSX) 1415 #if defined(OS_ANDROID) || defined(OS_MACOSX)
1416 // Tests StopNotifySession success on a characteristic that enabled Notify. 1416 // Tests StopNotifySession success on a characteristic that enabled Notify.
1417 TEST_F(BluetoothRemoteGattCharacteristicTest, StopNotifySession) { 1417 TEST_F(BluetoothRemoteGattCharacteristicTest, StopNotifySession) {
1418 if (!PlatformSupportsLowEnergy()) { 1418 if (!PlatformSupportsLowEnergy()) {
1419 LOG(WARNING) << "Low Energy Bluetooth unavailable, skipping unit test."; 1419 LOG(WARNING) << "Low Energy Bluetooth unavailable, skipping unit test.";
1420 return; 1420 return;
1421 } 1421 }
1422 ASSERT_NO_FATAL_FAILURE(StartNotifyBoilerplate( 1422 ASSERT_NO_FATAL_FAILURE(StartNotifyBoilerplate(
1423 /* properties: NOTIFY */ 0x10, 1423 /* properties: NOTIFY */ 0x10,
1424 /* expected_config_descriptor_value: NOTIFY */ 1)); 1424 /* expected_config_descriptor_value: NOTIFY */ 1));
1425 // macOS: Not applicable. CoreBluetooth exposes -[CBPeripheral 1425 CheckNotifySessionValue(1, 1);
1426 // setNotifyValue:forCharacteristic:] which handles all interactions with
1427 // the CCC descriptor.
1428 #if !defined(OS_MACOSX)
1429 EXPECT_EQ(1, gatt_write_descriptor_attempts_);
1430 #else
1431 EXPECT_EQ(1, gatt_notify_characteristic_attempts_);
1432 EXPECT_TRUE(last_notify_value);
1433 #endif // !defined(OS_MACOSX)
1434 1426
1435 notify_sessions_[0]->Stop(GetStopNotifyCallback(Call::EXPECTED)); 1427 notify_sessions_[0]->Stop(GetStopNotifyCallback(Call::EXPECTED));
1436 SimulateGattNotifySessionStopped(characteristic1_); 1428 SimulateGattNotifySessionStopped(characteristic1_);
1437 base::RunLoop().RunUntilIdle(); 1429 base::RunLoop().RunUntilIdle();
1438 1430
1439 // macOS: Not applicable. CoreBluetooth exposes -[CBPeripheral 1431 CheckNotifySessionValue(0, 2);
1440 // setNotifyValue:forCharacteristic:] which handles all interactions with
1441 // the CCC descriptor.
1442 #if !defined(OS_MACOSX)
1443 // Check that the right values were written to the descriptor.
1444 EXPECT_EQ(2, gatt_write_descriptor_attempts_);
1445 ASSERT_EQ(2u, last_write_value_.size());
1446 EXPECT_EQ(0, last_write_value_[0]);
1447 EXPECT_EQ(0, last_write_value_[1]);
1448 #else
1449 EXPECT_EQ(2, gatt_notify_characteristic_attempts_);
1450 EXPECT_FALSE(last_notify_value);
1451 #endif // !defined(OS_MACOSX)
1452 1432
1453 // Check that the notify session is inactive. 1433 // Check that the notify session is inactive.
1454 EXPECT_FALSE(notify_sessions_[0]->IsActive()); 1434 EXPECT_FALSE(notify_sessions_[0]->IsActive());
1455 EXPECT_FALSE(characteristic1_->IsNotifying()); 1435 EXPECT_FALSE(characteristic1_->IsNotifying());
1456 } 1436 }
1457 #endif // defined(OS_ANDROID) || defined(OS_MACOSX) 1437 #endif // defined(OS_ANDROID) || defined(OS_MACOSX)
1458 1438
1459 #if defined(OS_ANDROID) || defined(OS_MACOSX) 1439 #if defined(OS_ANDROID) || defined(OS_MACOSX)
1460 // Tests that deleted sessions are stopped. 1440 // Tests that deleted sessions are stopped.
1461 TEST_F(BluetoothRemoteGattCharacteristicTest, 1441 TEST_F(BluetoothRemoteGattCharacteristicTest,
1462 StopNotifySession_SessionDeleted) { 1442 StopNotifySession_SessionDeleted) {
1463 if (!PlatformSupportsLowEnergy()) { 1443 if (!PlatformSupportsLowEnergy()) {
1464 LOG(WARNING) << "Low Energy Bluetooth unavailable, skipping unit test."; 1444 LOG(WARNING) << "Low Energy Bluetooth unavailable, skipping unit test.";
1465 return; 1445 return;
1466 } 1446 }
1467 ASSERT_NO_FATAL_FAILURE(StartNotifyBoilerplate( 1447 ASSERT_NO_FATAL_FAILURE(StartNotifyBoilerplate(
1468 /* properties: NOTIFY */ 0x10, 1448 /* properties: NOTIFY */ 0x10,
1469 /* expected_config_descriptor_value: NOTIFY */ 1)); 1449 /* expected_config_descriptor_value: NOTIFY */ 1));
1470 // macOS: Not applicable. CoreBluetooth exposes -[CBPeripheral 1450 CheckNotifySessionValue(1, 1);
1471 // setNotifyValue:forCharacteristic:] which handles all interactions with
1472 // the CCC descriptor.
1473 #if !defined(OS_MACOSX)
1474 EXPECT_EQ(1, gatt_write_descriptor_attempts_);
1475 #else
1476 EXPECT_EQ(1, gatt_notify_characteristic_attempts_);
1477 EXPECT_TRUE(last_notify_value);
1478 #endif // !defined(OS_MACOSX)
1479 1451
1480 notify_sessions_.clear(); 1452 notify_sessions_.clear();
1481 SimulateGattNotifySessionStopped(characteristic1_); 1453 SimulateGattNotifySessionStopped(characteristic1_);
1482 base::RunLoop().RunUntilIdle(); 1454 base::RunLoop().RunUntilIdle();
1483 1455
1484 // macOS: Not applicable. CoreBluetooth exposes -[CBPeripheral 1456 CheckNotifySessionValue(0, 2);
1485 // setNotifyValue:forCharacteristic:] which handles all interactions with
1486 // the CCC descriptor.
1487 #if !defined(OS_MACOSX)
1488 // Check that the right values were written to the descriptor.
1489 EXPECT_EQ(2, gatt_write_descriptor_attempts_);
1490 ASSERT_EQ(2u, last_write_value_.size());
1491 EXPECT_EQ(0, last_write_value_[0]);
1492 EXPECT_EQ(0, last_write_value_[1]);
1493 #else
1494 EXPECT_EQ(2, gatt_notify_characteristic_attempts_);
1495 EXPECT_FALSE(last_notify_value);
1496 #endif // !defined(OS_MACOSX)
1497 1457
1498 // Check that the notify session is inactive. 1458 // Check that the notify session is inactive.
1499 EXPECT_FALSE(characteristic1_->IsNotifying()); 1459 EXPECT_FALSE(characteristic1_->IsNotifying());
1500 } 1460 }
1501 #endif // defined(OS_ANDROID) || defined(OS_MACOSX) 1461 #endif // defined(OS_ANDROID) || defined(OS_MACOSX)
1502 1462
1503 #if defined(OS_ANDROID) || defined(OS_MACOSX) 1463 #if defined(OS_ANDROID) || defined(OS_MACOSX)
1504 // Tests that deleting the sessions before the stop callbacks have been 1464 // Tests that deleting the sessions before the stop callbacks have been
1505 // invoked does not cause problems. 1465 // invoked does not cause problems.
1506 TEST_F(BluetoothRemoteGattCharacteristicTest, 1466 TEST_F(BluetoothRemoteGattCharacteristicTest,
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
1627 #if defined(OS_ANDROID) || defined(OS_MACOSX) 1587 #if defined(OS_ANDROID) || defined(OS_MACOSX)
1628 // Tests StopNotifySession success on a characteristic that enabled Indicate. 1588 // Tests StopNotifySession success on a characteristic that enabled Indicate.
1629 TEST_F(BluetoothRemoteGattCharacteristicTest, StopNotifySession_OnIndicate) { 1589 TEST_F(BluetoothRemoteGattCharacteristicTest, StopNotifySession_OnIndicate) {
1630 if (!PlatformSupportsLowEnergy()) { 1590 if (!PlatformSupportsLowEnergy()) {
1631 LOG(WARNING) << "Low Energy Bluetooth unavailable, skipping unit test."; 1591 LOG(WARNING) << "Low Energy Bluetooth unavailable, skipping unit test.";
1632 return; 1592 return;
1633 } 1593 }
1634 ASSERT_NO_FATAL_FAILURE(StartNotifyBoilerplate( 1594 ASSERT_NO_FATAL_FAILURE(StartNotifyBoilerplate(
1635 /* properties: INDICATE */ 0x20, 1595 /* properties: INDICATE */ 0x20,
1636 /* expected_config_descriptor_value: INDICATE */ 2)); 1596 /* expected_config_descriptor_value: INDICATE */ 2));
1637 // macOS: Not applicable. CoreBluetooth exposes -[CBPeripheral 1597 CheckNotifySessionValue(2, 1);
1638 // setNotifyValue:forCharacteristic:] which handles all interactions with
1639 // the CCC descriptor.
1640 #if !defined(OS_MACOSX)
1641 EXPECT_EQ(1, gatt_write_descriptor_attempts_);
1642 #else
1643 EXPECT_EQ(1, gatt_notify_characteristic_attempts_);
1644 EXPECT_TRUE(last_notify_value);
1645 #endif // !defined(OS_MACOSX)
1646 1598
1647 notify_sessions_[0]->Stop(GetStopNotifyCallback(Call::EXPECTED)); 1599 notify_sessions_[0]->Stop(GetStopNotifyCallback(Call::EXPECTED));
1648 SimulateGattNotifySessionStopped(characteristic1_); 1600 SimulateGattNotifySessionStopped(characteristic1_);
1649 base::RunLoop().RunUntilIdle(); 1601 base::RunLoop().RunUntilIdle();
1650 1602
1651 // macOS: Not applicable. CoreBluetooth exposes -[CBPeripheral 1603 CheckNotifySessionValue(0, 2);
1652 // setNotifyValue:forCharacteristic:] which handles all interactions with
1653 // the CCC descriptor.
1654 #if !defined(OS_MACOSX)
1655 // Check that the right values were written to the descriptor.
1656 EXPECT_EQ(2, gatt_write_descriptor_attempts_);
1657 ASSERT_EQ(2u, last_write_value_.size());
1658 EXPECT_EQ(0, last_write_value_[0]);
1659 EXPECT_EQ(0, last_write_value_[1]);
1660 #else
1661 EXPECT_EQ(2, gatt_notify_characteristic_attempts_);
1662 EXPECT_FALSE(last_notify_value);
1663 #endif // !defined(OS_MACOSX)
1664 1604
1665 // Check that the notify session is inactive. 1605 // Check that the notify session is inactive.
1666 EXPECT_FALSE(notify_sessions_[0]->IsActive()); 1606 EXPECT_FALSE(notify_sessions_[0]->IsActive());
1667 EXPECT_FALSE(characteristic1_->IsNotifying()); 1607 EXPECT_FALSE(characteristic1_->IsNotifying());
1668 } 1608 }
1669 #endif // defined(OS_ANDROID) || defined(OS_MACOSX) 1609 #endif // defined(OS_ANDROID) || defined(OS_MACOSX)
1670 1610
1671 #if defined(OS_ANDROID) || defined(OS_MACOSX) 1611 #if defined(OS_ANDROID) || defined(OS_MACOSX)
1672 // Tests StopNotifySession success on a characteristic that enabled Notify & 1612 // Tests StopNotifySession success on a characteristic that enabled Notify &
1673 // Indicate. 1613 // Indicate.
1674 TEST_F(BluetoothRemoteGattCharacteristicTest, 1614 TEST_F(BluetoothRemoteGattCharacteristicTest,
1675 StopNotifySession_OnNotifyAndIndicate) { 1615 StopNotifySession_OnNotifyAndIndicate) {
1676 if (!PlatformSupportsLowEnergy()) { 1616 if (!PlatformSupportsLowEnergy()) {
1677 LOG(WARNING) << "Low Energy Bluetooth unavailable, skipping unit test."; 1617 LOG(WARNING) << "Low Energy Bluetooth unavailable, skipping unit test.";
1678 return; 1618 return;
1679 } 1619 }
1680 ASSERT_NO_FATAL_FAILURE(StartNotifyBoilerplate( 1620 ASSERT_NO_FATAL_FAILURE(StartNotifyBoilerplate(
1681 /* properties: NOTIFY and INDICATE bits set */ 0x30, 1621 /* properties: NOTIFY and INDICATE bits set */ 0x30,
1682 /* expected_config_descriptor_value: INDICATE */ 1)); 1622 /* expected_config_descriptor_value: INDICATE */ 1));
1683 // macOS: Not applicable. CoreBluetooth exposes -[CBPeripheral 1623 CheckNotifySessionValue(1, 1);
1684 // setNotifyValue:forCharacteristic:] which handles all interactions with
1685 // the CCC descriptor.
1686 #if !defined(OS_MACOSX)
1687 EXPECT_EQ(1, gatt_write_descriptor_attempts_);
1688 #else
1689 EXPECT_EQ(1, gatt_notify_characteristic_attempts_);
1690 EXPECT_TRUE(last_notify_value);
1691 #endif // !defined(OS_MACOSX)
1692 1624
1693 notify_sessions_[0]->Stop(GetStopNotifyCallback(Call::EXPECTED)); 1625 notify_sessions_[0]->Stop(GetStopNotifyCallback(Call::EXPECTED));
1694 SimulateGattNotifySessionStopped(characteristic1_); 1626 SimulateGattNotifySessionStopped(characteristic1_);
1695 base::RunLoop().RunUntilIdle(); 1627 base::RunLoop().RunUntilIdle();
1696 1628
1697 // macOS: Not applicable. CoreBluetooth exposes -[CBPeripheral 1629 CheckNotifySessionValue(0, 2);
1698 // setNotifyValue:forCharacteristic:] which handles all interactions with
1699 // the CCC descriptor.
1700 #if !defined(OS_MACOSX)
1701 // Check that the right values were written to the descriptor.
1702 EXPECT_EQ(2, gatt_write_descriptor_attempts_);
1703 ASSERT_EQ(2u, last_write_value_.size());
1704 EXPECT_EQ(0, last_write_value_[0]);
1705 EXPECT_EQ(0, last_write_value_[1]);
1706 #else
1707 EXPECT_EQ(2, gatt_notify_characteristic_attempts_);
1708 EXPECT_FALSE(last_notify_value);
1709 #endif // !defined(OS_MACOSX)
1710 1630
1711 // Check that the notify session is inactive. 1631 // Check that the notify session is inactive.
1712 EXPECT_FALSE(notify_sessions_[0]->IsActive()); 1632 EXPECT_FALSE(notify_sessions_[0]->IsActive());
1713 EXPECT_FALSE(characteristic1_->IsNotifying()); 1633 EXPECT_FALSE(characteristic1_->IsNotifying());
1714 } 1634 }
1715 #endif // defined(OS_ANDROID) || defined(OS_MACOSX) 1635 #endif // defined(OS_ANDROID) || defined(OS_MACOSX)
1716 1636
1717 #if defined(OS_ANDROID) || defined(OS_MACOSX) 1637 #if defined(OS_ANDROID) || defined(OS_MACOSX)
1718 // Tests StopNotifySession error 1638 // Tests StopNotifySession error
1719 TEST_F(BluetoothRemoteGattCharacteristicTest, StopNotifySession_Error) { 1639 TEST_F(BluetoothRemoteGattCharacteristicTest, StopNotifySession_Error) {
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
1969 // Start notify session 1889 // Start notify session
1970 ResetEventCounts(); 1890 ResetEventCounts();
1971 characteristic1_->StartNotifySession( 1891 characteristic1_->StartNotifySession(
1972 GetNotifyCheckForPrecedingCalls(0), 1892 GetNotifyCheckForPrecedingCalls(0),
1973 GetGattErrorCallback(Call::NOT_EXPECTED)); 1893 GetGattErrorCallback(Call::NOT_EXPECTED));
1974 SimulateGattNotifySessionStarted(characteristic1_); 1894 SimulateGattNotifySessionStarted(characteristic1_);
1975 base::RunLoop().RunUntilIdle(); 1895 base::RunLoop().RunUntilIdle();
1976 ASSERT_EQ(1u, notify_sessions_.size()); 1896 ASSERT_EQ(1u, notify_sessions_.size());
1977 ASSERT_TRUE(notify_sessions_[0]); 1897 ASSERT_TRUE(notify_sessions_[0]);
1978 EXPECT_TRUE(notify_sessions_[0]->IsActive()); 1898 EXPECT_TRUE(notify_sessions_[0]->IsActive());
1979 // macOS: Not applicable. CoreBluetooth exposes -[CBPeripheral 1899 CheckNotifySessionValue(1, 1);
1980 // setNotifyValue:forCharacteristic:] which handles all interactions with
1981 // the CCC descriptor.
1982 #if !defined(OS_MACOSX)
1983 EXPECT_EQ(1, gatt_write_descriptor_attempts_);
1984 #else
1985 EXPECT_EQ(1, gatt_notify_characteristic_attempts_);
1986 EXPECT_TRUE(last_notify_value);
1987 #endif // !defined(OS_MACOSX)
1988 1900
1989 // Stop the notify session twice 1901 // Stop the notify session twice
1990 notify_sessions_[0]->Stop(GetStopNotifyCheckForPrecedingCalls(1)); 1902 notify_sessions_[0]->Stop(GetStopNotifyCheckForPrecedingCalls(1));
1991 notify_sessions_[0]->Stop(GetStopNotifyCheckForPrecedingCalls(2)); 1903 notify_sessions_[0]->Stop(GetStopNotifyCheckForPrecedingCalls(2));
1992 1904
1993 // macOS: Not applicable. CoreBluetooth exposes -[CBPeripheral 1905 CheckNotifySessionValue(0, 2);
1994 // setNotifyValue:forCharacteristic:] which handles all interactions with
1995 // the CCC descriptor.
1996 #if !defined(OS_MACOSX)
1997 // Check that the right values were written to the descriptor.
1998 EXPECT_EQ(2, gatt_write_descriptor_attempts_);
1999 ASSERT_EQ(2u, last_write_value_.size());
2000 EXPECT_EQ(0, last_write_value_[0]);
2001 EXPECT_EQ(0, last_write_value_[1]);
2002 #else
2003 EXPECT_EQ(2, gatt_notify_characteristic_attempts_);
2004 EXPECT_FALSE(last_notify_value);
2005 #endif // !defined(OS_MACOSX)
2006 1906
2007 // Start another notify session 1907 // Start another notify session
2008 characteristic1_->StartNotifySession( 1908 characteristic1_->StartNotifySession(
2009 GetNotifyCheckForPrecedingCalls(3), 1909 GetNotifyCheckForPrecedingCalls(3),
2010 GetGattErrorCallback(Call::NOT_EXPECTED)); 1910 GetGattErrorCallback(Call::NOT_EXPECTED));
2011 1911
2012 // macOS: Not applicable. CoreBluetooth exposes -[CBPeripheral 1912 CheckNotifySessionValue(0, 2);
2013 // setNotifyValue:forCharacteristic:] which handles all interactions with
2014 // the CCC descriptor.
2015 #if !defined(OS_MACOSX)
2016 // Check that nothing was written by the StartNotifySession call above
2017 EXPECT_EQ(2, gatt_write_descriptor_attempts_);
2018 #else
2019 EXPECT_EQ(2, gatt_notify_characteristic_attempts_);
2020 #endif // !defined(OS_MACOSX)
2021 1913
2022 SimulateGattNotifySessionStopped(characteristic1_); 1914 SimulateGattNotifySessionStopped(characteristic1_);
2023 base::RunLoop().RunUntilIdle(); 1915 base::RunLoop().RunUntilIdle();
2024 EXPECT_FALSE(notify_sessions_[0]->IsActive()); 1916 EXPECT_FALSE(notify_sessions_[0]->IsActive());
2025 1917
2026 SimulateGattNotifySessionStarted(characteristic1_); 1918 SimulateGattNotifySessionStarted(characteristic1_);
2027 base::RunLoop().RunUntilIdle(); 1919 base::RunLoop().RunUntilIdle();
2028 1920
2029 // macOS: Not applicable. CoreBluetooth exposes -[CBPeripheral 1921 CheckNotifySessionValue(1, 3);
2030 // setNotifyValue:forCharacteristic:] which handles all interactions with
2031 // the CCC descriptor.
2032 #if !defined(OS_MACOSX)
2033 // Check that the right values were written to the descriptor.
2034 EXPECT_EQ(3, gatt_write_descriptor_attempts_);
2035 ASSERT_EQ(2u, last_write_value_.size());
2036 EXPECT_EQ(1, last_write_value_[0]);
2037 EXPECT_EQ(0, last_write_value_[1]);
2038 #else
2039 EXPECT_EQ(3, gatt_notify_characteristic_attempts_);
2040 EXPECT_TRUE(last_notify_value);
2041 #endif // !defined(OS_MACOSX)
2042 1922
2043 // Check the notify state 1923 // Check the notify state
2044 ASSERT_EQ(2u, notify_sessions_.size()); 1924 ASSERT_EQ(2u, notify_sessions_.size());
2045 ASSERT_TRUE(notify_sessions_[0]); 1925 ASSERT_TRUE(notify_sessions_[0]);
2046 EXPECT_FALSE(notify_sessions_[0]->IsActive()); 1926 EXPECT_FALSE(notify_sessions_[0]->IsActive());
2047 ASSERT_TRUE(notify_sessions_[1]); 1927 ASSERT_TRUE(notify_sessions_[1]);
2048 EXPECT_TRUE(notify_sessions_[1]->IsActive()); 1928 EXPECT_TRUE(notify_sessions_[1]->IsActive());
2049 EXPECT_TRUE(characteristic1_->IsNotifying()); 1929 EXPECT_TRUE(characteristic1_->IsNotifying());
2050 } 1930 }
2051 #endif // defined(OS_ANDROID) || defined(OS_MACOSX) 1931 #endif // defined(OS_ANDROID) || defined(OS_MACOSX)
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
2312 EXPECT_EQ(1u, characteristic1_->GetDescriptorsByUUID(id2).size()); 2192 EXPECT_EQ(1u, characteristic1_->GetDescriptorsByUUID(id2).size());
2313 EXPECT_EQ(2u, characteristic2_->GetDescriptorsByUUID(id3).size()); 2193 EXPECT_EQ(2u, characteristic2_->GetDescriptorsByUUID(id3).size());
2314 2194
2315 EXPECT_EQ(0u, characteristic2_->GetDescriptorsByUUID(id1).size()); 2195 EXPECT_EQ(0u, characteristic2_->GetDescriptorsByUUID(id1).size());
2316 EXPECT_EQ(0u, characteristic2_->GetDescriptorsByUUID(id2).size()); 2196 EXPECT_EQ(0u, characteristic2_->GetDescriptorsByUUID(id2).size());
2317 EXPECT_EQ(0u, characteristic1_->GetDescriptorsByUUID(id3).size()); 2197 EXPECT_EQ(0u, characteristic1_->GetDescriptorsByUUID(id3).size());
2318 } 2198 }
2319 #endif // defined(OS_ANDROID) || defined(OS_WIN) 2199 #endif // defined(OS_ANDROID) || defined(OS_WIN)
2320 2200
2321 } // namespace device 2201 } // namespace device
OLDNEW
« no previous file with comments | « no previous file | device/bluetooth/test/bluetooth_test.h » ('j') | device/bluetooth/test/bluetooth_test.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698