Home
last modified time | relevance | path

Searched refs:WAIT_TIMEOUT (Results 1 – 5 of 5) 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.java160 private static final long WAIT_TIMEOUT = 2 * 1000; // 2 secs field in NetworkStatsServiceTest
703 HandlerUtilsKt.waitForIdle(mHandlerThread, WAIT_TIMEOUT);
1068 HandlerUtilsKt.waitForIdle(mHandlerThread, WAIT_TIMEOUT);
1102 assertTrue(cv.block(WAIT_TIMEOUT));
1113 assertTrue(cv.block(WAIT_TIMEOUT));
1206 HandlerUtilsKt.waitForIdle(mHandlerThread, WAIT_TIMEOUT);
1267 HandlerUtilsKt.waitForIdle(mHandlerThread, WAIT_TIMEOUT);
1289 HandlerUtilsKt.waitForIdle(mHandlerThread, WAIT_TIMEOUT);
1523 HandlerUtilsKt.waitForIdle(mHandlerThread, WAIT_TIMEOUT);