Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/
DStaticIpConfiguration.java50 public LinkAddress ipAddress; field in StaticIpConfiguration
63 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 …]
DDhcpInfo.java26 public int ipAddress; field in DhcpInfo
42 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();
DDhcpResults.java155 ipAddress = new LinkAddress(addr, prefixLength); in setIpAddress()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DWifiConfigurationHelper.java243 InetAddress ipAddress = getInetAddress(jsonConfig.getString("ip")); in getWifiConfiguration() local
245 staticIpConfig.ipAddress = new LinkAddress(ipAddress, prefixLength); in getWifiConfiguration()
329 private static InetAddress getInetAddress(String ipAddress) { in getInetAddress() argument
330 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()
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java83 if (staticIpConfiguration.ipAddress != null) { in writeConfig()
84 LinkAddress ipAddress = staticIpConfiguration.ipAddress; in writeConfig() local
86 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()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java227 if (staticConfig.ipAddress != null && in setStaticIpAddress()
233 config.setLinkAddress(staticConfig.ipAddress); in setStaticIpAddress()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiServiceImpl.java1098 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()
DWifiStateMachine.java4297 loge("link address " + dhcpResults.ipAddress); in handleIPv4Success()
4304 Inet4Address addr = (Inet4Address) dhcpResults.ipAddress.getAddress(); in handleIPv4Success()
4408 private String macAddressFromRoute(String ipAddress) { in macAddressFromRoute() argument
4428 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()
/frameworks/base/api/
Dcurrent.txt16927 field public int ipAddress;