Home
last modified time | relevance | path

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

/external/volley/src/test/java/com/android/volley/
DCacheDispatcherTest.java43 private static final long TIMEOUT_MILLIS = 5000; field in CacheDispatcherTest
66 mCacheQueue.waitUntilEmpty(TIMEOUT_MILLIS); in cancelledRequest()
74 mCacheQueue.waitUntilEmpty(TIMEOUT_MILLIS); in cacheMiss()
86 mCacheQueue.waitUntilEmpty(TIMEOUT_MILLIS); in nonExpiredCacheHit()
96 mCacheQueue.waitUntilEmpty(TIMEOUT_MILLIS); in softExpiredCacheHit()
109 mCacheQueue.waitUntilEmpty(TIMEOUT_MILLIS); in expiredCacheHit()
DNetworkDispatcherTest.java44 private static final long TIMEOUT_MILLIS = 5000; field in NetworkDispatcherTest
65 mNetworkQueue.waitUntilEmpty(TIMEOUT_MILLIS); in successPostsResponse()
77 mNetworkQueue.waitUntilEmpty(TIMEOUT_MILLIS); in exceptionPostsError()
85 mNetworkQueue.waitUntilEmpty(TIMEOUT_MILLIS); in shouldCacheFalse()
94 mNetworkQueue.waitUntilEmpty(TIMEOUT_MILLIS); in shouldCacheTrue()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DRecordingCallback.java28 public static final long TIMEOUT_MILLIS = TimeUnit.SECONDS.toMillis(10); field in RecordingCallback
48 long timeoutMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime()) + TIMEOUT_MILLIS; in await()
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DTestThread.java57 private static final long TIMEOUT_MILLIS = 5000; field in TestThread
193 new Request(methodName, arguments), TIMEOUT_MILLIS, TimeUnit.MILLISECONDS)) { in sendRequest()
207 Response response = responseQueue.poll(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in getResponse()