Searched refs:localAddress (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/ |
D | ListeningPortsTest.java | 153 String addrPort = entry.localAddress.getHostAddress() + ':' + entry.port; in testNoAccessibleListeningPorts() 154 String addrUid = entry.localAddress.getHostAddress() + ' ' + entry.uid; in testNoAccessibleListeningPorts() 161 && (!entry.localAddress.isLoopbackAddress() ^ loopback)) { in testNoAccessibleListeningPorts() 162 if (isTcp && !isTcpConnectable(entry.localAddress, entry.port)) { in testNoAccessibleListeningPorts() 172 + entry.localAddress.getHostAddress() + ", port=" in testNoAccessibleListeningPorts() 225 private static boolean isException(String localAddress) { in isException() argument 226 return isPatternMatch(EXCEPTION_PATTERNS, localAddress); in isException() 229 private static boolean isUserDebugException(String localAddress) { in isUserDebugException() argument 233 return isPatternMatch(USERDEBUG_EXCEPTION_PATTERNS, localAddress); in isUserDebugException() 236 private static boolean isOemException(String localAddress) { in isOemException() argument [all …]
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | ImsExternalCallStateTest.java | 38 Uri localAddress = Uri.fromParts("tel", "5551213", null); in parcelUnparcel() local 43 ImsExternalCallState testState = new ImsExternalCallState(callId, address, localAddress, in parcelUnparcel() 56 assertEquals(localAddress, unparceledInfo.getLocalAddress()); in parcelUnparcel()
|
/cts/tests/netlegacy22.api/src/android/net/cts/legacy/api22/ |
D | ConnectivityManagerLegacyTest.java | 135 InetAddress localAddress = d.getLocalAddress(); in checkSourceAddress() local 136 String localAddrString = localAddress.getHostAddress(); in checkSourceAddress() 141 "Local address " + localAddress + " not assigned to any network of type " + type, in checkSourceAddress() 142 getIpAddresses(type).contains(localAddress)); in checkSourceAddress() 144 Log.d(TAG, "Source address " + localAddress + " found on network type " + type); in checkSourceAddress()
|
/cts/tests/tests/vcn/src/android/net/vcn/cts/ |
D | TestNetworkWrapper.java | 108 @NonNull InetAddress localAddress) in TestNetworkWrapper() argument 117 localAddress, in TestNetworkWrapper() 118 localAddress instanceof Inet4Address ? IP4_PREFIX_LEN : IP6_PREFIX_LEN); in TestNetworkWrapper()
|
D | VcnManagerTest.java | 627 int subId, InetAddress localAddress, Set<Integer> capabilities) throws Exception { in createTestNetworkWrapper() argument 634 localAddress); in createTestNetworkWrapper() 640 boolean isMetered, int subId, InetAddress localAddress) throws Exception { in createTestNetworkWrapper() argument 647 return createTestNetworkWrapper(subId, localAddress, capabilities); in createTestNetworkWrapper()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | LowPowerStandbyTest.java | 609 InetAddress localAddress = InetAddress.getByName("192.168.5.5"); in testPortDescriptionGetters() local 611 new LowPowerStandbyPortDescription(protocol, portMatcher, portNumber, localAddress); in testPortDescriptionGetters() 616 assertThat(portDesc.getLocalAddress()).isEqualTo(localAddress); in testPortDescriptionGetters()
|