Home
last modified time | relevance | path

Searched refs:DEFAULT_TIMEOUT_MS (Results 1 – 8 of 8) sorted by relevance

/frameworks/libs/net/common/testutils/devicetests/com/android/testutils/
DTestableNetworkStatsProviderCbBinder.kt25 private const val DEFAULT_TIMEOUT_MS = 3000L constant
69 val event = history.poll(DEFAULT_TIMEOUT_MS) in expectNotifyStatsUpdated()
74 val event = history.poll(DEFAULT_TIMEOUT_MS)!! in expectNotifyStatsUpdated()
84 assertEquals(CallbackType.NotifyWarningReached, history.poll(DEFAULT_TIMEOUT_MS)) in expectNotifyWarningReached()
87 assertEquals(CallbackType.NotifyLimitReached, history.poll(DEFAULT_TIMEOUT_MS)) in expectNotifyWarningReached()
90 assertEquals(CallbackType.NotifyWarningOrLimitReached, history.poll(DEFAULT_TIMEOUT_MS)) in expectNotifyWarningReached()
93 assertEquals(CallbackType.NotifyAlertReached, history.poll(DEFAULT_TIMEOUT_MS)) in expectNotifyWarningReached()
DTestableNetworkStatsProviderBinder.kt23 private const val DEFAULT_TIMEOUT_MS = 200L constant
51 assertEquals(CallbackType.OnRequestStatsUpdate(token), history.poll(DEFAULT_TIMEOUT_MS)) in expectOnRequestStatsUpdate()
56 history.poll(DEFAULT_TIMEOUT_MS)) in expectOnSetWarningAndLimit()
60 assertEquals(CallbackType.OnSetAlert(quotaBytes), history.poll(DEFAULT_TIMEOUT_MS)) in expectOnSetAlert()
64 fun assertNoCallback(timeout: Long = DEFAULT_TIMEOUT_MS) { in assertNoCallback()
DTestableNetworkAgent.kt69 val DEFAULT_TIMEOUT_MS = 5000L constant
185 val foundCallback = history.poll(DEFAULT_TIMEOUT_MS) in expectCallback()
191 val foundCallback = history.poll(DEFAULT_TIMEOUT_MS) in expectCallback()
197 history.poll(DEFAULT_TIMEOUT_MS) { it is T }.also { in eventuallyExpect()
202 assertTrue(waitForIdle(DEFAULT_TIMEOUT_MS), in assertNoCallback()
DTestableNetworkStatsProvider.kt26 private const val DEFAULT_TIMEOUT_MS = 200L constant
30 val defaultTimeoutMs: Long = DEFAULT_TIMEOUT_MS
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
DSettingsHelper.java35 private static int DEFAULT_TIMEOUT_MS = 5000; field in SettingsHelper
66 DEFAULT_TIMEOUT_MS); in syncSet()
92 DEFAULT_TIMEOUT_MS); in syncDelete()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/
DMffFilterTestCase.java49 private static final long DEFAULT_TIMEOUT_MS = 1000; field in MffFilterTestCase
124 process(DEFAULT_TIMEOUT_MS); in process()
/frameworks/base/services/core/java/com/android/server/wm/
DTransitionController.java75 private static final int DEFAULT_TIMEOUT_MS = 5000; field in TransitionController
192 transition.mType == TRANSIT_CHANGE ? CHANGE_TIMEOUT_MS : DEFAULT_TIMEOUT_MS; in moveToCollecting()
/frameworks/base/core/java/com/android/internal/jank/
DInteractionJankMonitor.java148 private static final long DEFAULT_TIMEOUT_MS = TimeUnit.SECONDS.toMillis(2L); field in InteractionJankMonitor
984 private long mAttrTimeout = DEFAULT_TIMEOUT_MS;