Home
last modified time | relevance | path

Searched refs:TEST_HOST (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java101 public static String TEST_HOST = "connectivitycheck.gstatic.com"; field in VpnTest
585 FileDescriptor fd = openSocketFdInOtherApp(TEST_HOST, 80, TIMEOUT_MS); in testDefault()
598 assertSocketClosed(fd, TEST_HOST); in testDefault()
607 FileDescriptor fd = openSocketFdInOtherApp(TEST_HOST, 80, TIMEOUT_MS); in testAppAllowed()
615 assertSocketClosed(fd, TEST_HOST); in testAppAllowed()
623 FileDescriptor localFd = openSocketFd(TEST_HOST, 80, TIMEOUT_MS); in testAppDisallowed()
624 FileDescriptor remoteFd = openSocketFdInOtherApp(TEST_HOST, 80, TIMEOUT_MS); in testAppDisallowed()
638 assertSocketStillOpen(localFd, TEST_HOST); in testAppDisallowed()
639 assertSocketStillOpen(remoteFd, TEST_HOST); in testAppDisallowed()
/cts/tests/tests/net/util/java/android/net/cts/util/
DCtsNetUtils.java59 public static final String TEST_HOST = "connectivitycheck.gstatic.com"; field in CtsNetUtils
62 "Host: " + TEST_HOST + "\r\n" +
139 wifiBoundSocket = getBoundSocket(wifiNetworkToCheck, TEST_HOST, HTTP_PORT); in disconnectFromWifi()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java28 import static android.net.cts.util.CtsNetUtils.TEST_HOST;
970 try (Socket s = getConnectedSocket(network, TEST_HOST, HTTP_PORT, in testCreateTcpKeepalive() argument
1081 final InetAddress dstAddr = getAddrByName(TEST_HOST, AF_INET); in createConcurrentNattSocketKeepalives()
1104 try (Socket tcpSocket = getConnectedSocket(network, TEST_HOST, HTTP_PORT, in createConcurrentTcpSocketKeepalives()