Searched refs:hostAddress (Results 1 - 5 of 5) sorted by relevance

/frameworks/base/core/java/android/net/
H A DNetworkUtils.java129 * @param hostAddress an int corresponding to the IPv4 address in network byte order
131 public static InetAddress intToInetAddress(int hostAddress) { argument
132 byte[] addressBytes = { (byte)(0xff & hostAddress),
133 (byte)(0xff & (hostAddress >> 8)),
134 (byte)(0xff & (hostAddress >> 16)),
135 (byte)(0xff & (hostAddress >> 24)) };
H A DIConnectivityManager.aidl70 boolean requestRouteToHostAddress(int networkType, in byte[] hostAddress);
H A DConnectivityManager.java1665 * @param hostAddress the IP address of the host to which the route is desired
1676 public boolean requestRouteToHost(int networkType, int hostAddress) { argument
1677 return requestRouteToHostAddress(networkType, NetworkUtils.intToInetAddress(hostAddress));
1692 * @param hostAddress the IP address of the host to which the route is desired
1699 public boolean requestRouteToHostAddress(int networkType, InetAddress hostAddress) { argument
1702 return mService.requestRouteToHostAddress(networkType, hostAddress.getAddress());
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
H A DConnectivityServiceMock.java502 public boolean requestRouteToHostAddress(int networkType, byte[] hostAddress) { argument
/frameworks/base/services/core/java/com/android/server/
H A DConnectivityService.java1365 * @param hostAddress the IP address of the host to which the route is
1370 public boolean requestRouteToHostAddress(int networkType, byte[] hostAddress) { argument
1378 addr = InetAddress.getByAddress(hostAddress);

Completed in 248 milliseconds