/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetTracker.java | 130 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()
|
D | EthernetNetworkFactory.java | 147 IpConfiguration ipConfiguration) { in addInterface() argument 159 iface.setIpConfig(ipConfiguration); in addInterface() 204 void updateIpConfiguration(String iface, IpConfiguration ipConfiguration) { in updateIpConfiguration() argument 207 network.setIpConfig(ipConfiguration); in updateIpConfiguration()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | XmlUtil.java | 747 public static void writeToXml(XmlSerializer out, IpConfiguration ipConfiguration) in writeToXml() argument 751 ipConfiguration.ipAssignment.toString()); in writeToXml() 752 switch (ipConfiguration.ipAssignment) { in writeToXml() 755 out, ipConfiguration.getStaticIpConfiguration()); in writeToXml() 764 ipConfiguration.proxySettings.toString()); in writeToXml() 765 switch (ipConfiguration.proxySettings) { in writeToXml() 769 ipConfiguration.httpProxy.getHost()); in writeToXml() 772 ipConfiguration.httpProxy.getPort()); in writeToXml() 775 ipConfiguration.httpProxy.getExclusionListAsString()); in writeToXml() 780 ipConfiguration.httpProxy.getPacFileUrl().toString()); in writeToXml() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiBackupDataV1Parser.java | 184 IpConfiguration ipConfiguration = parseIpConfigurationFromXml(in, configTagDepth, in parseNetworkConfigurationFromXml() local 186 configuration.setIpConfiguration(ipConfiguration); in parseNetworkConfigurationFromXml() 486 IpConfiguration ipConfiguration = new IpConfiguration(); in parseIpConfigurationFromXml() local 491 ipConfiguration.setIpAssignment(ipAssignment); in parseIpConfigurationFromXml() 521 ipConfiguration.setStaticIpConfiguration(staticIpConfiguration); in parseIpConfigurationFromXml() 536 ipConfiguration.setProxySettings(proxySettings); in parseIpConfigurationFromXml() 551 ipConfiguration.setHttpProxy( in parseIpConfigurationFromXml() 559 ipConfiguration.setHttpProxy(new ProxyInfo(proxyPacFile)); in parseIpConfigurationFromXml() 569 return ipConfiguration; in parseIpConfigurationFromXml()
|
D | NetworkListStoreData.java | 212 IpConfiguration ipConfiguration = null; in parseNetwork() local 233 if (ipConfiguration != null) { in parseNetwork() 237 ipConfiguration = IpConfigurationXmlUtil.parseFromXml(in, outerTagDepth + 1); in parseNetwork() 279 configuration.setIpConfiguration(ipConfiguration); in parseNetwork()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiBackupRestoreTest.java | 353 IpConfiguration ipConfiguration = new IpConfiguration(); in createNetworkForConfigurationWithUnsupportedTag() local 354 ipConfiguration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in createNetworkForConfigurationWithUnsupportedTag() 355 ipConfiguration.setProxySettings(IpConfiguration.ProxySettings.NONE); in createNetworkForConfigurationWithUnsupportedTag() 356 config.setIpConfiguration(ipConfiguration); in createNetworkForConfigurationWithUnsupportedTag() 406 IpConfiguration ipConfiguration = new IpConfiguration(); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore() local 407 ipConfiguration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore() 408 ipConfiguration.setProxySettings(IpConfiguration.ProxySettings.NONE); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore() 409 config.setIpConfiguration(ipConfiguration); in createNetworkForConfigurationWithUnsupportedValuesInBitsetsInRestore() 984 IpConfiguration ipConfiguration = new IpConfiguration(); in createNetworkForConfigurationWithV1_0Data() local 985 ipConfiguration.setIpAssignment(IpConfiguration.IpAssignment.DHCP); in createNetworkForConfigurationWithV1_0Data() [all …]
|
D | WifiConfigManagerTest.java | 4561 IpConfiguration ipConfiguration, in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions() argument 4565 false, withProfileOwnerPolicy, withDeviceOwnerPolicy, ipConfiguration, in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions() 4574 IpConfiguration ipConfiguration, in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions() argument 4583 network.setIpConfiguration(ipConfiguration); in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions() 4692 WifiConfiguration configuration, IpConfiguration ipConfiguration) { in assertAndSetNetworkIpConfiguration() argument 4693 assertNotEquals(ipConfiguration, configuration.getIpConfiguration()); in assertAndSetNetworkIpConfiguration() 4694 configuration.setIpConfiguration(ipConfiguration); in assertAndSetNetworkIpConfiguration()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConfiguration.java | 2250 public void setIpConfiguration(IpConfiguration ipConfiguration) { in setIpConfiguration() argument 2251 if (ipConfiguration == null) ipConfiguration = new IpConfiguration(); in setIpConfiguration() 2252 mIpConfiguration = ipConfiguration; in setIpConfiguration()
|