Searched refs:ipConfig (Results 1 – 4 of 4) sorted by relevance
458 IpConfiguration ipConfig = parseStaticIpConfiguration(tokens[2]); in parseEthernetConfig() local459 mIpConfigurations.put(name, ipConfig); in parseEthernetConfig()572 StaticIpConfiguration ipConfig = new StaticIpConfiguration(); in parseStaticIpConfiguration() local588 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()
378 void setIpConfig(IpConfiguration ipConfig) { in setIpConfig() argument379 if (Objects.equals(this.mIpConfig, ipConfig)) { in setIpConfig()383 this.mIpConfig = ipConfig; in setIpConfig()
539 private static boolean validateIpConfiguration(IpConfiguration ipConfig) { in validateIpConfiguration() argument540 if (ipConfig == null) { in validateIpConfiguration()544 if (ipConfig.getIpAssignment() == IpConfiguration.IpAssignment.STATIC) { in validateIpConfiguration()545 StaticIpConfiguration staticIpConfig = ipConfig.getStaticIpConfiguration(); in validateIpConfiguration()
476 IpConfiguration ipConfig = in testValidateNegativeCases_BadIpconfiguration() local478 config.setIpConfiguration(ipConfig); in testValidateNegativeCases_BadIpconfiguration()481 ipConfig.setStaticIpConfiguration(null); in testValidateNegativeCases_BadIpconfiguration()482 config.setIpConfiguration(ipConfig); in testValidateNegativeCases_BadIpconfiguration()