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

/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
H A DCaptivePortalLoginActivity.java60 private static final int SOCKET_TIMEOUT_MS = 10000; field in class:CaptivePortalLoginActivity
236 urlConnection.setConnectTimeout(SOCKET_TIMEOUT_MS);
237 urlConnection.setReadTimeout(SOCKET_TIMEOUT_MS);
/frameworks/base/core/java/android/net/
H A DDnsPinger.java60 private static final int SOCKET_TIMEOUT_MS = 1; field in class:DnsPinger
150 newActivePing.socket.setSoTimeout(SOCKET_TIMEOUT_MS);
189 /** Each socket will block for {@link #SOCKET_TIMEOUT_MS} in receive() */
/frameworks/base/services/core/java/com/android/server/connectivity/
H A DNetworkMonitor.java81 private static final int SOCKET_TIMEOUT_MS = 10000; field in class:NetworkMonitor
460 // IPv6) could each take SOCKET_TIMEOUT_MS. During this time this StateMachine
688 urlConnection.setConnectTimeout(SOCKET_TIMEOUT_MS);
689 urlConnection.setReadTimeout(SOCKET_TIMEOUT_MS);

Completed in 70 milliseconds