Searched refs:timeoutSec (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/permission/src/android/permission/cts/ |
D | PermissionGroupChange.java | 70 private void eventually(ThrowingRunnable runnable, long timeoutSec) throws Throwable { in eventually() argument 77 if (System.nanoTime() - startTime < TimeUnit.SECONDS.toNanos(timeoutSec)) { in eventually() 110 private void waitUntilPermissionGranted(String permName, long timeoutSec) throws Throwable { in waitUntilPermissionGranted() argument 124 }, timeoutSec); in waitUntilPermissionGranted()
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 326 int64_t getCaptureSequenceLastFrameNumber(int64_t sequenceId, uint32_t timeoutSec) { in getCaptureSequenceLastFrameNumber() argument 332 std::chrono::seconds(timeoutSec); in getCaptureSequenceLastFrameNumber() 345 bool waitForFrameNumber(int64_t frameNumber, uint32_t timeoutSec) { in waitForFrameNumber() argument 353 std::chrono::seconds(timeoutSec); in waitForFrameNumber() 989 int64_t getCaptureSequenceLastFrameNumber(int64_t sequenceId, uint32_t timeoutSec) { in getCaptureSequenceLastFrameNumber() argument 990 return mResultListener.getCaptureSequenceLastFrameNumber(sequenceId, timeoutSec); in getCaptureSequenceLastFrameNumber() 993 bool waitForFrameNumber(int64_t frameNumber, uint32_t timeoutSec) { in waitForFrameNumber() argument 994 return mResultListener.waitForFrameNumber(frameNumber, timeoutSec); in waitForFrameNumber() 1802 uint32_t timeoutSec = 1; in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate() local 1969 lastFrameNumber = testCase.getCaptureSequenceLastFrameNumber(sequenceId, timeoutSec); in Java_android_hardware_camera2_cts_NativeCameraDeviceTest_testCameraDeviceSharedOutputUpdate() [all …]
|
/cts/tests/tests/net/src/android/net/wifi/aware/cts/ |
D | SingleDeviceTest.java | 277 boolean waitForCallback(int callback, int timeoutSec) { in waitForCallback() argument 289 return mBlocker.await(timeoutSec, TimeUnit.SECONDS); in waitForCallback()
|