/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/ |
D | Inet4AddressUtils.java | 37 public static Inet4Address intToInet4AddressHTL(int hostAddress) { in intToInet4AddressHTL() argument 38 return intToInet4AddressHTH(Integer.reverseBytes(hostAddress)); in intToInet4AddressHTL() 45 public static Inet4Address intToInet4AddressHTH(int hostAddress) { in intToInet4AddressHTH() argument 46 byte[] addressBytes = { (byte) (0xff & (hostAddress >> 24)), in intToInet4AddressHTH() 47 (byte) (0xff & (hostAddress >> 16)), in intToInet4AddressHTH() 48 (byte) (0xff & (hostAddress >> 8)), in intToInet4AddressHTH() 49 (byte) (0xff & hostAddress) }; in intToInet4AddressHTH()
|
/packages/modules/Connectivity/tests/common/java/android/net/ |
D | TcpKeepalivePacketDataTest.kt | 85 assertTrue(str.contains(data.srcAddress.hostAddress)) in <lambda>() 87 assertTrue(str.contains(data.dstAddress.hostAddress)) in <lambda>()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | NetworkUtils.java | 184 public static InetAddress intToInetAddress(int hostAddress) { in intToInetAddress() argument 185 return Inet4AddressUtils.intToInet4AddressHTL(hostAddress); in intToInetAddress()
|
D | IConnectivityManager.aidl | 97 boolean requestRouteToHostAddress(int networkType, in byte[] hostAddress, in requestRouteToHostAddress() argument
|
D | ConnectivityManager.java | 2750 public boolean requestRouteToHost(int networkType, int hostAddress) { in requestRouteToHost() argument 2751 return requestRouteToHostAddress(networkType, NetworkUtils.intToInetAddress(hostAddress)); in requestRouteToHost() 2775 public boolean requestRouteToHostAddress(int networkType, InetAddress hostAddress) { in requestRouteToHostAddress() argument 2778 return mService.requestRouteToHostAddress(networkType, hostAddress.getAddress(), in requestRouteToHostAddress()
|
/packages/modules/Virtualization/android/TerminalApp/java/com/android/virtualization/terminal/ |
D | VmLauncherService.kt | 261 val ipAddress = info.hostAddresses[0].hostAddress in <lambda>() 421 if (remoteAddr?.address?.hostAddress == ipAddress) { in <lambda>()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | ImsConference.java | 892 Uri hostAddress = mTelecomAccountRegistry.getAddress(mConferenceHostPhoneAccountHandle); in setConferenceHost() local 897 if (hostAddress != null) { in setConferenceHost() 898 hostAddresses.add(hostAddress); in setConferenceHost()
|
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/ |
D | NetworkStatsIntegrationTest.kt | 136 LOCAL_V6ADDR.address.hostAddress, in <lambda>()
|
/packages/modules/Connectivity/thread/tests/utils/src/android/net/thread/utils/ |
D | IntegrationTestUtils.kt | 459 if (line.contains(address.hostAddress!!)) { in <lambda>()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ClientModeImplTest.java | 9454 String hostAddress = "127.0.0.1"; in testNetworkValidationUpdatesLinkedNetworks() local 9462 when(gatewayAddress.getHostAddress()).thenReturn(hostAddress); in testNetworkValidationUpdatesLinkedNetworks() 9465 .add(hostAddress) in testNetworkValidationUpdatesLinkedNetworks() 9523 String hostAddress = "127.0.0.1"; in testNonPskNetworkDoesNotUpdateLinkedNetworks() local 9531 when(gatewayAddress.getHostAddress()).thenReturn(hostAddress); in testNonPskNetworkDoesNotUpdateLinkedNetworks() 9534 .add(hostAddress) in testNonPskNetworkDoesNotUpdateLinkedNetworks() 9576 String hostAddress = "127.0.0.1"; in testInvalidScanResultDoesNotUpdateLinkedNetworks() local 9584 when(gatewayAddress.getHostAddress()).thenReturn(hostAddress); in testInvalidScanResultDoesNotUpdateLinkedNetworks() 9587 .add(hostAddress) in testInvalidScanResultDoesNotUpdateLinkedNetworks() 9656 String hostAddress = "127.0.0.1"; in testLinkedNetworksFiltersOutAutojoinDisabledNetworks() local [all …]
|
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | NsdManagerTest.kt | 968 for (hostAddress in hostAddresses) { in <lambda>() constant 969 assertTrue(addresses.contains(hostAddress)) in <lambda>()
|
D | ConnectivityManagerTest.java | 1017 private void assertRequestRouteToHostUnsupported(int networkType, int hostAddress) { in assertRequestRouteToHostUnsupported() argument 1019 mCm.requestRouteToHost(networkType, hostAddress); in assertRequestRouteToHostUnsupported()
|
/packages/modules/Connectivity/service/src/com/android/server/ |
D | ConnectivityService.java | 3308 public boolean requestRouteToHostAddress(int networkType, byte[] hostAddress, 3322 addr = InetAddress.getByAddress(hostAddress);
|