Searched refs:ipAddress (Results 1 – 9 of 9) sorted by relevance
50 public LinkAddress ipAddress; field in StaticIpConfiguration63 ipAddress = source.ipAddress; in StaticIpConfiguration()71 ipAddress = null; in clear()83 if (ipAddress != null) { in getRoutes()84 routes.add(new RouteInfo(ipAddress, null, iface)); in getRoutes()101 if (ipAddress != null) { in toLinkProperties()102 lp.addLinkAddress(ipAddress); in toLinkProperties()117 if (ipAddress != null ) str.append(ipAddress).append(" "); in toString()134 result = 47 * result + (ipAddress == null ? 0 : ipAddress.hashCode()); in hashCode()150 Objects.equals(ipAddress, other.ipAddress) && in equals()[all …]
26 public int ipAddress; field in DhcpInfo42 ipAddress = source.ipAddress; in DhcpInfo()55 str.append("ipaddr "); putAddress(str, ipAddress); in toString()77 dest.writeInt(ipAddress); in writeToParcel()91 info.ipAddress = in.readInt();
155 ipAddress = new LinkAddress(addr, prefixLength); in setIpAddress()
243 InetAddress ipAddress = getInetAddress(jsonConfig.getString("ip")); in getWifiConfiguration() local245 staticIpConfig.ipAddress = new LinkAddress(ipAddress, prefixLength); in getWifiConfiguration()329 private static InetAddress getInetAddress(String ipAddress) { in getInetAddress() argument330 if (!InetAddress.isNumeric(ipAddress)) { in getInetAddress()332 String.format("IP address %s is not numeric", ipAddress)); in getInetAddress()336 return InetAddress.getByName(ipAddress); in getInetAddress()339 String.format("IP address %s could not be resolved", ipAddress)); in getInetAddress()
83 if (staticIpConfiguration.ipAddress != null) { in writeConfig()84 LinkAddress ipAddress = staticIpConfiguration.ipAddress; in writeConfig() local86 out.writeUTF(ipAddress.getAddress().getHostAddress()); in writeConfig()87 out.writeInt(ipAddress.getPrefixLength()); in writeConfig()212 staticIpConfiguration.ipAddress == null) { in readIpAndProxyConfigurations()213 staticIpConfiguration.ipAddress = linkAddr; in readIpAndProxyConfigurations()
227 if (staticConfig.ipAddress != null && in setStaticIpAddress()233 config.setLinkAddress(staticConfig.ipAddress); in setStaticIpAddress()
1098 if (dhcpResults.ipAddress != null && in getDhcpInfo()1099 dhcpResults.ipAddress.getAddress() instanceof Inet4Address) { in getDhcpInfo()1100 … info.ipAddress = NetworkUtils.inetAddressToInt((Inet4Address) dhcpResults.ipAddress.getAddress()); in getDhcpInfo()
4297 loge("link address " + dhcpResults.ipAddress); in handleIPv4Success()4304 Inet4Address addr = (Inet4Address) dhcpResults.ipAddress.getAddress(); in handleIPv4Success()4408 private String macAddressFromRoute(String ipAddress) { in macAddressFromRoute() argument4428 if (ipAddress.equals(ip)) { in macAddressFromRoute()4435 loge("Did not find remoteAddress {" + ipAddress + "} in " + in macAddressFromRoute()7004 if (config.ipAddress == null) { in enter()7009 ifcg.setLinkAddress(config.ipAddress); in enter()
16927 field public int ipAddress;