Home
last modified time | relevance | path

Searched refs:ipconfig (Results 1 – 25 of 29) sorted by relevance

12

/system/connectivity/shill/test-scripts/
Dset-address17 ipconfig = flim.GetObjectInterface("IPConfig", path) variable
18 ipconfig_properties = ipconfig.GetProperties(utf8_strings = True)
21 print "Skip %s; method %s" % (ipconfig.object_path,
25 ipconfig.SetProperty("Address", address)
Dlist-ipconfigs22 ipconfig = flim.GetObjectInterface("IPConfig", path) variable
23 ipconfig_properties = ipconfig.GetProperties(utf8_strings = True)
25 print "[ %s ]" % (ipconfig.object_path)
Dset-mtu17 ipconfig = flim.GetObjectInterface("IPConfig", path) variable
18 ipconfig.SetProperty("Mtu", int(mtu))
Dshow-introspection25 ipconfig = dbus.Interface( variable
28 print ipconfig.Introspect()
/system/connectivity/shill/
Dvirtual_device.cc77 if (!ipconfig()) { in UpdateIPConfig()
80 ipconfig()->set_properties(properties); in UpdateIPConfig()
81 OnIPConfigUpdated(ipconfig(), true); in UpdateIPConfig()
Ddevice.cc885 bool Device::IPConfigCompleted(const IPConfigRefPtr& ipconfig) { in IPConfigCompleted() argument
886 return ipconfig && !ipconfig->properties().address.empty() && in IPConfigCompleted()
887 !ipconfig->properties().dns_servers.empty(); in IPConfigCompleted()
901 void Device::SetupConnection(const IPConfigRefPtr& ipconfig) { in SetupConnection() argument
903 connection_->UpdateFromIPConfig(ipconfig); in SetupConnection()
933 SetHostname(ipconfig->properties().accepted_hostname); in SetupConnection()
955 void Device::PrependDNSServersIntoIPConfig(const IPConfigRefPtr& ipconfig) { in PrependDNSServersIntoIPConfig() argument
956 const auto& properties = ipconfig->properties(); in PrependDNSServersIntoIPConfig()
967 ipconfig->UpdateDNSServers(servers); in PrependDNSServersIntoIPConfig()
993 void Device::OnIPConfigUpdated(const IPConfigRefPtr& ipconfig, in OnIPConfigUpdated() argument
[all …]
Ddevice.h244 virtual const IPConfigRefPtr& ipconfig() const { return ipconfig_; } in ipconfig() function
493 virtual void OnIPConfigUpdated(const IPConfigRefPtr& ipconfig,
500 void OnIPConfigFailed(const IPConfigRefPtr& ipconfig);
504 void OnIPConfigRefreshed(const IPConfigRefPtr& ipconfig);
509 void OnIPConfigExpired(const IPConfigRefPtr& ipconfig);
517 void OnDHCPv6ConfigUpdated(const IPConfigRefPtr& ipconfig,
521 void OnDHCPv6ConfigFailed(const IPConfigRefPtr& ipconfig);
526 void OnDHCPv6ConfigExpired(const IPConfigRefPtr& ipconfig);
774 bool IPConfigCompleted(const IPConfigRefPtr& ipconfig);
778 void SetupConnection(const IPConfigRefPtr& ipconfig);
[all …]
Ddevice_unittest.cc202 void OnIPConfigUpdated(const IPConfigRefPtr& ipconfig) { in OnIPConfigUpdated() argument
203 device_->OnIPConfigUpdated(ipconfig, true); in OnIPConfigUpdated()
206 void OnIPConfigFailed(const IPConfigRefPtr& ipconfig) { in OnIPConfigFailed() argument
207 device_->OnIPConfigFailed(ipconfig); in OnIPConfigFailed()
210 void OnIPConfigExpired(const IPConfigRefPtr& ipconfig) { in OnIPConfigExpired() argument
211 device_->OnIPConfigExpired(ipconfig); in OnIPConfigExpired()
702 scoped_refptr<MockIPConfig> ipconfig = new MockIPConfig(control_interface(), in TEST_F() local
714 EXPECT_CALL(*ipconfig, ResetProperties()); in TEST_F()
715 OnIPConfigFailed(ipconfig.get()); in TEST_F()
724 scoped_refptr<MockIPConfig> ipconfig = new MockIPConfig(control_interface(), in TEST_F() local
[all …]
Dipconfig_unittest.cc81 void(const IPConfigRefPtr& ipconfig, bool new_lease_acquired));
82 MOCK_METHOD1(OnIPConfigFailed, void(const IPConfigRefPtr& ipconfig));
83 MOCK_METHOD1(OnIPConfigRefreshed, void(const IPConfigRefPtr& ipconfig));
84 MOCK_METHOD1(OnIPConfigExpired, void(const IPConfigRefPtr& ipconfig));
Dtraffic_monitor.cc90 string device_ip_address = device_->ipconfig()->properties().address; in BuildIPPortToTxQueueLength()
189 string device_ip_address = device_->ipconfig()->properties().address; in IsDnsFailing()
Dmock_routing_table.h44 const IPConfigRefPtr& ipconfig,
Drouting_table_unittest.cc504 IPConfigRefPtr ipconfig(new IPConfig(&control, kTestDeviceName0)); in TEST_F() local
508 ipconfig->UpdateProperties(properties, true); in TEST_F()
512 ipconfig, in TEST_F()
521 ipconfig->UpdateProperties(properties, true); in TEST_F()
545 ipconfig, in TEST_F()
557 ipconfig->UpdateProperties(properties, true); in TEST_F()
566 ipconfig, in TEST_F()
Drouting_table.h96 const IPConfigRefPtr& ipconfig,
Drouting_table.cc194 const IPConfigRefPtr& ipconfig, in ConfigureRoutes() argument
199 IPAddress::Family address_family = ipconfig->properties().address_family; in ConfigureRoutes()
200 const vector<IPConfig::Route>& routes = ipconfig->properties().routes; in ConfigureRoutes()
Dcontrol_interface.h98 IPConfig* ipconfig) = 0;
/system/connectivity/shill/cellular/
Dcellular_bearer.cc203 KeyValueStore ipconfig = in OnPropertiesChanged() local
205 GetIPConfigMethodAndProperties(ipconfig, in OnPropertiesChanged()
211 KeyValueStore ipconfig = in OnPropertiesChanged() local
213 GetIPConfigMethodAndProperties(ipconfig, in OnPropertiesChanged()
Dcellular_unittest.cc375 EXPECT_FALSE(device_->ipconfig()); // No DHCP client. in StartPPP()
1690 EXPECT_FALSE(device_->ipconfig()); in TEST_F()
2103 EXPECT_FALSE(device_->ipconfig()); // No DHCP client. in TEST_F()
2139 ASSERT_TRUE(device_->ipconfig()); in TEST_F()
2140 EXPECT_EQ(kAddressFamily, device_->ipconfig()->properties().address_family); in TEST_F()
2141 EXPECT_EQ(kAddress, device_->ipconfig()->properties().address); in TEST_F()
2142 EXPECT_EQ(kGateway, device_->ipconfig()->properties().gateway); in TEST_F()
2143 EXPECT_EQ(kSubnetPrefix, device_->ipconfig()->properties().subnet_prefix); in TEST_F()
2144 ASSERT_EQ(3, device_->ipconfig()->properties().dns_servers.size()); in TEST_F()
2145 EXPECT_EQ(kDNS[0], device_->ipconfig()->properties().dns_servers[0]); in TEST_F()
[all …]
/system/connectivity/shill/dbus/
Dchromeos_ipconfig_dbus_adaptor.h48 IPConfig* ipconfig);
Dchromeos_dbus_control.h41 IPConfigAdaptorInterface* CreateIPConfigAdaptor(IPConfig* ipconfig) override;
/system/connectivity/shill/binder/
Dbinder_control.h42 IPConfigAdaptorInterface* CreateIPConfigAdaptor(IPConfig* ipconfig) override;
/system/connectivity/shill/dhcp/
Ddhcpv6_config_unittest.cc253 void(const IPConfigRefPtr& ipconfig, bool new_lease_acquired));
254 MOCK_METHOD1(FailureCallback, void(const IPConfigRefPtr& ipconfig));
Ddhcp_config_unittest.cc196 void(const IPConfigRefPtr& ipconfig, bool new_lease_acquired));
197 MOCK_METHOD1(FailureCallback, void(const IPConfigRefPtr& ipconfig));
Ddhcpv4_config_unittest.cc517 void(const IPConfigRefPtr& ipconfig, bool new_lease_acquired));
518 MOCK_METHOD1(FailureCallback, void(const IPConfigRefPtr& ipconfig));
/system/connectivity/shill/wifi/
Dwifi.h578 void OnIPConfigUpdated(const IPConfigRefPtr& ipconfig,
Dwifi.cc1620 const IPConfigRefPtr& ip_config = ipconfig(); in StateChanged()
2919 void WiFi::OnIPConfigUpdated(const IPConfigRefPtr& ipconfig, in OnIPConfigUpdated() argument
2921 Device::OnIPConfigUpdated(ipconfig, new_lease_acquired); in OnIPConfigUpdated()

12