Searched refs:ipconfig_ (Results 1 – 8 of 8) sorted by relevance
/system/connectivity/shill/ |
D | ipconfig_unittest.cc | 61 IPConfigTest() : ipconfig_(new IPConfig(&control_, kDeviceName)) { in IPConfigTest() 62 ipconfig_->time_ = &time_; in IPConfigTest() 77 ipconfig_ = nullptr; in DropRef() 88 return static_cast<IPConfigMockAdaptor*>(ipconfig_->adaptor_.get()); in GetAdaptor() 92 ipconfig_->UpdateProperties(properties, true); in UpdateProperties() 96 ipconfig_->NotifyFailure(); in NotifyFailure() 100 ipconfig_->NotifyExpiry(); in NotifyExpiry() 104 EXPECT_EQ(properties.address, ipconfig_->properties().address); in ExpectPropertiesEqual() 105 EXPECT_EQ(properties.subnet_prefix, ipconfig_->properties().subnet_prefix); in ExpectPropertiesEqual() 107 ipconfig_->properties().broadcast_address); in ExpectPropertiesEqual() [all …]
|
D | connection_unittest.cc | 90 ipconfig_(new IPConfig(&control_, kTestDeviceName0)), in ConnectionTest() 137 ipconfig_->UpdateProperties(properties_, true); in UpdateProperties() 227 IPConfigRefPtr ipconfig_; member in shill::ConnectionTest 301 ipconfig_, in TEST_F() 306 connection_->UpdateFromIPConfig(ipconfig_); in TEST_F() 330 ipconfig_->properties().dns_servers, in TEST_F() 331 ipconfig_->properties().domain_search)); in TEST_F() 333 ExpectDNSServerProxyCreation(ipconfig_->properties().dns_servers, true); in TEST_F() 381 ConfigureRoutes(kTestDeviceInterfaceIndex0, ipconfig_, in TEST_F() 399 connection->UpdateFromIPConfig(ipconfig_); in TEST_F() [all …]
|
D | device.cc | 417 if (!ipconfig_.get()) in IsConnectedViaTether() 421 ipconfig_->properties().vendor_encapsulated_options; in IsConnectedViaTether() 531 if (ipconfig_.get()) { in DestroyIPConfig() 532 ipconfig_->ReleaseIP(IPConfig::kReleaseReasonDisconnect); in DestroyIPConfig() 533 ipconfig_ = nullptr; in DestroyIPConfig() 699 if (ipconfig_) { in RenewDHCPLease() 701 ipconfig_->RenewIP(); in RenewDHCPLease() 766 ipconfig_ = dhcp_config; in AcquireIPConfigWithLeaseName() 767 ipconfig_->RegisterUpdateCallback(Bind(&Device::OnIPConfigUpdated, in AcquireIPConfigWithLeaseName() 769 ipconfig_->RegisterFailureCallback(Bind(&Device::OnIPConfigFailed, in AcquireIPConfigWithLeaseName() [all …]
|
D | device_unittest.cc | 342 ASSERT_FALSE(device_->ipconfig_.get()); in TEST_F() 343 device_->ipconfig_ = new IPConfig(control_interface(), kDeviceName); in TEST_F() 347 ASSERT_FALSE(device_->ipconfig_.get()); in TEST_F() 353 ASSERT_FALSE(device_->ipconfig_.get()); in TEST_F() 357 ASSERT_FALSE(device_->ipconfig_.get()); in TEST_F() 367 device_->ipconfig_ = new IPConfig(control_interface(), "randomname"); in TEST_F() 435 ASSERT_TRUE(device_->ipconfig_.get()); in TEST_F() 436 EXPECT_EQ(kDeviceName, device_->ipconfig_->device_name()); in TEST_F() 437 EXPECT_FALSE(device_->ipconfig_->update_callback_.is_null()); in TEST_F() 446 device_->ipconfig_ = new IPConfig(control_interface(), "randomname"); in TEST_F() [all …]
|
D | traffic_monitor_unittest.cc | 71 ipconfig_(new MockIPConfig(&control_, "netdev0")), in TrafficMonitorTest() 90 device_->set_ipconfig(ipconfig_); in SetUp() 92 EXPECT_CALL(*ipconfig_.get(), properties()) in SetUp() 137 scoped_refptr<MockIPConfig> ipconfig_; member in shill::TrafficMonitorTest
|
D | device.h | 244 virtual const IPConfigRefPtr& ipconfig() const { return ipconfig_; } in ipconfig() 247 void set_ipconfig(const IPConfigRefPtr& config) { ipconfig_ = config; } in set_ipconfig() 842 IPConfigRefPtr ipconfig_; variable
|
/system/connectivity/shill/dbus/ |
D | chromeos_ipconfig_dbus_adaptor.cc | 57 ipconfig_(config) { in ChromeosIPConfigDBusAdaptor() 65 ipconfig_ = nullptr; in ~ChromeosIPConfigDBusAdaptor() 101 return ChromeosDBusAdaptor::GetProperties(ipconfig_->store(), in GetProperties() 109 return ChromeosDBusAdaptor::SetProperty(ipconfig_->mutable_store(), in SetProperty() 118 return ChromeosDBusAdaptor::ClearProperty(ipconfig_->mutable_store(), in ClearProperty() 131 ipconfig_->Refresh(&e); in Refresh()
|
D | chromeos_ipconfig_dbus_adaptor.h | 73 IPConfig* ipconfig_;
|