Home
last modified time | relevance | path

Searched refs:timeoutSec (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/permission/src/android/permission/cts/
DPermissionGroupChange.java74 private void eventually(ThrowingRunnable runnable, long timeoutSec) throws Throwable { in eventually() argument
81 if (System.nanoTime() - startTime < TimeUnit.SECONDS.toNanos(timeoutSec)) { in eventually()
114 private void waitUntilPermissionGranted(String permName, long timeoutSec) throws Throwable { in waitUntilPermissionGranted() argument
128 }, timeoutSec); in waitUntilPermissionGranted()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp460 int64_t getCaptureSequenceLastFrameNumber(int64_t sequenceId, uint32_t timeoutSec) { in getCaptureSequenceLastFrameNumber() argument
466 std::chrono::seconds(timeoutSec); in getCaptureSequenceLastFrameNumber()
479 bool waitForFrameNumber(int64_t frameNumber, uint32_t timeoutSec) { in waitForFrameNumber() argument
486 std::chrono::seconds(timeoutSec); in waitForFrameNumber()
1434 int64_t getCaptureSequenceLastFrameNumber(int64_t sequenceId, uint32_t timeoutSec) { in getCaptureSequenceLastFrameNumber() argument
1435 return mResultListener.getCaptureSequenceLastFrameNumber(sequenceId, timeoutSec); in getCaptureSequenceLastFrameNumber()
1438 bool waitForFrameNumber(int64_t frameNumber, uint32_t timeoutSec) { in waitForFrameNumber() argument
1439 return mResultListener.waitForFrameNumber(frameNumber, timeoutSec); in waitForFrameNumber()
2324 uint32_t timeoutSec = 1; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate() local
2503 lastFrameNumber = testCase.getCaptureSequenceLastFrameNumber(sequenceId, timeoutSec); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate()
[all …]
/cts/tests/tests/net/src/android/net/wifi/aware/cts/
DSingleDeviceTest.java282 boolean waitForCallback(int callback, int timeoutSec) { in waitForCallback() argument
294 return mBlocker.await(timeoutSec, TimeUnit.SECONDS); in waitForCallback()