Home
last modified time | relevance | path

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

/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java152 IpConfiguration ipConfiguration = config.getIpConfiguration(); in createGenericConfig() local
153 ipConfiguration.setIpAssignment(IpAssignment.DHCP); in createGenericConfig()
154 ipConfiguration.setProxySettings(ProxySettings.NONE); in createGenericConfig()
155 config.setIpConfiguration(ipConfiguration); in createGenericConfig()
245 IpConfiguration ipConfiguration = config.getIpConfiguration(); in getWifiConfiguration() local
256 ipConfiguration.setIpAssignment(IpAssignment.STATIC); in getWifiConfiguration()
257 ipConfiguration.setStaticIpConfiguration(staticIpConfig); in getWifiConfiguration()
259 ipConfiguration.setIpAssignment(IpAssignment.DHCP); in getWifiConfiguration()
261 ipConfiguration.setProxySettings(ProxySettings.NONE); in getWifiConfiguration()
262 config.setIpConfiguration(ipConfiguration); in getWifiConfiguration()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiBackupDataV1Parser.java185 IpConfiguration ipConfiguration = parseIpConfigurationFromXml(in, configTagDepth, in parseNetworkConfigurationFromXml() local
187 configuration.setIpConfiguration(ipConfiguration); in parseNetworkConfigurationFromXml()
487 IpConfiguration ipConfiguration = new IpConfiguration(); in parseIpConfigurationFromXml() local
492 ipConfiguration.setIpAssignment(ipAssignment); in parseIpConfigurationFromXml()
522 ipConfiguration.setStaticIpConfiguration(staticIpConfiguration); in parseIpConfigurationFromXml()
537 ipConfiguration.setProxySettings(proxySettings); in parseIpConfigurationFromXml()
552 ipConfiguration.setHttpProxy( in parseIpConfigurationFromXml()
560 ipConfiguration.setHttpProxy( in parseIpConfigurationFromXml()
571 return ipConfiguration; in parseIpConfigurationFromXml()
DNetworkListStoreData.java233 IpConfiguration ipConfiguration = null; in parseNetwork() local
256 if (ipConfiguration != null) { in parseNetwork()
260 ipConfiguration = IpConfigurationXmlUtil.parseFromXml(in, outerTagDepth + 1); in parseNetwork()
304 configuration.setIpConfiguration(ipConfiguration); in parseNetwork()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java815 public static void writeToXml(XmlSerializer out, IpConfiguration ipConfiguration) in writeToXml() argument
819 ipConfiguration.ipAssignment.toString()); in writeToXml()
820 switch (ipConfiguration.ipAssignment) { in writeToXml()
823 out, ipConfiguration.getStaticIpConfiguration()); in writeToXml()
832 ipConfiguration.proxySettings.toString()); in writeToXml()
833 switch (ipConfiguration.proxySettings) { in writeToXml()
837 ipConfiguration.httpProxy.getHost()); in writeToXml()
840 ipConfiguration.httpProxy.getPort()); in writeToXml()
843 ipConfiguration.httpProxy.getExclusionListAsString()); in writeToXml()
848 ipConfiguration.httpProxy.getPacFileUrl().toString()); in writeToXml()
[all …]
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java157 void updateIpConfiguration(String iface, IpConfiguration ipConfiguration) { in updateIpConfiguration() argument
159 Log.i(TAG, "updateIpConfiguration, iface: " + iface + ", cfg: " + ipConfiguration); in updateIpConfiguration()
162 mConfigStore.write(iface, ipConfiguration); in updateIpConfiguration()
163 mIpConfigurations.put(iface, ipConfiguration); in updateIpConfiguration()
165 mHandler.post(() -> mFactory.updateIpConfiguration(iface, ipConfiguration)); in updateIpConfiguration()
310 IpConfiguration ipConfiguration = mIpConfigurations.get(iface); in addInterface() local
311 if (ipConfiguration == null) { in addInterface()
312 ipConfiguration = createDefaultIpConfiguration(); in addInterface()
316 mFactory.addInterface(iface, hwAddress, nc, ipConfiguration); in addInterface()
DEthernetNetworkFactory.java146 IpConfiguration ipConfiguration) { in addInterface() argument
158 iface.setIpConfig(ipConfiguration); in addInterface()
203 void updateIpConfiguration(String iface, IpConfiguration ipConfiguration) { in updateIpConfiguration() argument
206 network.setIpConfig(ipConfiguration); in updateIpConfiguration()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiBackupRestoreTest.java353 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 …]
DWifiConfigManagerTest.java4614 IpConfiguration ipConfiguration, in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions() argument
4618 false, withProfileOwnerPolicy, withDeviceOwnerPolicy, ipConfiguration, in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
4627 IpConfiguration ipConfiguration, in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions() argument
4636 network.setIpConfiguration(ipConfiguration); in verifyAddOrUpdateNetworkWithProxySettingsAndPermissions()
4745 WifiConfiguration configuration, IpConfiguration ipConfiguration) { in assertAndSetNetworkIpConfiguration() argument
4746 assertNotEquals(ipConfiguration, configuration.getIpConfiguration()); in assertAndSetNetworkIpConfiguration()
4747 configuration.setIpConfiguration(ipConfiguration); in assertAndSetNetworkIpConfiguration()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConfiguration.java2251 public void setIpConfiguration(IpConfiguration ipConfiguration) { in setIpConfiguration() argument
2252 if (ipConfiguration == null) ipConfiguration = new IpConfiguration(); in setIpConfiguration()
2253 mIpConfiguration = ipConfiguration; in setIpConfiguration()