Searched refs:TIMEOUT_MILLIS (Results 1 – 4 of 4) sorted by relevance
43 private static final long TIMEOUT_MILLIS = 5000; field in CacheDispatcherTest66 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()
44 private static final long TIMEOUT_MILLIS = 5000; field in NetworkDispatcherTest65 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()
28 public static final long TIMEOUT_MILLIS = TimeUnit.SECONDS.toMillis(10); field in RecordingCallback48 long timeoutMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime()) + TIMEOUT_MILLIS; in await()
57 private static final long TIMEOUT_MILLIS = 5000; field in TestThread193 new Request(methodName, arguments), TIMEOUT_MILLIS, TimeUnit.MILLISECONDS)) { in sendRequest()207 Response response = responseQueue.poll(TIMEOUT_MILLIS, TimeUnit.MILLISECONDS); in getResponse()