/cts/tests/tests/net/src/android/net/cts/ |
D | IpSecBaseTest.java | 90 protected static int getPort(FileDescriptor sock) throws Exception { in getPort() method in IpSecBaseTest 91 return ((InetSocketAddress) Os.getsockname(sock)).getPort(); in getPort() 99 int getPort() throws Exception; in getPort() method 154 public int getPort() throws Exception { in getPort() method in IpSecBaseTest.NativeSocket 155 return IpSecBaseTest.getPort(mFd); in getPort() 217 public int getPort() throws Exception { in getPort() method in IpSecBaseTest.JavaUdpSocket 272 public int getPort() throws Exception { in getPort() method in IpSecBaseTest.JavaTcpSocket 326 Os.connect(leftSock.mFd, localAddr, rightSock.getPort()); in getNativeUdpSocketPair() 327 Os.connect(rightSock.mFd, localAddr, leftSock.getPort()); in getNativeUdpSocketPair() 348 Os.connect(client.mFd, localAddr, server.getPort()); in getNativeTcpSocketPair() [all …]
|
D | UriTest.java | 98 assertEquals(42, uri.getPort()); in testStringUri() 103 assertEquals(42, uri.getPort()); in testStringUri() 111 assertEquals(-1, uri.getPort()); in testStringUri() 116 assertEquals(-1, uri.getPort()); in testStringUri() 121 assertEquals(-1, uri.getPort()); in testStringUri() 288 assertEquals(-1, uri.getPort()); in testOpaqueUri()
|
D | IpSecManagerTest.java | 164 sockLeft.sendTo(TEST_DATA, local, sockRight.getPort()); in checkUnconnectedUdp() 168 sockRight.sendTo(TEST_DATA, local, sockLeft.getPort()); in checkUnconnectedUdp() 491 transformBuilder.setIpv4Encapsulation(encapSocket, encapSocket.getPort()); in checkTransform() 596 remoteSocket.sendTo(dataWithEspHeader, localAddr, wrappedEncapSocket.getPort()); in checkIkePacket() 601 wrappedEncapSocket.sendTo(dataWithEspHeader, localAddr, remoteSocket.getPort()); in checkIkePacket() 641 .setIpv4Encapsulation(encapSocket, encapSocket.getPort()) in testIkeOverUdpEncapSocket() 1132 assertTrue("Returned invalid port", encapSocket.getPort() == port); in testOpenUdpEncapSocketSpecificPort() 1137 assertTrue("Returned invalid port", encapSocket.getPort() != 0); in testOpenUdpEncapSocketRandomPort()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | IntentFilter_AuthorityEntryTest.java | 41 assertEquals(mPort, mAuthorityEntry.getPort()); in testConstructor() 46 assertEquals(Integer.valueOf(mPort).intValue(), mAuthorityEntry.getPort()); in testConstructor() 50 assertEquals(Integer.valueOf(mPort).intValue(), mAuthorityEntry.getPort()); in testAuthorityEntryProperties()
|
D | IntentFilterTest.java | 442 assertEquals(PORT + i, actual.getPort()); in testAuthorities() 445 assertEquals(ae.getPort(), mIntentFilter.getDataAuthority(i).getPort()); in testAuthorities() 601 assertEquals(PORT, intentFilter.getDataAuthority(0).getPort()); in testWriteToXml() 661 assertEquals(80, mIntentFilter.getDataAuthority(0).getPort()); in testReadFromXml() 879 assertEquals(mIntentFilter.getDataAuthority(0).getPort(), in testWriteToParcel() 880 target.getDataAuthority(0).getPort()); in testWriteToParcel()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/ |
D | VpnTestHelper.java | 153 int port = new InetSocketAddress(0).getPort(); in checkPing() 176 port = local.getPort(); in checkPing() 196 int port = new InetSocketAddress(0).getPort(); in tryPosixConnect()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | NetworkLoggingTest.java | 247 assertTrue(connectEvent.getPort() >= 0 && connectEvent.getPort() <= 65535); in verifyNetworkLogs()
|
/cts/tests/tests/net/src/android/net/ipv6/cts/ |
D | PingTest.java | 141 int id = ((InetSocketAddress) Os.getsockname(s)).getPort(); in checkResponse()
|
/cts/tests/tests/net/src/android/net/wifi/cts/ |
D | NsdManagerTest.java | 449 String.valueOf(lastEvent.mInfo.getPort())); in testNDSManager() 451 assertTrue(lastEvent.mInfo.getPort() == localPort); in testNDSManager()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | KeyChainTest.java | 376 socket.getInetAddress().getHostName(), socket.getPort(), in chooseClientAlias()
|
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/ |
D | VpnTest.java | 325 port = local.getPort(); in checkPing()
|
/cts/tests/libcore/javautilcollections/libs/ |
D | guava-20.0.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/maven/
META- ... |