Home
last modified time | relevance | path

Searched refs:milliseconds (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/companion/common/src/android/companion/cts/common/
DCompanionActivity.kt26 import kotlin.time.Duration.Companion.milliseconds
64 waitForResult(timeout = 3.seconds, interval = 100.milliseconds) { in launchAndWait()
73 val result = waitForResult(timeout = 1.seconds, interval = 100.milliseconds) { in startIntentSender()
DTestBase.kt49 import kotlin.time.Duration.Companion.milliseconds
231 waitFor(timeout = 1.seconds, interval = 100.milliseconds) { in assertApplicationBinds()
239 waitFor(timeout = 1.seconds.plus(UNBIND_DELAY_DURATION), interval = 100.milliseconds) { in assertApplicationUnbinds()
247 waitFor(timeout = 3.seconds.plus(UNBIND_DELAY_DURATION), interval = 100.milliseconds) { in assertApplicationRemainsBound()
272 waitFor(timeout = 1.seconds, interval = 100.milliseconds) { in assertValidCompanionDeviceServicesBind()
283 waitFor(timeout = 3.seconds.plus(UNBIND_DELAY_DURATION), interval = 100.milliseconds) { in assertValidCompanionDeviceServicesRemainBound()
294 waitFor(timeout = 1.seconds.plus(UNBIND_DELAY_DURATION), interval = 100.milliseconds) { in assertValidCompanionDeviceServicesUnbind()
305 waitFor(timeout = 3.seconds, interval = 100.milliseconds) { in assertValidCompanionDeviceServicesRemainUnbound()
354 waitFor (timeout = 2.seconds, interval = 100.milliseconds ) { in assertDevicePresenceEvent()
DInvocationTracker.kt20 import kotlin.time.Duration.Companion.milliseconds
39 if (!waitFor(timeout, interval = 100.milliseconds) { in assertInvokedByActions()
/cts/tests/tests/companion/noservices/src/android/companion/cts/noservices/
DNoCompanionDeviceServiceTest.kt30 import kotlin.time.Duration.Companion.milliseconds
65 waitFor(timeout = 1.seconds, interval = 100.milliseconds) { in test_noService()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWallpaperWindowInputTests.kt39 import kotlin.time.Duration.Companion.milliseconds
130 while (remainingTime > 0.milliseconds) { in waitForMotionEventFromTestJournal()
166 private val TIME_SLICE = 50.milliseconds
/cts/tests/tests/companion/core/src/android/companion/cts/core/
DBackupAndRestoreTest.kt33 import kotlin.time.Duration.Companion.milliseconds in <lambda>()
232 waitFor(timeout = 1.seconds, interval = 100.milliseconds) { in <lambda>()
241 waitFor(timeout = 1.seconds, interval = 100.milliseconds) { in <lambda>()
/cts/tests/tests/view/jni/
Dandroid_view_cts_InputQueueTest.cpp37 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in waitForEvent()
/cts/hostsidetests/graphics/gpuprofiling/app/
Dandroid_graphics_cts_GpuCounters.cpp102 std::this_thread::sleep_for(std::chrono::milliseconds(100)); in main()
/cts/tests/surfacecontrol/jni/
Dandroid_view_surfacecontrol_cts_ChoreographerNativeTest.cpp286 auto delay = std::chrono::duration_cast<std::chrono::milliseconds>(DELAY_PERIOD).count(); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallback64WithDelayEventuallyRunsCallback()
342 auto delay = std::chrono::duration_cast<std::chrono::milliseconds>(DELAY_PERIOD).count(); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallbackWithDelayEventuallyRunsCallback()
391 auto delay = std::chrono::duration_cast<std::chrono::milliseconds>(DELAY_PERIOD).count(); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testPostCallbackMixedWithDelayEventuallyRunsCallback()
502 auto vsyncPeriod = std::chrono::duration_cast<std::chrono::milliseconds>( in android_view_surfacecontrol_cts_ChoreographerNativeTest_testRefreshRateCallbackMixedWithFrameCallbacks()
505 auto delay = std::chrono::duration_cast<std::chrono::milliseconds>(DELAY_PERIOD).count(); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testRefreshRateCallbackMixedWithFrameCallbacks()
542 auto delayPeriod = std::chrono::duration_cast<std::chrono::milliseconds>(DELAY_PERIOD).count(); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testRefreshRateCallbacksAreSyncedWithDisplayManager()
Dandroid_view_cts_ASurfaceControlTest.cpp654 auto delayPeriod = std::chrono::duration_cast<std::chrono::milliseconds>(DELAY_PERIOD).count(); in SurfaceControlTest_getFrameTimelines()
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DUiAutomationTestBase.kt62 import kotlin.time.Duration.Companion.milliseconds in <lambda>()
383 val result = waitFor(timeout = 5.seconds, interval = 100.milliseconds) { in <lambda>()
393 val result = waitFor(timeout = 5.seconds, interval = 100.milliseconds) { in <lambda>()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecResourceTest.java368 public ProcessInfo waitForProcessInfoMs(int milliseconds) { in waitForProcessInfoMs() argument
371 this.wait(milliseconds); in waitForProcessInfoMs()
/cts/tests/mediapc/requirements/
Drequirements.txtpb262 description: "Codec initialization latency in milliseconds"
428 description: "Codec initialization latency in milliseconds"
606 description: "Codec initialization latency in milliseconds"
1103 …specification: "MUST have a tap-to-tone latency of less than 100 milliseconds using the OboeTester…
1117 …specification: "MUST have a tap-to-tone latency of 80 milliseconds or less using the OboeTester ta…
1124 …specification: "MUST have a tap-to-tone latency of 80 milliseconds or less using the CTS Verifier …
1142 …specification: "MUST have a round-trip audio latency of 80 milliseconds or less over at least one …
/cts/tests/media/jni/
DNativeCodecUnitTest.cpp482 std::this_thread::sleep_for(std::chrono::milliseconds(kStallTimeMs)); in testFlushInRunningState()
488 std::this_thread::sleep_for(std::chrono::milliseconds(kStallTimeMs)); in testFlushInRunningState()