Home
last modified time | relevance | path

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

123

/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DWebAsset.java49 int port = url.getPort() != -1 ? url.getPort() : url.getDefaultPort(); in WebAsset()
70 public int getPort() { in getPort() method in WebAsset
71 return mUrl.getPort(); in getPort()
/frameworks/base/core/tests/coretests/src/android/net/
DSntpClientTest.java165 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testRequestTime_era0ClientEra0RServer()
178 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testRequestTime_era0ClientEra1Server()
192 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testRequestTime_era1ClientEra0Server()
205 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testRequestTime_era1ClientEra1Server()
307 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testTimeoutFailure()
319 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testIgnoreLeapNoSync()
334 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, in testAcceptOnlyServerAndBroadcastModes()
362 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, in testAcceptableStrataOnly()
381 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testZeroTransmitTime()
394 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testNonMatchingOriginateTime()
[all …]
DUriTest.java202 assertEquals(42, uri.getPort()); in testAuthorityParsing()
207 assertEquals(42, uri.getPort()); in testAuthorityParsing()
219 assertEquals(-1, uri.getPort()); in testAuthorityParsing()
224 assertEquals(-1, uri.getPort()); in testAuthorityParsing()
229 assertEquals(-1, uri.getPort()); in testAuthorityParsing()
431 assertEquals(-1, uri.getPort()); in testOpaqueUri()
/frameworks/base/core/java/android/view/
DDisplayAddress.java97 public int getPort() { in getPort() method in DisplayAddress.Physical
121 .append("port=").append(getPort()); in toString()
162 return p1.getPort() == p2.getPort(); in isPortMatch()
/frameworks/base/core/tests/coretests/src/android/net/http/
DAbstractProxyTest.java73 .register(new Scheme("https", sslSocketFactory, server.getPort())); in testConnectToHttps()
76 new HttpGet("https://localhost:" + server.getPort() + "/foo")); in testConnectToHttps()
243 System.setProperty("proxyPort", Integer.toString(server.getPort())); in PROXY_SYSTEM_PROPERTY()
249 System.setProperty("http.proxyPort", Integer.toString(server.getPort())); in HTTP_PROXY_SYSTEM_PROPERTY()
255 System.setProperty("https.proxyPort", Integer.toString(server.getPort())); in HTTPS_PROXY_SYSTEM_PROPERTY()
261 new HttpHost("localhost", server.getPort())); in CLIENT_PARAMETER()
267 new HttpHost("localhost", server.getPort())); in REQUEST_PARAMETER()
DCookiesTest.java99 ConnRoutePNames.DEFAULT_PROXY, new HttpHost("localhost", server.getPort())); in testCookiesWithNonMatchingCase()
/frameworks/base/core/java/android/net/
DProxy.java128 public static final int getPort(Context ctx) { in getPort() method in Proxy
132 return ((InetSocketAddress)(proxy.address())).getPort(); in getPort()
210 port = Integer.toString(p.getPort()); in setHttpProxyConfiguration()
DWebAddress.java182 public int getPort() { in getPort() method in WebAddress
DPacProxySelector.java76 uri = new URI(uri.getScheme(), null, uri.getHost(), uri.getPort(), "/", null, null); in select()
/frameworks/base/core/java/android/webkit/
DClientCertRequest.java67 public abstract int getPort(); in getPort() method in ClientCertRequest
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiHotplugEvent.java51 public int getPort() { in getPort() method in HdmiHotplugEvent
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/
DProxyServer.java105 port = url.getPort(); in run()
129 inetSocketAddress.getPort()); in run()
401 public int getPort() { in getPort() method in ProxyServer
/frameworks/native/libs/ui/tests/
DDisplayId_test.cpp28 EXPECT_EQ(port, id.getPort()); in TEST()
43 EXPECT_EQ(port, id.getPort()); in TEST()
/frameworks/base/media/java/android/media/
DAudioDeviceInfo.java397 return Objects.equals(getPort(), that.getPort()); in equals()
402 return Objects.hash(getPort()); in hashCode()
417 public AudioDevicePort getPort() { in getPort() method in AudioDeviceInfo
DHwAudioSource.java144 mAudioDeviceInfo.getPort().activeConfig(), in start()
/frameworks/base/core/java/android/app/admin/
DConnectEvent.java65 public int getPort() { in getPort() method in ConnectEvent
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DNetworkEventTest.java167 assertThat(unparceledEvent.getPort()).isEqualTo(event.getPort()); in testConnectEventParceling()
/frameworks/base/services/core/java/com/android/server/firewall/
DPortFilter.java49 port = uri.getPort(); in matches()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipProfile.java113 mProfile.mPort = profile.getPort(); in Builder()
435 public int getPort() { in getPort() method in SipProfile
DSipAudioCall.java765 if ((codec == null) && (media.getPort() > 0)
1032 if ((codec == null) && (media.getPort() > 0)
1051 media.getPort());
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DQosCallbackTrackerTest.java79 return startPort <= mLocalAddress.getPort() in matchesLocalAddress()
80 && endPort >= mLocalAddress.getPort() in matchesLocalAddress()
87 && startPort <= mRemoteAddress.getPort() in matchesRemoteAddress()
88 && endPort >= mRemoteAddress.getPort() in matchesRemoteAddress()
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DEvent.java176 public String getPort() { in getPort() method
DUinput.java152 e.getAbsInfo(), e.getPort()); in registerDevice()
/frameworks/base/telephony/java/android/telephony/data/
DEpsBearerQosSessionAttributes.java210 dest.writeInt(address.getPort()); in writeToParcel()
DNrQosSessionAttributes.java240 dest.writeInt(address.getPort()); in writeToParcel()

123