Home
last modified time | relevance | path

Searched refs:getLocalPort (Results 1 – 25 of 29) sorted by relevance

12

/packages/modules/Connectivity/tests/unit/java/android/net/
DQosSocketFilterTest.java104 socket.connect(new InetSocketAddress("127.0.0.1", socket.getLocalPort() + 10)); in testProtocolMatch()
106 socketV6.connect(new InetSocketAddress("::1", socketV6.getLocalPort() + 10)); in testProtocolMatch()
122 socket.connect(new InetSocketAddress("127.0.0.1", socket.getLocalPort() + 7)); in testValidate()
165 socket.connect(new InetSocketAddress("127.0.0.1", socket.getLocalPort() + 11)); in testValidateRemoteAddressChanged()
171 socket.connect(new InetSocketAddress("127.0.0.1", socket.getLocalPort() + 13)); in testValidateRemoteAddressChanged()
DQosSocketInfoTest.java61 Socket socket = new Socket(serverAddr.getAddress(), server.getLocalPort(), in testConstructWithSock()
63 Socket socket6 = new Socket(serverAddr6.getAddress(), server6.getLocalPort(), in testConstructWithSock()
68 .equals(new InetSocketAddress(socket.getLocalAddress(), socket.getLocalPort()))); in testConstructWithSock()
73 .equals(new InetSocketAddress(socket6.getLocalAddress(), socket6.getLocalPort()))); in testConstructWithSock()
/packages/modules/Connectivity/tests/cts/net/src/android/net/rtp/cts/
DAudioGroupTest.java58 mSocketA.connect(mStreamA.getLocalAddress(), mStreamA.getLocalPort()); in setUp()
59 mStreamA.associate(mSocketA.getLocalAddress(), mSocketA.getLocalPort()); in setUp()
65 mSocketB.connect(mStreamB.getLocalAddress(), mStreamB.getLocalPort()); in setUp()
66 mStreamB.associate(mSocketB.getLocalAddress(), mSocketB.getLocalPort()); in setUp()
DAudioStreamTest.java31 assertEquals(stream.getLocalPort() % 2, 0); in testRtpStream()
/packages/modules/ImsMedia/test/app/ImsMediaTestingApp/app/src/main/java/com/example/imsmediatestingapp/
DHandshakeReceiver.java107 return socket.getLocalPort(); in getBoundSocket()
111 Log.d("", "Closing the socket on port: " + socket.getLocalPort()); in close()
DMainActivity.java1038 mAudioRtp.getLocalPort() + 1); in openPorts()
1041 mVideoRtp.getLocalPort() + 1); in openPorts()
1044 mTextRtp.getLocalPort() + 1); in openPorts()
1310 .setAudioRtpPort(mAudioRtp.getLocalPort()) in createMyDeviceInfo()
1311 .setVideoRtpPort(mVideoRtp.getLocalPort()) in createMyDeviceInfo()
1312 .setTextRtpPort(mTextRtp.getLocalPort()) in createMyDeviceInfo()
2489 String.valueOf(mAudioRtp.getLocalPort()))); in styleDisconnected()
2491 String.valueOf(mAudioRtcp.getLocalPort()))); in styleDisconnected()
2533 String.valueOf(mAudioRtp.getLocalPort()))); in styleConnected()
2535 String.valueOf(mAudioRtcp.getLocalPort()))); in styleConnected()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DQosSocketInfo.java131 new InetSocketAddress(socket.getLocalAddress(), socket.getLocalPort()); in QosSocketInfo()
155 new InetSocketAddress(socket.getLocalAddress(), socket.getLocalPort()); in QosSocketInfo()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/sip/
DSipSessionConfiguration.java30 int getLocalPort(); in getLocalPort() method
DSipUtils.java115 int port = configuration.getLocalPort(); in buildInvite()
226 uri.setPort(configuration.getLocalPort()); in generateContactHeader()
/packages/modules/AdServices/adservices/tests/perf/src/android/adservices/test/scenario/adservices/utils/
DMockWebServerRule.java193 mPort = serverSocket.getLocalPort(); in reserveServerListeningPort()
211 mPort = serverSocket.getLocalPort(); in reserveServerListeningPort()
/packages/modules/AdServices/adservices/tests/unittest/fixtures/java/android/adservices/http/
DMockWebServerRule.java218 mPort = serverSocket.getLocalPort();
236 mPort = serverSocket.getLocalPort();
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DIpSecBaseTest.java349 return mSocket.getLocalPort(); in getPort()
404 return mSocket.getLocalPort(); in getPort()
629 leftSock.mSocket.connect(localAddr, rightSock.mSocket.getLocalPort()); in getJavaUdpSocketPair()
630 rightSock.mSocket.connect(localAddr, leftSock.mSocket.getLocalPort()); in getJavaUdpSocketPair()
DTrafficStatsTest.java130 final Socket socket = new Socket("localhost", server.getLocalPort()); in testTrafficStatsForLocalhost()
DIpSecAlgorithmImplTest.java193 localSocket.getLocalPort(), in runTest()
DIpSecManagerTest.java164 int port = s.getLocalPort(); in findUnusedPort()
330 localPort = localSocket.getLocalPort(); in doTestCreateTransform()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/javatests/com/android/libraries/rcs/simpleclient/protocol/sip/
DSipUtilsTest.java61 public int getLocalPort() {
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/
DRedirectListener.java93 redirectListener = new RedirectListener(looper, serverSocket.getLocalPort()); in createInstance()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/
DIkeSocket.java192 public final int getLocalPort() throws ErrnoException { in getLocalPort() method in IkeSocket
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/javatests/com/android/libraries/rcs/simpleclient/service/chat/
DSimpleChatSessionTest.java75 public int getLocalPort() {
/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java588 client.connect(new InetSocketAddress(toAddr, listen.getLocalPort()), SOCKET_TIMEOUT_MS); in checkTcpReflection()
618 new InetSocketAddress(toAddr, client.getLocalPort()), in checkTcpReflection()
621 new InetSocketAddress(toAddr, server.getLocalPort()), in checkTcpReflection()
648 InetSocketAddress loc = new InetSocketAddress(s.getLocalAddress(), s.getLocalPort()); in checkConnectionOwnerUidUdp()
656 InetSocketAddress loc = new InetSocketAddress(s.getLocalAddress(), s.getLocalPort()); in checkConnectionOwnerUidTcp()
1374 InetSocketAddress loc = new InetSocketAddress(s.getLocalAddress(), s.getLocalPort()); in testGetConnectionOwnerUidSecurity()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/net/
DIkeConnectionController.java837 public int getLocalPort() { in getLocalPort() method in IkeConnectionController
839 return mIkeSocket.getLocalPort(); in getLocalPort()
1348 pw.println(prefix + "Local port: " + socket.getLocalPort()); in printPortInfo()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/registration/
DRegistrationControllerImpl.java300 public int getLocalPort() { in getLocalPort() method in RegistrationControllerImpl.RegistrationContext
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceTest.java157 int port = s.getLocalPort(); in findUnusedPort()
/packages/apps/Car/DebuggingRestrictionController/libs/
Dhttpcore-4.4.13.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/apache/ org/ ...
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DCaptivePortalLoginActivityTest.java789 .encodedAuthority(TEST_PORTAL_HOSTNAME + ":" + mSocket.getLocalPort()) in makeUrl()

12