Home
last modified time | relevance | path

Searched refs:ipConfiguration (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java130 void updateIpConfiguration(String iface, IpConfiguration ipConfiguration) { in updateIpConfiguration() argument
132 Log.i(TAG, "updateIpConfiguration, iface: " + iface + ", cfg: " + ipConfiguration); in updateIpConfiguration()
135 mConfigStore.write(iface, ipConfiguration); in updateIpConfiguration()
136 mIpConfigurations.put(iface, ipConfiguration); in updateIpConfiguration()
138 mHandler.post(() -> mFactory.updateIpConfiguration(iface, ipConfiguration)); in updateIpConfiguration()
201 IpConfiguration ipConfiguration = mIpConfigurations.get(iface); in addInterface() local
202 if (ipConfiguration == null) { in addInterface()
203 ipConfiguration = createDefaultIpConfiguration(); in addInterface()
207 mFactory.addInterface(iface, hwAddress, nc, ipConfiguration); in addInterface()
DEthernetNetworkFactory.java125 IpConfiguration ipConfiguration) { in addInterface() argument
137 iface.setIpConfig(ipConfiguration); in addInterface()
182 void updateIpConfiguration(String iface, IpConfiguration ipConfiguration) { in updateIpConfiguration() argument
185 network.setIpConfig(ipConfiguration); in updateIpConfiguration()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java717 public static void writeToXml(XmlSerializer out, IpConfiguration ipConfiguration) in writeToXml() argument
721 ipConfiguration.ipAssignment.toString()); in writeToXml()
722 switch (ipConfiguration.ipAssignment) { in writeToXml()
725 out, ipConfiguration.getStaticIpConfiguration()); in writeToXml()
734 ipConfiguration.proxySettings.toString()); in writeToXml()
735 switch (ipConfiguration.proxySettings) { in writeToXml()
739 ipConfiguration.httpProxy.getHost()); in writeToXml()
742 ipConfiguration.httpProxy.getPort()); in writeToXml()
745 ipConfiguration.httpProxy.getExclusionListAsString()); in writeToXml()
750 ipConfiguration.httpProxy.getPacFileUrl().toString()); in writeToXml()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java178 IpConfiguration ipConfiguration = parseIpConfigurationFromXml(in, configTagDepth, in parseNetworkConfigurationFromXml() local
180 configuration.setIpConfiguration(ipConfiguration); in parseNetworkConfigurationFromXml()
480 IpConfiguration ipConfiguration = new IpConfiguration(); in parseIpConfigurationFromXml() local
485 ipConfiguration.setIpAssignment(ipAssignment); in parseIpConfigurationFromXml()
515 ipConfiguration.setStaticIpConfiguration(staticIpConfiguration); in parseIpConfigurationFromXml()
530 ipConfiguration.setProxySettings(proxySettings); in parseIpConfigurationFromXml()
545 ipConfiguration.setHttpProxy( in parseIpConfigurationFromXml()
553 ipConfiguration.setHttpProxy(new ProxyInfo(proxyPacFile)); in parseIpConfigurationFromXml()
563 return ipConfiguration; in parseIpConfigurationFromXml()
DNetworkListStoreData.java244 IpConfiguration ipConfiguration = null; in parseNetwork() local
265 if (ipConfiguration != null) { in parseNetwork()
269 ipConfiguration = IpConfigurationXmlUtil.parseFromXml(in, outerTagDepth + 1); in parseNetwork()
311 configuration.setIpConfiguration(ipConfiguration); in parseNetwork()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java290 IpConfiguration ipConfiguration = new IpConfiguration(); in createNetworkForConfigurationWithUnsupportedTag() local
291 ipConfiguration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in createNetworkForConfigurationWithUnsupportedTag()
292 ipConfiguration.setProxySettings(IpConfiguration.ProxySettings.NONE); in createNetworkForConfigurationWithUnsupportedTag()
293 config.setIpConfiguration(ipConfiguration); in createNetworkForConfigurationWithUnsupportedTag()
343 IpConfiguration ipConfiguration = new IpConfiguration(); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore() local
344 ipConfiguration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
345 ipConfiguration.setProxySettings(IpConfiguration.ProxySettings.NONE); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
346 config.setIpConfiguration(ipConfiguration); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore()
DWifiConfigManagerTest.java3570 IpConfiguration ipConfiguration, in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions() argument
3579 network.setIpConfiguration(ipConfiguration); in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
3689 WifiConfiguration configuration, IpConfiguration ipConfiguration) { in assertAndSetNetworkIpConfiguration() argument
3690 assertNotEquals(ipConfiguration, configuration.getIpConfiguration()); in assertAndSetNetworkIpConfiguration()
3691 configuration.setIpConfiguration(ipConfiguration); in assertAndSetNetworkIpConfiguration()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java1910 public void setIpConfiguration(IpConfiguration ipConfiguration) { in setIpConfiguration() argument
1911 if (ipConfiguration == null) ipConfiguration = new IpConfiguration(); in setIpConfiguration()
1912 mIpConfiguration = ipConfiguration; in setIpConfiguration()