Home
last modified time | relevance | path

Searched refs:getRemoteSocketAddress (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/android/net/
DQosSocketInfoTest.java69 assertTrue(sockInfo.getRemoteSocketAddress() in testConstructWithSock()
70 .equals((InetSocketAddress) socket.getRemoteSocketAddress())); in testConstructWithSock()
74 assertTrue(sockInfo6.getRemoteSocketAddress() in testConstructWithSock()
75 .equals((InetSocketAddress) socket6.getRemoteSocketAddress())); in testConstructWithSock()
101 assertTrue(sockInfo.getRemoteSocketAddress() in testConstructWithDatagramSock()
102 .equals((InetSocketAddress) socket.getRemoteSocketAddress())); in testConstructWithDatagramSock()
106 assertTrue(sockInfo6.getRemoteSocketAddress() in testConstructWithDatagramSock()
107 .equals((InetSocketAddress) socket6.getRemoteSocketAddress())); in testConstructWithDatagramSock()
/packages/modules/Connectivity/framework/src/android/net/
DQosSocketFilter.java101 if (mQosSocketInfo.getRemoteSocketAddress() != null) { in validate()
107 if (!da.equals(mQosSocketInfo.getRemoteSocketAddress())) { in validate()
195 if (mQosSocketInfo.getRemoteSocketAddress() == null) { in matchesRemoteAddress()
198 return matchesAddress(mQosSocketInfo.getRemoteSocketAddress(), address, startPort, in matchesRemoteAddress()
DQosSocketInfo.java103 public InetSocketAddress getRemoteSocketAddress() { in getRemoteSocketAddress() method in QosSocketInfo
135 mRemoteSocketAddress = (InetSocketAddress) socket.getRemoteSocketAddress(); in QosSocketInfo()
159 mRemoteSocketAddress = (InetSocketAddress) socket.getRemoteSocketAddress(); in QosSocketInfo()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DSSLCertificateSocketFactoryTest.java335 assertTrue(mTestSocketAddresses.contains(socket.getRemoteSocketAddress())); in assertConnectedSocket()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DTestActivity.java442 + clientSocket.getRemoteSocketAddress()); in start()
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java619 server.getRemoteSocketAddress()); in checkTcpReflection()
622 client.getRemoteSocketAddress()); in checkTcpReflection()
/packages/modules/Connectivity/framework/api/
Dsystem-current.txt461 method @Nullable public java.net.InetSocketAddress getRemoteSocketAddress();