Home
last modified time | relevance | path

Searched refs:WAIT_TIMEOUT (Results 1 – 8 of 8) 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.java57 private static final long WAIT_TIMEOUT = 10 * 1000; // 10 seconds field in MediaRecorderStressTest
86 if (! sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in setUp()
108 mLooperThread.join(WAIT_TIMEOUT); in tearDown()
131 if (! sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in runOnLooper()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/camera/
DCameraFunctionalTest.java48 private static final long WAIT_TIMEOUT = 10 * 1000; // 10 seconds field in CameraFunctionalTest
74 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in setUp()
90 mLooperThread.join(WAIT_TIMEOUT); in tearDown()
111 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in runOnLooper()
DCameraPairwiseTest.java50 private static final long WAIT_TIMEOUT = 10 * 1000; // 10 seconds field in CameraPairwiseTest
82 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in setUp()
98 mLooperThread.join(WAIT_TIMEOUT); in tearDown()
119 if (!sem.tryAcquire(WAIT_TIMEOUT, TimeUnit.MILLISECONDS)) { in runOnLooper()
/frameworks/native/services/inputflinger/tests/
DTestConstants.h28 static constexpr std::chrono::duration WAIT_TIMEOUT = 100ms; variable
DFakeInputReaderPolicy.cpp48 mStylusGestureNotifiedCondition.wait_for(lock, WAIT_TIMEOUT, [this]() REQUIRES(mLock) { in assertStylusGestureNotified()
244 mDevicesChangedCondition.wait_for(lock, WAIT_TIMEOUT, [this]() REQUIRES(mLock) { in waitForInputDevices()
DFakeEventHub.cpp232 mEventsCondition.wait_for(lock, WAIT_TIMEOUT, in assertQueueIsEmpty()
DInputReader_test.cpp211 mStateChangedCondition.wait_for(lock, WAIT_TIMEOUT, [this]() REQUIRES(mLock) { in assertConfigureWasCalled()
224 mStateChangedCondition.wait_for(lock, WAIT_TIMEOUT, [this]() REQUIRES(mLock) { in assertResetWasCalled()
242 mStateChangedCondition.wait_for(lock, WAIT_TIMEOUT, [this]() REQUIRES(mLock) { in assertProcessWasCalled()