Home
last modified time | relevance | path

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

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java93 public static String TEST_HOST = "connectivitycheck.gstatic.com"; field in VpnTest
529 FileDescriptor fd = openSocketFdInOtherApp(TEST_HOST, 80, TIMEOUT_MS); in testDefault()
535 assertSocketClosed(fd, TEST_HOST); in testDefault()
543 FileDescriptor fd = openSocketFdInOtherApp(TEST_HOST, 80, TIMEOUT_MS); in testAppAllowed()
550 assertSocketClosed(fd, TEST_HOST); in testAppAllowed()
558 FileDescriptor localFd = openSocketFd(TEST_HOST, 80, TIMEOUT_MS); in testAppDisallowed()
559 FileDescriptor remoteFd = openSocketFdInOtherApp(TEST_HOST, 80, TIMEOUT_MS); in testAppDisallowed()
566 assertSocketStillOpen(localFd, TEST_HOST); in testAppDisallowed()
567 assertSocketStillOpen(remoteFd, TEST_HOST); in testAppDisallowed()
/cts/tests/tests/net/src/android/net/cts/
DConnectivityManagerTest.java67 private static final String TEST_HOST = "connectivitycheck.gstatic.com"; field in ConnectivityManagerTest
73 "Host: " + TEST_HOST + "\r\n" +
531 wifiBoundSocket = getBoundSocket(wifiNetworkToCheck, TEST_HOST, HTTP_PORT); in disconnectFromWifi()