Home
last modified time | relevance | path

Searched refs:ipConfig (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java458 IpConfiguration ipConfig = parseStaticIpConfiguration(tokens[2]); in parseEthernetConfig() local
459 mIpConfigurations.put(name, ipConfig); in parseEthernetConfig()
572 StaticIpConfiguration ipConfig = new StaticIpConfiguration(); in parseStaticIpConfiguration() local
588 ipConfig.ipAddress = new LinkAddress(value); in parseStaticIpConfiguration()
591 ipConfig.domains = value; in parseStaticIpConfiguration()
594 ipConfig.gateway = InetAddress.parseNumericAddress(value); in parseStaticIpConfiguration()
601 ipConfig.dnsServers.addAll(dnsAddresses); in parseStaticIpConfiguration()
610 return new IpConfiguration(IpAssignment.STATIC, ProxySettings.NONE, ipConfig, null); in parseStaticIpConfiguration()
DEthernetNetworkFactory.java378 void setIpConfig(IpConfiguration ipConfig) { in setIpConfig() argument
379 if (Objects.equals(this.mIpConfig, ipConfig)) { in setIpConfig()
383 this.mIpConfig = ipConfig; in setIpConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigurationUtil.java539 private static boolean validateIpConfiguration(IpConfiguration ipConfig) { in validateIpConfiguration() argument
540 if (ipConfig == null) { in validateIpConfiguration()
544 if (ipConfig.getIpAssignment() == IpConfiguration.IpAssignment.STATIC) { in validateIpConfiguration()
545 StaticIpConfiguration staticIpConfig = ipConfig.getStaticIpConfiguration(); in validateIpConfiguration()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiConfigurationUtilTest.java476 IpConfiguration ipConfig = in testValidateNegativeCases_BadIpconfiguration() local
478 config.setIpConfiguration(ipConfig); in testValidateNegativeCases_BadIpconfiguration()
481 ipConfig.setStaticIpConfiguration(null); in testValidateNegativeCases_BadIpconfiguration()
482 config.setIpConfiguration(ipConfig); in testValidateNegativeCases_BadIpconfiguration()