Lines Matching refs:ipconfig

202   void OnIPConfigUpdated(const IPConfigRefPtr& ipconfig) {
203 device_->OnIPConfigUpdated(ipconfig, true);
206 void OnIPConfigFailed(const IPConfigRefPtr& ipconfig) {
207 device_->OnIPConfigFailed(ipconfig);
210 void OnIPConfigExpired(const IPConfigRefPtr& ipconfig) {
211 device_->OnIPConfigExpired(ipconfig);
702 scoped_refptr<MockIPConfig> ipconfig = new MockIPConfig(control_interface(),
714 EXPECT_CALL(*ipconfig, ResetProperties());
715 OnIPConfigFailed(ipconfig.get());
724 scoped_refptr<MockIPConfig> ipconfig = new MockIPConfig(control_interface(),
736 EXPECT_CALL(*ipconfig, ResetProperties());
747 OnIPConfigFailed(ipconfig.get());
756 scoped_refptr<MockIPConfig> ipconfig = new MockIPConfig(control_interface(),
768 EXPECT_CALL(*ipconfig, ResetProperties());
773 OnIPConfigFailed(ipconfig.get());
779 scoped_refptr<MockIPConfig> ipconfig = new MockIPConfig(control_interface(),
794 EXPECT_CALL(*ipconfig, ResetProperties()).Times(0);
795 OnIPConfigFailed(ipconfig.get());
805 scoped_refptr<MockIPConfig> ipconfig = new MockIPConfig(control_interface(),
807 device_->set_ipconfig(ipconfig);
828 OnIPConfigUpdated(ipconfig.get());
834 scoped_refptr<MockIPConfig> ipconfig = new MockIPConfig(control_interface(),
837 OnIPConfigUpdated(ipconfig.get());
841 scoped_refptr<MockIPConfig> ipconfig =
844 ipconfig->properties_.lease_duration_seconds = kLeaseLength;
853 OnIPConfigExpired(ipconfig.get());
1031 scoped_refptr<MockIPConfig> ipconfig =
1033 device_->set_ipconfig(ipconfig);
1034 EXPECT_CALL(*ipconfig, RenewIP());
1040 ASSERT_EQ(nullptr, device_->ipconfig().get());
1243 // An empty ipconfig doesn't mean we're tethered.
1247 // Add an ipconfig property that indicates this is an Android tether.
1692 scoped_refptr<IPConfig> ipconfig =
1700 ipconfig->set_properties(properties);
1702 device_->set_ipconfig(ipconfig);
1703 OnIPConfigUpdated(ipconfig.get());
1705 device_->ipconfig()->properties().dns_servers);
1739 scoped_refptr<IPConfig> ipconfig =
1742 device_->set_ipconfig(ipconfig);
1765 OnIPConfigUpdated(ipconfig.get());
1766 EXPECT_EQ(kOutputServers, device_->ipconfig()->properties().dns_servers);
1773 OnIPConfigUpdated(ipconfig.get());
1774 EXPECT_EQ(static_servers, device_->ipconfig()->properties().dns_servers);
2416 scoped_refptr<MockIPConfig> ipconfig =
2418 device_->set_ipconfig(ipconfig);
2422 EXPECT_CALL(*ipconfig, UpdateDNSServers(_)).Times(0);
2429 Mock::VerifyAndClearExpectations(ipconfig.get());
2436 EXPECT_CALL(*ipconfig, UpdateDNSServers(_)).Times(0);
2445 Mock::VerifyAndClearExpectations(ipconfig.get());
2471 EXPECT_CALL(*ipconfig, UpdateDNSServers(_)).Times(1);
2481 Mock::VerifyAndClearExpectations(ipconfig.get());
2486 scoped_refptr<MockIPConfig> ipconfig =
2488 device_->set_ipconfig(ipconfig);
2492 EXPECT_CALL(*ipconfig, UpdateDNSServers(_)).Times(0);
2495 Mock::VerifyAndClearExpectations(ipconfig.get());
2518 EXPECT_CALL(*ipconfig, UpdateDNSServers(_)).Times(1);
2523 Mock::VerifyAndClearExpectations(ipconfig.get());