Searched refs:SOCKET_TIMEOUT_MS (Results 1 – 4 of 4) sorted by relevance
141 public static int SOCKET_TIMEOUT_MS = 100; field in VpnTest374 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()
84 private static final int SOCKET_TIMEOUT_MS = 2000; field in CtsNetUtils501 s.setSoTimeout(SOCKET_TIMEOUT_MS); in getBoundSocket()502 s.connect(addr, SOCKET_TIMEOUT_MS); in getBoundSocket()
103 private static final int SOCKET_TIMEOUT_MS = 10000; field in CaptivePortalLoginActivity503 urlConnection.setConnectTimeout(SOCKET_TIMEOUT_MS); in testForCaptivePortal()504 urlConnection.setReadTimeout(SOCKET_TIMEOUT_MS); in testForCaptivePortal()
235 private static final int SOCKET_TIMEOUT_MS = 10000; field in NetworkMonitor2605 conn.setConnectTimeout(SOCKET_TIMEOUT_MS); in makeProbeConnection()2606 conn.setReadTimeout(SOCKET_TIMEOUT_MS); in makeProbeConnection()