Home
last modified time | relevance | path

Searched refs:SHORT_TIMEOUT_MS (Results 1 – 3 of 3) sorted by relevance

/packages/modules/NetworkStack/tests/unit/src/android/net/testutils/
DTestableNetworkCallbackTest.kt28 const val SHORT_TIMEOUT_MS = 20L in <lambda>() constant
99 mCallback.assertNoCallback(SHORT_TIMEOUT_MS) in <lambda>()
101 assertFails { mCallback.assertNoCallback(SHORT_TIMEOUT_MS) } in <lambda>()
111 assertFails { mCallback.expectCapabilitiesWith(NOT_METERED, matcher, SHORT_TIMEOUT_MS) } in <lambda>()
112 assertFails { mCallback.expectCapabilitiesWithout(NOT_METERED, matcher, SHORT_TIMEOUT_MS) } in <lambda>()
118 assertFails { mCallback.expectCapabilitiesWithout(NOT_METERED, matcher, SHORT_TIMEOUT_MS) } in <lambda>()
122 assertFails { mCallback.expectCapabilitiesWith(NOT_METERED, matcher, SHORT_TIMEOUT_MS) } in <lambda>()
132 assertFails { mCallback.expectCallbackThat(SHORT_TIMEOUT_MS) { true } } in <lambda>()
138 assertFails { mCallback.expectCallbackThat(SHORT_TIMEOUT_MS) { false } } in <lambda>()
144 assertFails { mCallback.expectCallbackThat(SHORT_TIMEOUT_MS) { cb -> in <lambda>()
[all …]
/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/util/
DDnsUtilsTest.kt41 const val SHORT_TIMEOUT_MS = 200 constant
89 FLAG_EMPTY, SHORT_TIMEOUT_MS, mockLogger) in verifyGetAllByNameFails()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DRaceConditionReproducer.java73 private static final long SHORT_TIMEOUT_MS = 2000; field in RaceConditionReproducer
387 POSTPONED_EVENT_RESUME_HANDLER.postDelayed(mResumeAllEventsCallback, SHORT_TIMEOUT_MS); in scheduleResumeAllEventsLocked()