Lines Matching refs:Technology
201 Technology::Identifier tech) { in IsDeviceRegistered()
488 const std::vector<Technology::Identifier>& GetTechnologyOrder() { in GetTechnologyOrder()
557 .WillByDefault(Return(Technology::kEthernet)); in TEST_F()
559 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
567 EXPECT_FALSE(IsDeviceRegistered(mock_devices_[0], Technology::kEthernet)); in TEST_F()
575 EXPECT_TRUE(IsDeviceRegistered(mock_devices_[1], Technology::kWifi)); in TEST_F()
580 .WillByDefault(Return(Technology::kEthernet)); in TEST_F()
582 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
584 .WillByDefault(Return(Technology::kCellular)); in TEST_F()
590 EXPECT_TRUE(IsDeviceRegistered(mock_devices_[0], Technology::kEthernet)); in TEST_F()
591 EXPECT_TRUE(IsDeviceRegistered(mock_devices_[1], Technology::kWifi)); in TEST_F()
592 EXPECT_TRUE(IsDeviceRegistered(mock_devices_[2], Technology::kCellular)); in TEST_F()
619 .WillByDefault(Return(Technology::kEthernet)); in TEST_F()
621 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
626 ASSERT_TRUE(IsDeviceRegistered(mock_devices_[0], Technology::kEthernet)); in TEST_F()
627 ASSERT_TRUE(IsDeviceRegistered(mock_devices_[1], Technology::kWifi)); in TEST_F()
636 EXPECT_FALSE(IsDeviceRegistered(mock_devices_[0], Technology::kEthernet)); in TEST_F()
641 EXPECT_FALSE(IsDeviceRegistered(mock_devices_[1], Technology::kWifi)); in TEST_F()
1618 .WillRepeatedly(Return(Technology::kWifi)); in TEST_F()
1621 .WillRepeatedly(Return(Technology::kUnknown)); in TEST_F()
1633 .WillRepeatedly(Return(Technology::kWifi)); in TEST_F()
1643 .WillRepeatedly(Return(Technology::kUnknown)); in TEST_F()
2130 .WillOnce(Return(Technology::kCellular)) in TEST_F()
2131 .WillOnce(Return(Technology::kWifi)); in TEST_F()
2456 EXPECT_THAT(GetTechnologyOrder(), ElementsAre(Technology::kVPN, in TEST_F()
2457 Technology::kEthernet, in TEST_F()
2458 Technology::kWifi, in TEST_F()
2459 Technology::kWiMax, in TEST_F()
2460 Technology::kCellular)); in TEST_F()
2527 .WillByDefault(Return(Technology::kEthernet)); in TEST_F()
2529 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
2531 .WillByDefault(Return(Technology::kCellular)); in TEST_F()
2533 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
2536 NotifyDevicePresenceStatus(Technology::kEthernet, true)); in TEST_F()
2538 NotifyDevicePresenceStatus(Technology::kWifi, true)); in TEST_F()
2540 NotifyDevicePresenceStatus(Technology::kWiMax, false)); in TEST_F()
2542 NotifyDevicePresenceStatus(Technology::kCellular, true)); in TEST_F()
2780 .WillByDefault(Return(Technology::kEthernet)); in TEST_F()
2782 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
2784 .WillByDefault(Return(Technology::kCellular)); in TEST_F()
2786 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
2789 expected_technologies.insert(Technology::NameFromIdentifier( in TEST_F()
2790 Technology::kEthernet)); in TEST_F()
2791 expected_technologies.insert(Technology::NameFromIdentifier( in TEST_F()
2792 Technology::kWifi)); in TEST_F()
2793 expected_technologies.insert(Technology::NameFromIdentifier( in TEST_F()
2794 Technology::kCellular)); in TEST_F()
2840 .WillByDefault(Return(Technology::kEthernet)); in TEST_F()
2842 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
2844 .WillByDefault(Return(Technology::kCellular)); in TEST_F()
2846 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
2854 expected_technologies.insert(Technology::NameFromIdentifier( in TEST_F()
2855 Technology::kEthernet)); in TEST_F()
2856 expected_technologies.insert(Technology::NameFromIdentifier( in TEST_F()
2857 Technology::kWifi)); in TEST_F()
2883 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
2887 .WillByDefault(Return(Technology::kEthernet)); in TEST_F()
2899 Technology::NameFromIdentifier(Technology::kWifi); in TEST_F()
3552 EXPECT_TRUE(manager()->IsPortalDetectionEnabled(Technology::kWifi)); in TEST_F()
3553 EXPECT_FALSE(manager()->IsPortalDetectionEnabled(Technology::kCellular)); in TEST_F()
3563 EXPECT_FALSE(manager()->IsPortalDetectionEnabled(Technology::kWifi)); in TEST_F()
3564 EXPECT_TRUE(manager()->IsPortalDetectionEnabled(Technology::kCellular)); in TEST_F()
3577 EXPECT_FALSE(manager()->IsPortalDetectionEnabled(Technology::kCellular)); in TEST_F()
3578 EXPECT_TRUE(manager()->IsPortalDetectionEnabled(Technology::kPPP)); in TEST_F()
3584 EXPECT_TRUE(manager()->IsTechnologyLinkMonitorEnabled(Technology::kWifi)); in TEST_F()
3586 manager()->IsTechnologyLinkMonitorEnabled(Technology::kCellular)); in TEST_F()
3592 EXPECT_TRUE(manager()->IsTechnologyAutoConnectDisabled(Technology::kWifi)); in TEST_F()
3594 manager()->IsTechnologyAutoConnectDisabled(Technology::kCellular)); in TEST_F()
3596 manager()->IsTechnologyAutoConnectDisabled(Technology::kEthernet)); in TEST_F()
3609 .WillByDefault(Return(Technology::kEthernet)); in TEST_F()
3632 .WillByDefault(Return(Technology::kEthernet)); in TEST_F()
3634 .WillByDefault(Return(Technology::kCellular)); in TEST_F()
3636 .WillByDefault(Return(Technology::kCellular)); in TEST_F()
3852 .WillRepeatedly(Return(Technology::kWifi)); in TEST_F()
3873 .WillRepeatedly(Return(Technology::kWifi)); in TEST_F()
3892 .WillRepeatedly(Return(Technology::kWifi)); in TEST_F()
3918 .WillRepeatedly(Return(Technology::kCellular)); in TEST_F()
3938 .WillRepeatedly(Return(Technology::kWiMax)); in TEST_F()
3958 .WillRepeatedly(Return(Technology::kVPN)); in TEST_F()
4625 .WillRepeatedly(Return(Technology::kEthernet)); in TEST_F()
4634 .WillRepeatedly(Return(Technology::kWifi)); in TEST_F()
4646 .WillRepeatedly(Return(Technology::kCellular)); in TEST_F()
4674 .WillRepeatedly(Return(Technology::kWifi)); in TEST_F()
4676 .WillRepeatedly(Return(Technology::kCellular)); in TEST_F()
4694 .WillRepeatedly(Return(Technology::kWifi)); in TEST_F()
4705 .WillRepeatedly(Return(Technology::kWifi)); in TEST_F()
4767 EXPECT_FALSE(manager()->IsTechnologyProhibited(Technology::kWiMax)); in TEST_F()
4768 EXPECT_FALSE(manager()->IsTechnologyProhibited(Technology::kVPN)); in TEST_F()
4776 .WillByDefault(Return(Technology::kVPN)); in TEST_F()
4778 .WillByDefault(Return(Technology::kWiMax)); in TEST_F()
4780 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
4792 EXPECT_TRUE(manager()->IsTechnologyProhibited(Technology::kVPN)); in TEST_F()
4793 EXPECT_TRUE(manager()->IsTechnologyProhibited(Technology::kWiMax)); in TEST_F()
4794 EXPECT_FALSE(manager()->IsTechnologyProhibited(Technology::kWifi)); in TEST_F()
4815 .WillByDefault(Return(Technology::kVPN)); in TEST_F()
4817 .WillByDefault(Return(Technology::kWiMax)); in TEST_F()
4819 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
4974 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
4977 EXPECT_TRUE(IsDeviceRegistered(mock_devices_[0], Technology::kWifi)); in TEST_F()
4988 EXPECT_FALSE(IsDeviceRegistered(mock_devices_[0], Technology::kWifi)); in TEST_F()
5058 .WillByDefault(Return(Technology::kEthernet)); in TEST_F()
5060 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
5062 .WillByDefault(Return(Technology::kCellular)); in TEST_F()
5072 manager()->GetEnabledDeviceWithTechnology(Technology::kEthernet)); in TEST_F()
5074 manager()->GetEnabledDeviceWithTechnology(Technology::kWifi)); in TEST_F()
5076 manager()->GetEnabledDeviceWithTechnology(Technology::kCellular)); in TEST_F()
5084 .WillByDefault(Return(Technology::kEthernet)); in TEST_F()
5086 .WillByDefault(Return(Technology::kWifi)); in TEST_F()
5088 .WillByDefault(Return(Technology::kWifi)); in TEST_F()