Searched refs:DEFAULT_TIMEOUT_MS (Results 1 – 10 of 10) sorted by relevance
24 private const val DEFAULT_TIMEOUT_MS = 200L constant48 assertEquals(CallbackType.OnRequestStatsUpdate(token), history.poll(DEFAULT_TIMEOUT_MS)) in expectOnRequestStatsUpdate()52 assertEquals(CallbackType.OnSetLimit(iface, quotaBytes), history.poll(DEFAULT_TIMEOUT_MS)) in expectOnSetLimit()56 assertEquals(CallbackType.OnSetAlert(quotaBytes), history.poll(DEFAULT_TIMEOUT_MS)) in expectOnSetAlert()60 fun assertNoCallback(timeout: Long = DEFAULT_TIMEOUT_MS) { in assertNoCallback()
26 private const val DEFAULT_TIMEOUT_MS = 3000L constant59 val event = history.poll(DEFAULT_TIMEOUT_MS) in expectNotifyStatsUpdated()64 val event = history.poll(DEFAULT_TIMEOUT_MS)!! in expectNotifyStatsUpdated()74 assertEquals(CallbackType.NotifyLimitReached, history.poll(DEFAULT_TIMEOUT_MS)) in expectNotifyLimitReached()77 assertEquals(CallbackType.NotifyAlertReached, history.poll(DEFAULT_TIMEOUT_MS)) in expectNotifyLimitReached()
25 private const val DEFAULT_TIMEOUT_MS = 200L constant28 val defaultTimeoutMs: Long = DEFAULT_TIMEOUT_MS
35 private static int DEFAULT_TIMEOUT_MS = 5000; field in SettingsHelper66 DEFAULT_TIMEOUT_MS); in syncSet()92 DEFAULT_TIMEOUT_MS); in syncDelete()
43 public static final int DEFAULT_TIMEOUT_MS = 5000; // 5 seconds field in HttpsServiceConnection48 mConnection.setConnectTimeout(DEFAULT_TIMEOUT_MS); in HttpsServiceConnection()49 mConnection.setReadTimeout(DEFAULT_TIMEOUT_MS); in HttpsServiceConnection()
40 private const val DEFAULT_TIMEOUT_MS = 5000L in <lambda>() constant87 ) = seenEvents.poll(DEFAULT_TIMEOUT_MS) { it is T && predicate(it) } in <lambda>()167 ) = seenEvents.poll(DEFAULT_TIMEOUT_MS) { it is T && predicate(it) } in <lambda>()
41 private static final int DEFAULT_TIMEOUT_MS = 5000; field in CaptivePortalTest
49 private static final long DEFAULT_TIMEOUT_MS = 1000; field in MffFilterTestCase124 process(DEFAULT_TIMEOUT_MS); in process()
61 private static final int DEFAULT_TIMEOUT_MS = 60_000; field in TetheringManager405 if (!mWaiting.block(DEFAULT_TIMEOUT_MS)) { in waitForResult()463 mWaitForCallback.block(DEFAULT_TIMEOUT_MS); in waitForStarted()
309 httpsURLConnection.setConnectTimeout(HttpsServiceConnection.DEFAULT_TIMEOUT_MS); in performTlsConnection()310 httpsURLConnection.setReadTimeout(HttpsServiceConnection.DEFAULT_TIMEOUT_MS); in performTlsConnection()