Home
last modified time | relevance | path

Searched defs:port (Results 1 – 21 of 21) sorted by relevance

/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
DTestUtils.java48 public static void assertTlsConnectionSucceeds(String host, int port) throws Exception { in assertTlsConnectionSucceeds()
54 public static void assertTlsConnectionFails(String host, int port) throws Exception { in assertTlsConnectionFails()
60 public static void assertCleartextConnectionSucceeds(String host, int port) throws Exception { in assertCleartextConnectionSucceeds()
65 public static void assertCleartextConnectionFails(String host, int port) throws Exception { in assertCleartextConnectionFails()
91 private static void assertSslSocketFails(String host, int port) in assertSslSocketFails()
101 private static void assertSslSocketSucceeds(String host, int port) in assertSslSocketSucceeds()
107 private static void assertUrlConnectionFails(String host, int port, boolean https) in assertUrlConnectionFails()
118 private static void assertUrlConnectionSucceeds(String host, int port, boolean https) in assertUrlConnectionSucceeds()
125 private static void assertHttpClientSucceeds(String host, int port, boolean https) in assertHttpClientSucceeds()
136 private static void assertHttpClientFails(String host, int port, boolean https) in assertHttpClientFails()
/cts/hostsidetests/jdwptunnel/src/android/jdwptunnel/cts/
DJdwpTunnelTest.java89 private VirtualMachine getDebuggerConnection(String port) throws Exception { in getDebuggerConnection()
114 final String port = "15002"; in forwardJdwp() local
135 String port = forwardJdwp(pid); in startupTest() local
/cts/hostsidetests/net/aidl/com/android/cts/net/hostside/
DIRemoteSocketFactory.aidl22 ParcelFileDescriptor openSocketFd(String host, int port, int timeoutMs); in openSocketFd()
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/
DListeningPortsTest.java142 private boolean isTcpConnectable(InetAddress address, int port) { in isTcpConnectable()
197 private final int port; field in ListeningPortsTest.ParsedProcEntry
201 private ParsedProcEntry(InetAddress addr, int port, String state, int uid) { in ParsedProcEntry()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DRemoteSocketFactoryClient.java83 public FileDescriptor openSocketFd(String host, int port, int timeoutMs) in openSocketFd()
DVpnTest.java337 int port = random.nextInt(65534) + 1; in checkPing() local
529 private FileDescriptor openSocketFd(String host, int port, int timeoutMs) throws Exception { in openSocketFd()
540 String host, int port, int timeoutMs) throws Exception { in openSocketFdInOtherApp()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java192 int port = new InetSocketAddress(0).getPort(); in checkPing() local
235 int port = new InetSocketAddress(0).getPort(); in tryPosixConnect() local
/cts/suite/audio_quality/lib/src/
DClientSocket.cpp40 bool ClientSocket::init(const char* hostIp, int port, bool enableTimeout) in init()
/cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/
DAccessPrivateDataTest.java162 …final int port = InstrumentationRegistry.getContext().getContentResolver().call(PRIVATE_TARGET, "s… in testTrafficStatsStatsUidSelf() local
/cts/tests/tests/net/src/android/net/ipv6/cts/
DPingTest.java101 int port = (int) (Math.random() * 2048); in sendPing() local
/cts/tests/tests/net/src/android/net/cts/
DIpSecBaseTest.java128 void sendTo(byte[] data, InetAddress dstAddr, int port) throws Exception; in sendTo()
203 public void sendTo(byte[] data, InetAddress dstAddr, int port) throws Exception { in sendTo()
211 public JavaUdpSocket(InetAddress localAddr, int port) { in JavaUdpSocket()
239 public void sendTo(byte[] data, InetAddress dstAddr, int port) throws Exception { in sendTo()
DIpSecManagerTest.java112 int port = s.getLocalPort(); in findUnusedPort() local
123 int port = findUnusedPort(); in getBoundUdpSocket() local
1157 int port = -1; in testOpenUdpEncapSocketSpecificPort() local
DConnectivityManagerTest.java900 private Socket getConnectedSocket(final Network network, final String host, final int port, in getConnectedSocket()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
DDataPathInBandTestCase.java293 int port = 0; in executeTestPublisher() local
/cts/suite/audio_quality/lib/src/audio/
DRemoteAudio.cpp59 bool RemoteAudio::init(int port) in init()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DNetworkLoggingTest.java355 private int makeDummyRequests(int port) { in makeDummyRequests()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DSmsManagerTest.java634 short port = 19989; in sendDataMessageIfSupported() local
717 …protected void sendDataMessage(String destAddr,short port, byte[] data, PendingIntent sentIntent, … in sendDataMessage()
DVisualVoicemailServiceTest.java557 private VisualVoicemailSms getSmsFromData(VisualVoicemailSmsFilterSettings settings, short port, in getSmsFromData()
/cts/suite/audio_quality/test/
DRemoteAudioFakeTcpTest.cpp56 virtual bool init(const char* hostIp, int port, bool enableTimeout = false) { in init()
/cts/tests/tests/net/util/java/android/net/cts/util/
DCtsNetUtils.java390 private Socket getBoundSocket(Network network, String host, int port) throws IOException { in getBoundSocket()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java1770 int port = serverSocket.getLocalPort(); in assertSSLConnectionWithClientAuth() local