Home
last modified time | relevance | path

Searched refs:latch (Results 1 – 4 of 4) sorted by relevance

/platform_testing/libraries/car-helpers/multiuser-helper/src/android/platform/helpers/
DMultiUserHelper.java123 final CountDownLatch latch = new CountDownLatch(1); in switchToUserId() local
130 latch.countDown(); in switchToUserId()
147 if (!latch.await(USER_SWITCH_TIMEOUT_SECOND, TimeUnit.SECONDS)) { in switchToUserId()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DInputDeviceRule.kt113 deviceAddedMap[device]!!.let { latch -> in <lambda>() method
114 latch.await(20, TimeUnit.SECONDS) in <lambda>()
115 if (latch.count != 0L) { in <lambda>()
/platform_testing/libraries/systemui-helper/src/android/platform/helpers/media/
DMediaController.java106 CountDownLatch latch = new CountDownLatch(1); in runToNextState() local
108 mStateListener = latch::countDown; in runToNextState()
112 if (!latch.await(WAIT_TIME_MILLIS, TimeUnit.MILLISECONDS)) { in runToNextState()
/platform_testing/tests/perf/BootHelperApp/src/com/android/boothelper/
DBootHelperTest.java88 final CountDownLatch latch = new CountDownLatch(1); in unlockScreenWithPin() local
92 latch.countDown(); in unlockScreenWithPin()