/frameworks/base/core/tests/coretests/src/android/net/ |
D | SntpClientTest.java | 85 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testBasicWorkingSntpClientQuery() 98 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testTimeoutFailure() 108 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testIgnoreLeapNoSync() 121 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, in testAcceptOnlyServerAndBroadcastModes() 147 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, in testAcceptableStrataOnly() 164 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testZeroTransmitTime() 245 public int getPort() { return mPort; } in getPort() method in SntpClientTest.SntpTestServer
|
D | UriTest.java | 175 assertEquals(42, uri.getPort()); in testAuthorityParsing() 180 assertEquals(42, uri.getPort()); in testAuthorityParsing() 192 assertEquals(-1, uri.getPort()); in testAuthorityParsing() 197 assertEquals(-1, uri.getPort()); in testAuthorityParsing() 202 assertEquals(-1, uri.getPort()); in testAuthorityParsing() 404 assertEquals(-1, uri.getPort()); in testOpaqueUri()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | WebAsset.java | 47 int port = url.getPort() != -1 ? url.getPort() : url.getDefaultPort(); in WebAsset() 68 public int getPort() { in getPort() method in WebAsset 69 return mUrl.getPort(); in getPort()
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
D | AbstractProxyTest.java | 73 .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()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothServerSocket.java | 143 mChannel = mSocket.getPort(); in BluetoothServerSocket() 234 if (mSocket.getPort() != newChannel) { in setChannel() 236 + mSocket.getPort() + " requested newChannel: " + newChannel); in setChannel()
|
/frameworks/base/core/java/android/net/ |
D | ConnectionInfo.java | 52 out.writeInt(local.getPort()); in writeToParcel() 54 out.writeInt(remote.getPort()); in writeToParcel()
|
D | Proxy.java | 155 public static final int getPort(Context ctx) { in getPort() method in Proxy 159 return ((InetSocketAddress)(proxy.address())).getPort(); in getPort() 252 port = Integer.toString(p.getPort()); in setHttpProxySystemProperty()
|
D | ProxyInfo.java | 166 mPort = source.getPort(); in ProxyInfo() 210 public int getPort() { in getPort() method in ProxyInfo
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | TcpKeepaliveController.java | 145 tcpDetails.srcPort = getPort((InetSocketAddress) srcSockAddr); in switchToRepairMode() 159 tcpDetails.dstPort = getPort((InetSocketAddress) dstSockAddr); in switchToRepairMode() 298 private static int getPort(InetSocketAddress inetAddr) { in getPort() method in TcpKeepaliveController 299 return inetAddr.getPort(); in getPort()
|
/frameworks/base/core/java/android/view/ |
D | DisplayAddress.java | 74 public byte getPort() { in getPort() method in DisplayAddress.Physical 98 .append("port=").append(getPort() & PORT_MASK); in toString()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/soap/ |
D | HttpsServiceConnection.java | 126 public int getPort() { in getPort() method in HttpsServiceConnection 127 return mConnection.getURL().getPort(); in getPort()
|
/frameworks/base/media/java/android/media/ |
D | AudioDeviceInfo.java | 265 return Objects.equals(getPort(), that.getPort()); in equals() 270 return Objects.hash(getPort()); in hashCode() 283 public AudioDevicePort getPort() { in getPort() method in AudioDeviceInfo
|
D | HwAudioSource.java | 135 mAudioDeviceInfo.getPort().activeConfig(), in start()
|
/frameworks/base/core/java/android/webkit/ |
D | ClientCertRequest.java | 67 public abstract int getPort(); in getPort() method in ClientCertRequest
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/ |
D | HttpsServiceConnectionTest.java | 195 assertEquals(mUrl.getPort(), mHttpsServiceConnection.getPort()); in verifyGetPort()
|
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
D | ProxyServer.java | 106 port = url.getPort(); in run() 130 inetSocketAddress.getPort()); in run() 402 public int getPort() { in getPort() method in ProxyServer
|
/frameworks/base/tests/net/java/android/net/nsd/ |
D | NsdServiceInfoTest.java | 170 assertTrue(original.getPort() == result.getPort()); in checkParcelable()
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiHotplugEvent.java | 51 public int getPort() { in getPort() method in HdmiHotplugEvent
|
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/ |
D | ServerMain.java | 59 public int getPort() { in getPort() method in ServerMain 211 System.out.println(RUNNING_SERVER_STR + server.getPort());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | NetworkEventTest.java | 156 assertEquals(event.getPort(), unparceledEvent.getPort()); in testConnectEventParceling()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | ProtocolPortTuple.java | 76 public int getPort() { in getPort() method in ProtocolPortTuple
|
/frameworks/base/core/java/android/app/admin/ |
D | ConnectEvent.java | 65 public int getPort() { in getPort() method in ConnectEvent
|
/frameworks/base/tests/net/java/android/net/ |
D | IpSecManagerTest.java | 193 assertEquals(TEST_UDP_ENCAP_PORT, encapSocket.getPort()); in testOpenEncapsulationSocket() 243 assertEquals(TEST_UDP_ENCAP_PORT, encapSocket.getPort()); in testOpenEncapsulationSocketOnRandomPort()
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
D | SipProfile.java | 111 mProfile.mPort = profile.getPort(); in Builder() 433 public int getPort() { in getPort() method in SipProfile
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | PortFilter.java | 49 port = uri.getPort(); in matches()
|