Home
last modified time | relevance | path

Searched refs:SOCKET_TIMEOUT_MS (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DVpnTest.java141 public static int SOCKET_TIMEOUT_MS = 100; field in VpnTest
374 int ret = Os.poll(new StructPollfd[] { pollfd }, SOCKET_TIMEOUT_MS); in checkPing()
428 client.connect(new InetSocketAddress(toAddr, listen.getLocalPort()), SOCKET_TIMEOUT_MS); in checkTcpReflection()
450 listen.setSoTimeout(SOCKET_TIMEOUT_MS); in checkTcpReflection()
473 client.setSoTimeout(SOCKET_TIMEOUT_MS); in checkTcpReflection()
474 server.setSoTimeout(SOCKET_TIMEOUT_MS); in checkTcpReflection()
510 s.setSoTimeout(SOCKET_TIMEOUT_MS); in checkUdpEcho()
838 s.setSoTimeout(SOCKET_TIMEOUT_MS); in testGetConnectionOwnerUidSecurity()
/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/
DCtsNetUtils.java84 private static final int SOCKET_TIMEOUT_MS = 2000; field in CtsNetUtils
501 s.setSoTimeout(SOCKET_TIMEOUT_MS); in getBoundSocket()
502 s.connect(addr, SOCKET_TIMEOUT_MS); in getBoundSocket()
/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java103 private static final int SOCKET_TIMEOUT_MS = 10000; field in CaptivePortalLoginActivity
503 urlConnection.setConnectTimeout(SOCKET_TIMEOUT_MS); in testForCaptivePortal()
504 urlConnection.setReadTimeout(SOCKET_TIMEOUT_MS); in testForCaptivePortal()
/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java235 private static final int SOCKET_TIMEOUT_MS = 10000; field in NetworkMonitor
2605 conn.setConnectTimeout(SOCKET_TIMEOUT_MS); in makeProbeConnection()
2606 conn.setReadTimeout(SOCKET_TIMEOUT_MS); in makeProbeConnection()