Searched refs:ShouldAcceptHostnameFrom (Results 1 – 6 of 6) sorted by relevance
102 MOCK_CONST_METHOD1(ShouldAcceptHostnameFrom,
5107 EXPECT_FALSE(manager()->ShouldAcceptHostnameFrom("eth0")); in TEST_F()5108 EXPECT_FALSE(manager()->ShouldAcceptHostnameFrom("eth1")); in TEST_F()5109 EXPECT_FALSE(manager()->ShouldAcceptHostnameFrom("wlan0")); in TEST_F()5112 EXPECT_TRUE(manager()->ShouldAcceptHostnameFrom("eth0")); in TEST_F()5113 EXPECT_FALSE(manager()->ShouldAcceptHostnameFrom("eth1")); in TEST_F()5114 EXPECT_FALSE(manager()->ShouldAcceptHostnameFrom("wlan0")); in TEST_F()5117 EXPECT_FALSE(manager()->ShouldAcceptHostnameFrom("eth0")); in TEST_F()5118 EXPECT_TRUE(manager()->ShouldAcceptHostnameFrom("eth1")); in TEST_F()5119 EXPECT_FALSE(manager()->ShouldAcceptHostnameFrom("wlan0")); in TEST_F()5122 EXPECT_TRUE(manager()->ShouldAcceptHostnameFrom("eth0")); in TEST_F()[all …]
1823 EXPECT_CALL(manager, ShouldAcceptHostnameFrom(_)).Times(0); in TEST_F()1835 EXPECT_CALL(manager, ShouldAcceptHostnameFrom(kDeviceName)) in TEST_F()1848 EXPECT_CALL(manager, ShouldAcceptHostnameFrom(kDeviceName)) in TEST_F()1862 EXPECT_CALL(manager, ShouldAcceptHostnameFrom(kDeviceName)) in TEST_F()1878 EXPECT_CALL(manager, ShouldAcceptHostnameFrom(kDeviceName)) in TEST_F()1893 EXPECT_CALL(manager, ShouldAcceptHostnameFrom(kDeviceName)) in TEST_F()
529 virtual bool ShouldAcceptHostnameFrom(const std::string& device_name) const;
939 if (hostname.empty() || !manager()->ShouldAcceptHostnameFrom(link_name_)) { in SetHostname()
1180 bool Manager::ShouldAcceptHostnameFrom(const string& device_name) const { in ShouldAcceptHostnameFrom() function in shill::Manager