/system/connectivity/shill/test-scripts/ |
set-address | 17 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)
|
set-mtu | 17 ipconfig = flim.GetObjectInterface("IPConfig", path) variable 18 ipconfig.SetProperty("Mtu", int(mtu))
|
list-ipconfigs | 22 ipconfig = flim.GetObjectInterface("IPConfig", path) variable 23 ipconfig_properties = ipconfig.GetProperties(utf8_strings = True) 25 print "[ %s ]" % (ipconfig.object_path)
|
show-introspection | 25 ipconfig = dbus.Interface( variable 28 print ipconfig.Introspect()
|
/external/autotest/client/site_tests/network_DhcpFailureWithStaticIP/ |
network_DhcpFailureWithStaticIP.py | 17 immediately applied to the ipconfig. 26 def check_static_ip_config(self, ipconfig, static_ip_address, name_servers): 28 interface ipconfig. 30 @param ipconfig object representing the DBus IPConfig entity to check. 37 ipconfig.GetProperties(utf8_strings=True)) 39 logging.info('IPConfig properties are %r', ipconfig_properties) 52 """Returns the first IPConfig object associated with the peer device.""" 57 raise error.TestFail('Failed to retrieve DHCP ipconfig object ' 75 ipconfig = self.get_ipconfig( [all...] |
/system/connectivity/shill/ |
virtual_device.cc | 75 void VirtualDevice::UpdateIPConfig(const IPConfig::Properties& properties) { 77 if (!ipconfig()) { 78 set_ipconfig(new IPConfig(control_interface(), link_name())); 80 ipconfig()->set_properties(properties); 81 OnIPConfigUpdated(ipconfig(), true);
|
device.h | 37 #include "shill/ipconfig.h" 244 virtual const IPConfigRefPtr& ipconfig() const { return ipconfig_; } function in class:shill::Device 490 void AssignIPConfig(const IPConfig::Properties& properties); 493 virtual void OnIPConfigUpdated(const IPConfigRefPtr& ipconfig, 500 void OnIPConfigFailed(const IPConfigRefPtr& ipconfig); 502 // Callback invoked when "Refresh" is invoked on an IPConfig. This usually 504 void OnIPConfigRefreshed(const IPConfigRefPtr& ipconfig); 506 // Callback invoked when an IPConfig restarts due to lease expiry. This 509 void OnIPConfigExpired(const IPConfigRefPtr& ipconfig); 517 void OnDHCPv6ConfigUpdated(const IPConfigRefPtr& ipconfig, [all...] |
device.cc | 532 ipconfig_->ReleaseIP(IPConfig::kReleaseReasonDisconnect); 542 dhcpv6_config_->ReleaseIP(IPConfig::kReleaseReasonDisconnect); 564 IPConfig::Properties properties; 572 ip6config_ = new IPConfig(control_interface_, link_name_); 617 ip6config_ = new IPConfig(control_interface_, link_name_); 762 if (minimum_mtu != IPConfig::kUndefinedMTU) { 809 void Device::AssignIPConfig(const IPConfig::Properties& properties) { 812 ipconfig_ = new IPConfig(control_interface_, link_name_); 864 << " ipconfig " << ipconfig_.get(); 885 bool Device::IPConfigCompleted(const IPConfigRefPtr& ipconfig) { [all...] |
mock_routing_table.h | 44 const IPConfigRefPtr& ipconfig,
|
device_unittest.cc | 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); 280 IPConfig::Properties properties; 343 device_->ipconfig_ = new IPConfig(control_interface(), kDeviceName); 344 device_->ip6config_ = new IPConfig(control_interface(), kDeviceName); 345 device_->dhcpv6_config_ = new IPConfig(control_interface(), kDeviceName) 702 scoped_refptr<MockIPConfig> ipconfig = new MockIPConfig(control_interface(), local 724 scoped_refptr<MockIPConfig> ipconfig = new MockIPConfig(control_interface(), local 756 scoped_refptr<MockIPConfig> ipconfig = new MockIPConfig(control_interface(), local 779 scoped_refptr<MockIPConfig> ipconfig = new MockIPConfig(control_interface(), local 805 scoped_refptr<MockIPConfig> ipconfig = new MockIPConfig(control_interface(), local 834 scoped_refptr<MockIPConfig> ipconfig = new MockIPConfig(control_interface(), local 841 scoped_refptr<MockIPConfig> ipconfig = local 1031 scoped_refptr<MockIPConfig> ipconfig = local 1692 scoped_refptr<IPConfig> ipconfig = local 1739 scoped_refptr<IPConfig> ipconfig = local 2416 scoped_refptr<MockIPConfig> ipconfig = local 2486 scoped_refptr<MockIPConfig> ipconfig = local [all...] |
traffic_monitor.cc | 90 string device_ip_address = device_->ipconfig()->properties().address; 189 string device_ip_address = device_->ipconfig()->properties().address;
|
ipconfig_unittest.cc | 17 #include "shill/ipconfig.h" 61 IPConfigTest() : ipconfig_(new IPConfig(&control_, kDeviceName)) { 75 void DropRef(const IPConfigRefPtr & /*ipconfig*/, 81 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)); 91 void UpdateProperties(const IPConfig::Properties& properties) { 103 void ExpectPropertiesEqual(const IPConfig::Properties& properties) { 150 EXPECT_FALSE(ipconfig_->ReleaseIP(IPConfig::kReleaseReasonDisconnect)) [all...] |
routing_table.h | 93 // Configure routing table entries from the "routes" portion of |ipconfig|. 96 const IPConfigRefPtr& ipconfig,
|
routing_table_unittest.cc | 33 #include "shill/ipconfig.h" 504 IPConfigRefPtr ipconfig(new IPConfig(&control, kTestDeviceName0)); 505 IPConfig::Properties properties; 507 vector<IPConfig::Route>& routes = properties.routes; 508 ipconfig->UpdateProperties(properties, true); 512 ipconfig, 516 IPConfig::Route route; 521 ipconfig->UpdateProperties(properties, true); 545 ipconfig, [all...] |
/system/connectivity/shill/cellular/ |
cellular_bearer.cc | 47 IPConfig::Method ConvertMMBearerIPConfigMethod(uint32_t method) { 50 return IPConfig::kMethodPPP; 52 return IPConfig::kMethodStatic; 54 return IPConfig::kMethodDHCP; 56 return IPConfig::kMethodUnknown; 69 ipv4_config_method_(IPConfig::kMethodUnknown), 70 ipv6_config_method_(IPConfig::kMethodUnknown) { 99 IPConfig::Method* ipconfig_method, 100 std::unique_ptr<IPConfig::Properties>* ipconfig_properties) const { 115 if (*ipconfig_method != IPConfig::kMethodStatic 203 KeyValueStore ipconfig = local 211 KeyValueStore ipconfig = local [all...] |
/external/autotest/client/site_tests/network_DhcpWpadNegotiation/ |
network_DhcpWpadNegotiation.py | 22 """Check that the ipconfig in the client shows the the proxy config. 35 ipconfig = proxy.get_dbus_object('org.chromium.flimflam.IPConfig', 37 ipconfig_properties = ipconfig.GetProperties(utf8_strings=True)
|
/external/autotest/client/site_tests/network_DhcpBrokenDefaultGateway/ |
network_DhcpBrokenDefaultGateway.py | 23 """Check that the ipconfig in the client shows the gateway IP. 35 ipconfig = proxy.get_dbus_object('org.chromium.flimflam.IPConfig', 37 ipconfig_properties = ipconfig.GetProperties(utf8_strings=True)
|
/external/autotest/client/site_tests/network_DhcpMTU/ |
network_DhcpMTU.py | 24 """Check that the ipconfig and interface in the client has correct MTU. 37 ipconfig = proxy.get_dbus_object('org.chromium.flimflam.IPConfig', 39 ipconfig_properties = ipconfig.GetProperties(utf8_strings=True)
|
/external/autotest/client/site_tests/network_DhcpVendorEncapsulatedOptions/ |
network_DhcpVendorEncapsulatedOptions.py | 22 """Check that the ipconfig in the client shows the the vendor options. 35 ipconfig = proxy.get_dbus_object('org.chromium.flimflam.IPConfig', 37 ipconfig_properties = ipconfig.GetProperties(utf8_strings=True)
|
/system/connectivity/shill/dbus/ |
chromeos_ipconfig_dbus_adaptor.h | 25 #include "dbus_bindings/org.chromium.flimflam.IPConfig.h" 31 class IPConfig; 33 // Subclass of DBusAdaptor for IPConfig objects 34 // There is a 1:1 mapping between IPConfig and ChromeosIPConfigDBusAdaptor 35 // instances. Furthermore, the IPConfig owns the ChromeosIPConfigDBusAdaptor 37 // having a bare pointer to its owner ipconfig. 48 IPConfig* ipconfig); 73 IPConfig* ipconfig_;
|
/external/autotest/client/site_tests/network_Ipv6SimpleNegotiation/ |
network_Ipv6SimpleNegotiation.py | 68 for ipconfig in self.get_interface_ipconfig_objects( 71 ipconfig.GetProperties(utf8_strings=True)) 80 raise error.TestError('Found no IPv6 IPConfig entries') 133 """Verify that shill has an IPConfig entry with the specified address. 144 raise error.TestError('IPv6 IPConfig entry does not ' 147 raise error.TestError('IPv6 IPConfig property %s does not ' 155 """Verify that shill has an IPConfig entry with the specified name
|
/system/connectivity/shill/binder/ |
binder_control.h | 42 IPConfigAdaptorInterface* CreateIPConfigAdaptor(IPConfig* ipconfig) override;
|
/external/autotest/client/cros/ |
dhcpv6_test_base.py | 31 # After DHCPv6 completes, an ipconfig should appear shortly after 72 @return list of objects representing DBus IPConfig RPC endpoints. 96 @return dict containing the the properties of the IPConfig stripped 101 for ipconfig in self.get_interface_ipconfig_objects(interface_name): 102 logging.info('Looking at ipconfig %r', ipconfig) 103 ipconfig_properties = ipconfig.GetProperties(utf8_strings=True) 105 logging.info('Found ipconfig object with no method field') 108 logging.info('Found ipconfig object with method != dhcp6') 111 raise error.TestFail('Found multiple ipconfig objects [all...] |
dhcp_test_base.py | 42 # After DHCP completes, an ipconfig should appear shortly after 108 @return list of objects representing DBus IPConfig RPC endpoints. 132 @return dict containing the the properties of the IPConfig stripped 137 for ipconfig in self.get_interface_ipconfig_objects(interface_name): 138 logging.info('Looking at ipconfig %r', ipconfig) 139 ipconfig_properties = ipconfig.GetProperties(utf8_strings=True) 141 logging.info('Found ipconfig object with no method field') 144 logging.info('Found ipconfig object with method != dhcp') 147 raise error.TestFail('Found multiple ipconfig objects [all...] |
network.py | 179 ipconfig = conn_mgr.GetObjectInterface('IPConfig', path) 180 ipconfig_properties = ipconfig.GetProperties(utf8_strings=True)
|