Home
last modified time | relevance | path

Searched refs:getPort (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DIntentFilter_AuthorityEntryTest.java43 assertEquals(mPort, mAuthorityEntry.getPort()); in testConstructor()
48 assertEquals(Integer.valueOf(mPort).intValue(), mAuthorityEntry.getPort()); in testConstructor()
52 assertEquals(Integer.valueOf(mPort).intValue(), mAuthorityEntry.getPort()); in testAuthorityEntryProperties()
DIntentFilterTest.java611 assertEquals(PORT + i, actual.getPort()); in testAuthorities()
614 assertEquals(ae.getPort(), mIntentFilter.getDataAuthority(i).getPort()); in testAuthorities()
1236 assertEquals(PORT, intentFilter.getDataAuthority(0).getPort()); in testWriteToXml()
1278 assertEquals(PORT, intentFilter.getDataAuthority(0).getPort()); in testWriteToXmlWithRelRefGroup()
1358 assertEquals(80, mIntentFilter.getDataAuthority(0).getPort()); in testReadFromXml()
1611 assertEquals(mIntentFilter.getDataAuthority(0).getPort(), in testWriteToParcel()
1612 target.getDataAuthority(0).getPort()); in testWriteToParcel()
1647 assertEquals(mIntentFilter.getDataAuthority(0).getPort(), in testWriteToParcelWithRelRefGroup()
1648 target.getDataAuthority(0).getPort()); in testWriteToParcelWithRelRefGroup()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/proxy/
DPacProxyTest.java169 Socket s = new Socket(mProxy.getHost(), mProxy.getPort()); in testProxyIsUp()
173 fail("Proxy contained invalid host - " + mProxy.getHost() + ":" + mProxy.getPort()); in testProxyIsUp()
175 fail("Unable to connect to proxy - " + mProxy.getHost() + ":" + mProxy.getPort()); in testProxyIsUp()
DPassthroughTestHelper.java74 Socket s = new Socket(mProxy.getHost(), mProxy.getPort()); in createHttpConnectConnection()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java192 int port = new InetSocketAddress(0).getPort(); in checkPing()
215 port = local.getPort(); in checkPing()
235 int port = new InetSocketAddress(0).getPort(); in tryPosixConnect()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DNetworkLoggingTest.java285 assertThat(connectEvent.getPort()).isAtLeast(0); in verifyConnectEvent()
286 assertThat(connectEvent.getPort()).isAtMost(65535); in verifyConnectEvent()
303 assertThat(event1.getPort()).isEqualTo(event2.getPort()); in verifyConnectEventsEqual()
/cts/tests/tests/time/src/android/app/time/cts/
DSntpTestServer.java133 public int getPort() { in getPort() method in SntpTestServer
DNetworkTimeUpdateServiceSntpTest.java173 URI uri = new URI("ntp", null, server.getAddress().getHostAddress(), server.getPort(), in testNetworkTimeUpdate()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DSipDelegateManagerTest.java1193 assertEquals(80, c.getLocalAddress().getPort()); in testParcelUnparcelConfiguration()
1195 assertEquals(81, c.getSipServerAddress().getPort()); in testParcelUnparcelConfiguration()
1254 assertEquals(80, configInc.getLocalAddress().getPort()); in testCopyConfiguration()
1257 assertEquals(81, configInc.getSipServerAddress().getPort()); in testCopyConfiguration()
1287 assertEquals(129, natAddr.getPort()); in testCopyConfiguration()
2355 assertEquals(129, natAddr.getPort()); in generateNewTestConfig()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
DDataPathInBandTestCase.java276 int peerPort = peerAwareInfo.getPort(); in executeTestSubscriber()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java428 socket.getInetAddress().getHostName(), socket.getPort(), in chooseClientAlias()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dwifi-current.txt1086 method public int getPort();
Dcurrent.txt7844 method public int getPort();
11585 method public int getPort();
28823 method @Deprecated public static int getPort(android.content.Context);
28886 method public abstract int getPort();
29305 method @Deprecated public int getPort();
57625 method public abstract int getPort();
Dsystem-current.txt5430 method public int getPort();