Home
last modified time | relevance | path

Searched refs:inetAddr (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/net/shared/
DInet4AddressUtils.java67 public static int inet4AddressToIntHTH(Inet4Address inetAddr) in inet4AddressToIntHTH() argument
69 byte [] addr = inetAddr.getAddress(); in inet4AddressToIntHTH()
82 public static int inet4AddressToIntHTL(Inet4Address inetAddr) { in inet4AddressToIntHTL() argument
83 return Integer.reverseBytes(inet4AddressToIntHTH(inetAddr)); in inet4AddressToIntHTL()
/frameworks/libs/net/common/framework/com/android/net/module/util/
DInet4AddressUtils.java67 public static int inet4AddressToIntHTH(Inet4Address inetAddr) in inet4AddressToIntHTH() argument
69 byte [] addr = inetAddr.getAddress(); in inet4AddressToIntHTH()
82 public static int inet4AddressToIntHTL(Inet4Address inetAddr) { in inet4AddressToIntHTL() argument
83 return Integer.reverseBytes(inet4AddressToIntHTH(inetAddr)); in inet4AddressToIntHTL()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTcpKeepaliveController.java294 private static byte [] getAddress(InetSocketAddress inetAddr) { in getAddress() argument
295 return inetAddr.getAddress().getAddress(); in getAddress()
298 private static int getPort(InetSocketAddress inetAddr) { in getPort() argument
299 return inetAddr.getPort(); in getPort()
/frameworks/base/core/java/android/net/
DNetworkUtils.java191 public static int inetAddressToInt(Inet4Address inetAddr) in inetAddressToInt() argument
193 return Inet4AddressUtils.inet4AddressToIntHTL(inetAddr); in inetAddressToInt()
/frameworks/base/services/core/java/com/android/server/net/
DIpConfigStore.java103 for (InetAddress inetAddr : staticIpConfiguration.dnsServers) { in writeConfig()
105 out.writeUTF(inetAddr.getHostAddress()); in writeConfig()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DXmlUtil.java797 for (InetAddress inetAddr : staticIpConfiguration.dnsServers) { in writeStaticIpConfigurationToXml()
798 dnsServers[dnsServerIdx++] = inetAddr.getHostAddress(); in writeStaticIpConfigurationToXml()