Home
last modified time | relevance | path

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

/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DVpnTest.java100 public static int SOCKET_TIMEOUT_MS = 100; field in VpnTest
328 int ret = Os.poll(new StructPollfd[] { pollfd }, SOCKET_TIMEOUT_MS); in checkPing()
382 client.connect(new InetSocketAddress(toAddr, listen.getLocalPort()), SOCKET_TIMEOUT_MS); in checkTcpReflection()
404 listen.setSoTimeout(SOCKET_TIMEOUT_MS); in checkTcpReflection()
427 client.setSoTimeout(SOCKET_TIMEOUT_MS); in checkTcpReflection()
428 server.setSoTimeout(SOCKET_TIMEOUT_MS); in checkTcpReflection()
464 s.setSoTimeout(SOCKET_TIMEOUT_MS); in checkUdpEcho()
650 s.setSoTimeout(SOCKET_TIMEOUT_MS); in testGetConnectionOwnerUidSecurity()
/cts/tests/tests/net/util/java/android/net/cts/util/
DCtsNetUtils.java56 private static final int SOCKET_TIMEOUT_MS = 2000; field in CtsNetUtils
237 s.setSoTimeout(SOCKET_TIMEOUT_MS); in getBoundSocket()
238 s.connect(addr, SOCKET_TIMEOUT_MS); in getBoundSocket()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/vpn/
DVpnTestHelper.java83 private static final int SOCKET_TIMEOUT_MS = 5000; field in VpnTestHelper
200 int ret = Os.poll(new StructPollfd[] { pollfd }, SOCKET_TIMEOUT_MS); in checkPing()