Home
last modified time | relevance | path

Searched refs:setPort (Results 1 – 12 of 12) sorted by relevance

/packages/modules/Connectivity/tests/unit/java/android/net/nsd/
DNsdServiceInfoTest.java124 fullInfo.setPort(4242); in testParcel()
131 noHostInfo.setPort(4242); in testParcel()
137 attributedInfo.setPort(4242); in testParcel()
DNsdManagerTest.java210 request1.setPort(2201); in doTestRegisterService()
211 request2.setPort(2202); in doTestRegisterService()
349 validService.setPort(2222); in doTestInvalidCalls()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/sdp/
DSdpMedia.java50 .setPort(Integer.parseInt(elements.get(1))) in parseMediaLine()
100 public abstract Builder setPort(int port); in setPort() method in SdpMedia.Builder
DSdpUtils.java103 .setPort(DEFAULT_MSRP_PORT) in createSdpMediaForMsrp()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DNsdServiceTest.java174 request.setPort(2201); in testClientRequestsAreGCedAtDisconnection()
216 request.setPort(2201); in testCleanupDelayNoRequestActive()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNsdManagerTest.java352 si.setPort(localPort); in testNDSManager()
481 si.setPort(localPort); in testNDSManager()
DIpSecManagerTest.java304 outPacket.setPort(localPort); in testCreateTransform()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/aware/
DWifiAwareManagerTest.java1051 pmk).setPort(port).setTransportProtocol(transportProtocol).build(); in testNetworkSpecifierWithClient()
1076 peerHandle).setPskPassphrase(passphrase).setPort(port).setTransportProtocol( in testNetworkSpecifierWithClient()
1423 peerHandle).setPmk(pmk).setPort(port).build(); in testNetworkSpecifierBuilderInvalidPortNumber()
1438 peerHandle).setPort(port).build(); in testNetworkSpecifierBuilderInvalidPortOnInsecure()
1453 peerHandle).setPort(port).build(); in testNetworkSpecifierBuilderInvalidPortOnResponder()
/packages/modules/Wifi/framework/java/android/net/wifi/aware/
DWifiAwareNetworkSpecifier.java399 public @NonNull Builder setPort(@IntRange(from = 0, to = 65535) int port) { in setPort() method in WifiAwareNetworkSpecifier.Builder
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/sip/
DSipUtils.java226 uri.setPort(configuration.getLocalPort()); in generateContactHeader()
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/
DSipEditor.java437 .setPort(Integer.parseInt(PreferenceKey.Port.getValue())) in createSipProfile()
/packages/modules/Wifi/framework/api/
Dcurrent.txt810 …method @NonNull public android.net.wifi.aware.WifiAwareNetworkSpecifier.Builder setPort(@IntRange(…