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.java77 private void eventually(ThrowingRunnable runnable, long timeoutSec) throws Throwable { in eventually() argument
84 if (System.nanoTime() - startTime < TimeUnit.SECONDS.toNanos(timeoutSec)) { in eventually()
121 private void waitUntilPermissionGranted(String permName, long timeoutSec) throws Throwable { in waitUntilPermissionGranted() argument
135 }, 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()
1437 int64_t getCaptureSequenceLastFrameNumber(int64_t sequenceId, uint32_t timeoutSec) { in getCaptureSequenceLastFrameNumber() argument
1438 return mResultListener.getCaptureSequenceLastFrameNumber(sequenceId, timeoutSec); in getCaptureSequenceLastFrameNumber()
1441 bool waitForFrameNumber(int64_t frameNumber, uint32_t timeoutSec) { in waitForFrameNumber() argument
1442 return mResultListener.waitForFrameNumber(frameNumber, timeoutSec); in waitForFrameNumber()
2327 uint32_t timeoutSec = 1; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate() local
2506 lastFrameNumber = testCase.getCaptureSequenceLastFrameNumber(sequenceId, timeoutSec); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate()
[all …]
/cts/tests/tests/wifi/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()