Home
last modified time | relevance | path

Searched defs:port (Results 1 – 17 of 17) 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/net/aidl/com/android/cts/net/hostside/
DIRemoteSocketFactory.aidl22 ParcelFileDescriptor openSocketFd(String host, int port, int timeoutMs); in openSocketFd()
/cts/tests/tests/security/src/android/security/cts/
DListeningPortsTest.java240 private boolean isTcpConnectable(InetAddress address, int port) { in isTcpConnectable()
295 private final int port; field in ListeningPortsTest.ParsedProcEntry
299 private ParsedProcEntry(InetAddress addr, int port, String state, int uid) { in ParsedProcEntry()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java131 int port = new InetSocketAddress(0).getPort(); in checkPing() local
174 int port = new InetSocketAddress(0).getPort(); in tryPosixConnect() local
/cts/tests/tests/net/src/android/net/cts/
DSSLCertificateSocketFactoryTest.java55 int port = 443; in testCreateSocket() local
DConnectivityManagerTest.java573 private Socket getBoundSocket(Network network, String host, int port) throws IOException { in getBoundSocket()
/cts/tests/tests/telephony/src/android/telephony/gsm/cts/
DSmsManagerTest.java48 …protected void sendDataMessage(String destAddr,short port, byte[] data, PendingIntent sentIntent, … in sendDataMessage()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DRemoteSocketFactoryClient.java83 public FileDescriptor openSocketFd(String host, int port, int timeoutMs) in openSocketFd()
DVpnTest.java308 int port = random.nextInt(65534) + 1; in checkPing() local
480 private FileDescriptor openSocketFd(String host, int port, int timeoutMs) throws Exception { in openSocketFd()
491 String host, int port, int timeoutMs) throws Exception { in openSocketFdInOtherApp()
/cts/suite/audio_quality/lib/src/
DClientSocket.cpp40 bool ClientSocket::init(const char* hostIp, int port, bool enableTimeout) in init()
/cts/tests/tests/net/src/android/net/ipv6/cts/
DPingTest.java101 int port = (int) (Math.random() * 2048); in sendPing() local
/cts/tests/tests/telephony/src/android/telephony/cts/
DSmsManagerTest.java349 short port = 19989; in sendDataMessageIfSupported() local
375 …protected void sendDataMessage(String destAddr,short port, byte[] data, PendingIntent sentIntent, … in sendDataMessage()
DVisualVoicemailServiceTest.java528 private VisualVoicemailSms getSmsFromData(VisualVoicemailSmsFilterSettings settings, short port, in getSmsFromData()
/cts/suite/audio_quality/lib/src/audio/
DRemoteAudio.cpp59 bool RemoteAudio::init(int port) in init()
/cts/suite/audio_quality/test/
DRemoteAudioFakeTcpTest.cpp56 virtual bool init(const char* hostIp, int port, bool enableTimeout = false) { in init()
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyPairGeneratorTest.java1418 int port = serverSocket.getLocalPort(); in assertSSLConnectionWithClientAuth() local
/cts/tests/libcore/javautilcollections/libs/
Dguava-20.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...