Lines Matching refs:Technology
134 Technology::Identifier technology) { in CreateDevice()
372 EXPECT_CALL(*device0, technology()).WillRepeatedly(Return(Technology::kWifi)); in TEST_F()
384 WillRepeatedly(Return(Technology::kCellular)); in TEST_F()
397 device_info_.infos_[0].technology = Technology::kUnknown; in TEST_F()
401 device_info_.infos_[1].technology = Technology::kCellular; in TEST_F()
403 expected_technologies.insert(Technology::NameFromIdentifier( in TEST_F()
404 Technology::kCellular)); in TEST_F()
408 device_info_.infos_[2].technology = Technology::kWiMax; in TEST_F()
410 expected_technologies.insert(Technology::NameFromIdentifier( in TEST_F()
411 Technology::kWiMax)); in TEST_F()
420 expected_technologies.erase(Technology::NameFromIdentifier( in TEST_F()
421 Technology::kCellular)); in TEST_F()
425 device_info_.infos_[3].technology = Technology::kCellular; in TEST_F()
490 kTestDeviceName, "address", kTestDeviceIndex, Technology::kCellular)); in TEST_F()
510 kTestDeviceName, "address", kTestDeviceIndex, Technology::kWiMax)); in TEST_F()
526 kTestDeviceName, "address", kTestDeviceIndex, Technology::kEthernet); in TEST_F()
547 Technology::kVirtioEthernet); in TEST_F()
588 kTestDeviceName, "address", kTestDeviceIndex, Technology::kWifi)); in TEST_F()
606 kTestDeviceName, "address", kTestDeviceIndex, Technology::kTunnel)); in TEST_F()
625 kTestDeviceName, "address", kTestDeviceIndex, Technology::kTunnel)); in TEST_F()
643 kTestDeviceName, "address", kTestDeviceIndex, Technology::kPPP)); in TEST_F()
653 kTestDeviceName, "address", kTestDeviceIndex, Technology::kLoopback)); in TEST_F()
665 kTestDeviceName, "address", kTestDeviceIndex, Technology::kCDCEthernet)); in TEST_F()
679 kTestDeviceName, "address", kTestDeviceIndex, Technology::kUnknown)); in TEST_F()
691 EXPECT_TRUE(device->technology() == Technology::kBlacklisted); in TEST_F()
703 EXPECT_TRUE(device->technology() == Technology::kBlacklisted); in TEST_F()
713 EXPECT_TRUE(device->technology() == Technology::kBlacklisted); in TEST_F()
732 EXPECT_TRUE(renamed_device->technology() == Technology::kUnknown); in TEST_F()
748 EXPECT_TRUE(initial_device->technology() == Technology::kUnknown); in TEST_F()
766 EXPECT_TRUE(initial_device->technology() == Technology::kUnknown); in TEST_F()
1424 Technology::Identifier GetDeviceTechnology() { in GetDeviceTechnology()
1465 EXPECT_EQ(Technology::kNoDeviceSymlink, GetDeviceTechnology()); in TEST_F()
1469 EXPECT_EQ(Technology::kUnknown, GetDeviceTechnology()); in TEST_F()
1477 EXPECT_EQ(Technology::kUnknown, GetDeviceTechnology()); in TEST_F()
1482 EXPECT_EQ(Technology::kLoopback, GetDeviceTechnology()); in TEST_F()
1487 EXPECT_EQ(Technology::kPPP, GetDeviceTechnology()); in TEST_F()
1492 EXPECT_EQ(Technology::kTunnel, GetDeviceTechnology()); in TEST_F()
1497 EXPECT_EQ(Technology::kWifi, GetDeviceTechnology()); in TEST_F()
1499 EXPECT_EQ(Technology::kWifi, GetDeviceTechnology()); in TEST_F()
1501 EXPECT_EQ(Technology::kWiFiMonitor, GetDeviceTechnology()); in TEST_F()
1506 EXPECT_EQ(Technology::kEthernet, GetDeviceTechnology()); in TEST_F()
1511 EXPECT_EQ(Technology::kWiMax, GetDeviceTechnology()); in TEST_F()
1516 EXPECT_EQ(Technology::kCellular, GetDeviceTechnology()); in TEST_F()
1521 EXPECT_EQ(Technology::kCellular, GetDeviceTechnology()); in TEST_F()
1526 EXPECT_EQ(Technology::kCellular, GetDeviceTechnology()); in TEST_F()
1531 EXPECT_EQ(Technology::kCellular, GetDeviceTechnology()); in TEST_F()
1536 EXPECT_EQ(Technology::kCellular, GetDeviceTechnology()); in TEST_F()
1552 EXPECT_EQ(Technology::kCellular, GetDeviceTechnology()); in TEST_F()
1557 EXPECT_EQ(Technology::kCellular, GetDeviceTechnology()); in TEST_F()
1573 EXPECT_EQ(Technology::kCellular, GetDeviceTechnology()); in TEST_F()
1578 EXPECT_EQ(Technology::kCellular, GetDeviceTechnology()); in TEST_F()
1594 EXPECT_EQ(Technology::kCellular, GetDeviceTechnology()); in TEST_F()
1599 EXPECT_EQ(Technology::kCellular, GetDeviceTechnology()); in TEST_F()
1605 EXPECT_EQ(Technology::kCDCEthernet, GetDeviceTechnology()); in TEST_F()
1611 EXPECT_EQ(Technology::kCDCEthernet, GetDeviceTechnology()); in TEST_F()
1618 EXPECT_EQ(Technology::kCellular, GetDeviceTechnology()); in TEST_F()
1623 EXPECT_EQ(Technology::kCellular, GetDeviceTechnology()); in TEST_F()
1636 Technology::Identifier technology));
1638 Technology::Identifier(const string& iface_name));
1657 void AddDelayedDevice(Technology::Identifier delayed_technology) { in AddDelayedDevice()
1672 void EnsureDelayedDevice(Technology::Identifier reported_device_technology, in EnsureDelayedDevice()
1673 Technology::Identifier created_device_technology) { in EnsureDelayedDevice()
1700 AddDelayedDevice(Technology::kCDCEthernet); in TEST_F()
1701 EnsureDelayedDevice(Technology::kCDCEthernet, Technology::kEthernet); in TEST_F()
1705 AddDelayedDevice(Technology::kCDCEthernet); in TEST_F()
1706 EnsureDelayedDevice(Technology::kCellular, Technology::kCellular); in TEST_F()
1710 AddDelayedDevice(Technology::kNoDeviceSymlink); in TEST_F()
1711 EnsureDelayedDevice(Technology::kTunnel, Technology::kTunnel); in TEST_F()
1715 AddDelayedDevice(Technology::kNoDeviceSymlink); in TEST_F()
1718 EnsureDelayedDevice(Technology::kNoDeviceSymlink, Technology::kEthernet); in TEST_F()
1722 AddDelayedDevice(Technology::kNoDeviceSymlink); in TEST_F()
1725 EnsureDelayedDevice(Technology::kNoDeviceSymlink, Technology::kUnknown); in TEST_F()
1763 AddDelayedDevice(Technology::kNoDeviceSymlink); in TEST_F()