/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/ |
D | TestUtils.java | 48 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/ |
D | JdwpTunnelTest.java | 89 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/ |
D | IRemoteSocketFactory.aidl | 22 ParcelFileDescriptor openSocketFd(String host, int port, int timeoutMs); in openSocketFd()
|
/cts/hostsidetests/appsecurity/test-apps/ListeningPortsApp/src/android/appsecurity/cts/listeningports/ |
D | ListeningPortsTest.java | 142 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/ |
D | RemoteSocketFactoryClient.java | 83 public FileDescriptor openSocketFd(String host, int port, int timeoutMs) in openSocketFd()
|
D | VpnTest.java | 337 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/ |
D | VpnTestHelper.java | 192 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/ |
D | ClientSocket.cpp | 40 bool ClientSocket::init(const char* hostIp, int port, bool enableTimeout) in init()
|
/cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/ |
D | AccessPrivateDataTest.java | 162 …final int port = InstrumentationRegistry.getContext().getContentResolver().call(PRIVATE_TARGET, "s… in testTrafficStatsStatsUidSelf() local
|
/cts/tests/tests/net/src/android/net/ipv6/cts/ |
D | PingTest.java | 101 int port = (int) (Math.random() * 2048); in sendPing() local
|
/cts/tests/tests/net/src/android/net/cts/ |
D | IpSecBaseTest.java | 128 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()
|
D | IpSecManagerTest.java | 112 int port = s.getLocalPort(); in findUnusedPort() local 123 int port = findUnusedPort(); in getBoundUdpSocket() local 1157 int port = -1; in testOpenUdpEncapSocketSpecificPort() local
|
D | ConnectivityManagerTest.java | 900 private Socket getConnectedSocket(final Network network, final String host, final int port, in getConnectedSocket()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/ |
D | DataPathInBandTestCase.java | 293 int port = 0; in executeTestPublisher() local
|
/cts/suite/audio_quality/lib/src/audio/ |
D | RemoteAudio.cpp | 59 bool RemoteAudio::init(int port) in init()
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | NetworkLoggingTest.java | 355 private int makeDummyRequests(int port) { in makeDummyRequests()
|
/cts/tests/tests/telephony/current/src/android/telephony/cts/ |
D | SmsManagerTest.java | 634 short port = 19989; in sendDataMessageIfSupported() local 717 …protected void sendDataMessage(String destAddr,short port, byte[] data, PendingIntent sentIntent, … in sendDataMessage()
|
D | VisualVoicemailServiceTest.java | 557 private VisualVoicemailSms getSmsFromData(VisualVoicemailSmsFilterSettings settings, short port, in getSmsFromData()
|
/cts/suite/audio_quality/test/ |
D | RemoteAudioFakeTcpTest.cpp | 56 virtual bool init(const char* hostIp, int port, bool enableTimeout = false) { in init()
|
/cts/tests/tests/net/util/java/android/net/cts/util/ |
D | CtsNetUtils.java | 390 private Socket getBoundSocket(Network network, String host, int port) throws IOException { in getBoundSocket()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyPairGeneratorTest.java | 1770 int port = serverSocket.getLocalPort(); in assertSSLConnectionWithClientAuth() local
|