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

/frameworks/base/core/java/android/net/
H A DNetworkUtils.java130 * @param hostAddress an int corresponding to the IPv4 address in network byte order
132 public static InetAddress intToInetAddress(int hostAddress) { argument
133 byte[] addressBytes = { (byte)(0xff & hostAddress),
134 (byte)(0xff & (hostAddress >> 8)),
135 (byte)(0xff & (hostAddress >> 16)),
136 (byte)(0xff & (hostAddress >> 24)) };
H A DIConnectivityManager.aidl70 boolean requestRouteToHostAddress(int networkType, in byte[] hostAddress);
H A DConnectivityManager.java1772 * @param hostAddress the IP address of the host to which the route is desired
1783 public boolean requestRouteToHost(int networkType, int hostAddress) { argument
1784 return requestRouteToHostAddress(networkType, NetworkUtils.intToInetAddress(hostAddress));
1799 * @param hostAddress the IP address of the host to which the route is desired
1806 public boolean requestRouteToHostAddress(int networkType, InetAddress hostAddress) { argument
1809 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.java1496 * @param hostAddress the IP address of the host to which the route is
1501 public boolean requestRouteToHostAddress(int networkType, byte[] hostAddress) { argument
1509 addr = InetAddress.getByAddress(hostAddress);

Completed in 138 milliseconds