Home | History | Annotate | Download | only in shill

Lines Matching full:sethostname

289   bool SetHostname(const string& hostname) {
290 return device_->SetHostname(hostname);
1824 EXPECT_CALL(device_info_, SetHostname(_)).Times(0);
1825 EXPECT_FALSE(SetHostname(""));
1837 EXPECT_CALL(device_info_, SetHostname(_)).Times(0);
1838 EXPECT_FALSE(SetHostname("wilson"));
1850 EXPECT_CALL(device_info_, SetHostname("wilson"))
1852 EXPECT_FALSE(SetHostname("wilson"));
1864 EXPECT_CALL(device_info_, SetHostname(
1867 EXPECT_TRUE(SetHostname(
1880 EXPECT_CALL(device_info_, SetHostname("wilson"))
1882 EXPECT_FALSE(SetHostname(
1895 EXPECT_CALL(device_info_, SetHostname(
1898 EXPECT_TRUE(SetHostname(