Home
last modified time | relevance | path

Searched refs:WAIT_TIMEOUT (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCameraStressTest.java53 private static final long WAIT_TIMEOUT = 10 * 1000; // 10 seconds field in CameraStressTest
81 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in setUp()
102 mLooperThread.join(WAIT_TIMEOUT); in tearDown()
125 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in runOnLooper()
DMediaRecorderStressTest.java56 private static final long WAIT_TIMEOUT = 10 * 1000; // 10 seconds field in MediaRecorderStressTest
85 if (! sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in setUp()
107 mLooperThread.join(WAIT_TIMEOUT); in tearDown()
130 if (! sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in runOnLooper()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraFunctionalTest.java47 private static final long WAIT_TIMEOUT = 10 * 1000; // 10 seconds field in CameraFunctionalTest
73 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in setUp()
89 mLooperThread.join(WAIT_TIMEOUT); in tearDown()
110 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in runOnLooper()
DCameraPairwiseTest.java49 private static final long WAIT_TIMEOUT = 10 * 1000; // 10 seconds field in CameraPairwiseTest
81 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in setUp()
97 mLooperThread.join(WAIT_TIMEOUT); in tearDown()
118 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in runOnLooper()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java156 private static final long WAIT_TIMEOUT = 2 * 1000; // 2 secs field in NetworkStatsServiceTest
683 HandlerUtilsKt.waitForIdle(mHandlerThread, WAIT_TIMEOUT);
1048 HandlerUtilsKt.waitForIdle(mHandlerThread, WAIT_TIMEOUT);
1082 assertTrue(cv.block(WAIT_TIMEOUT));
1093 assertTrue(cv.block(WAIT_TIMEOUT));
1186 HandlerUtilsKt.waitForIdle(mHandlerThread, WAIT_TIMEOUT);
1406 HandlerUtilsKt.waitForIdle(mHandlerThread, WAIT_TIMEOUT);
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp41 static constexpr std::chrono::duration WAIT_TIMEOUT = 100ms; variable
345 mDevicesChangedCondition.wait_for(lock, WAIT_TIMEOUT, [this]() REQUIRES(mLock) { in waitForInputDevices()
572 mEventsCondition.wait_for(lock, WAIT_TIMEOUT, in assertQueueIsEmpty()
991 mStateChangedCondition.wait_for(lock, WAIT_TIMEOUT, [this]() REQUIRES(mLock) { in assertConfigureWasCalled()
1004 mStateChangedCondition.wait_for(lock, WAIT_TIMEOUT, [this]() REQUIRES(mLock) { in assertResetWasCalled()
1017 mStateChangedCondition.wait_for(lock, WAIT_TIMEOUT, [this]() REQUIRES(mLock) { in assertProcessWasCalled()