Home
last modified time | relevance | path

Searched refs:waitForState (Results 1 – 21 of 21) sorted by relevance

/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricTestBase.java143 protected void waitForState(@BiometricServiceState.AuthSessionState int state) in waitForState() method in BiometricTestBase
195 waitForState(STATE_AUTH_IDLE); in successfullyAuthenticate()
197 waitForState(STATE_AUTH_IDLE); in successfullyAuthenticate()
205 waitForState(STATE_SHOWING_DEVICE_CREDENTIAL); in successfullyEnterCredential()
222 waitForState(STATE_AUTH_IDLE); in successfullyEnterCredential()
231 waitForState(STATE_AUTH_IDLE); in cancelAuthentication()
293 waitForState(STATE_SHOWING_DEVICE_CREDENTIAL); in showCredentialOnlyBiometricPromptWithContents()
329 waitForState(STATE_SHOWING_DEVICE_CREDENTIAL); in showDeviceCredentialAllowedBiometricPrompt()
355 waitForState(STATE_AUTH_STARTED_UI_SHOWING); in showDefaultBiometricPrompt()
381 waitForState(STATE_AUTH_STARTED_UI_SHOWING); in showDefaultBiometricPromptWithContents()
DBiometricActivityTests.java157 waitForState(STATE_AUTH_STARTED_UI_SHOWING); in testBiometricOnly_rejectThenErrorFromForegroundActivity_forSensor()
226 waitForState(STATE_AUTH_STARTED_UI_SHOWING); in testBiometricOnly_rejectThenAuthenticate_forSensor()
370 waitForState(STATE_AUTH_STARTED_UI_SHOWING); in testBiometricOrCredential_credentialButtonInvoked_forConfiguration()
380 waitForState(STATE_SHOWING_DEVICE_CREDENTIAL); in testBiometricOrCredential_credentialButtonInvoked_forConfiguration()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraExtensionSessionTest.java166 sessionListener.getStateWaiter().waitForState( in testBasicExtensionLifecycle()
228 regularSessionListener.getStateWaiter().waitForState( in testCloseCaptureSession()
233 sessionListener.getStateWaiter().waitForState( in testCloseCaptureSession()
289 sessionListener.getStateWaiter().waitForState( in testCloseExtensionSession()
297 regularSessionListener.getStateWaiter().waitForState( in testCloseExtensionSession()
351 sessionListener.getStateWaiter().waitForState( in testGetDevice()
439 sessionListener.getStateWaiter().waitForState( in testRepeatingCapture()
594 sessionListener.getStateWaiter().waitForState( in testMultiFrameCapture()
725 sessionListener.getStateWaiter().waitForState( in testConcurrentSessions()
741 concurrentSessionListener.getStateWaiter().waitForState( in testConcurrentSessions()
[all …]
DAllocationTest.java419 mSessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_CLOSED, in stopCapture()
810 mCameraListener.waitForState(STATE_OPENED, CAMERA_OPEN_TIMEOUT_MS); in openDevice()
816 mCameraListener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeDevice()
892 mSessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_ACTIVE, in forEachResult()
907 mSessionListener.getStateWaiter().waitForState( in forEachResult()
DSurfaceViewPreviewTest.java364 sessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_READY, in surfaceEqualityTestByCamera()
379 sessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_READY, in surfaceEqualityTestByCamera()
519 sessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_READY, in testDeferredSurfacesByCamera()
DCameraDeviceTest.java1888 mCameraMockListener.waitForState(state, timeoutMs); in waitForDeviceState()
1893 mSessionWaiter.waitForState(state, timeoutMs); in waitForSessionState()
2783 cam0Cb.waitForState(STATE_OPENED, CAMERA_OPEN_TIMEOUT_MS); in testTwoCameraDevicesAudioRestriction()
2798 cam1Cb.waitForState(STATE_OPENED, CAMERA_OPEN_TIMEOUT_MS); in testTwoCameraDevicesAudioRestriction()
2803 cam0Cb.waitForState(STATE_DISCONNECTED, cameraEvictedTimeoutMs); in testTwoCameraDevicesAudioRestriction()
2859 cam0Cb.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in testTwoCameraDevicesAudioRestriction()
2877 cam0Cb.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in testTwoCameraDevicesAudioRestriction()
2882 cam1Cb.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in testTwoCameraDevicesAudioRestriction()
DLogicalCameraDeviceTest.java285 mSessionWaiter.waitForState(BlockingSessionCallback.SESSION_CONFIGURE_FAILED, in testBasicLogicalPhysicalStreamCombination()
425 mSessionWaiter.waitForState(BlockingSessionCallback.SESSION_CONFIGURE_FAILED, in testBasicPhysicalRequests()
1099 mSessionWaiter.waitForState(BlockingSessionCallback.SESSION_CONFIGURE_FAILED, in testBasicPhysicalStreamingForCamera()
DReprocessCaptureTest.java910 mSessionListener.getStateWaiter().waitForState( in testReprocessAbort()
925 mSessionListener.getStateWaiter().waitForState( in testReprocessAbort()
953 mSessionListener.getStateWaiter().waitForState( in testReprocessAbort()
DImageReaderTest.java1057 mCameraSessionListener.getStateWaiter().waitForState( in discardFreeBuffersTestByCamera()
DRecordingTest.java2020 mSessionListener.getStateWaiter().waitForState(SESSION_CLOSED, SESSION_CLOSE_TIMEOUT_MS); in stopCameraStreaming()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/helpers/
DCameraSessionUtils.java79 getStateWaiter().waitForState(SESSION_CONFIGURED, in getConfiguredSession()
120 getStateWaiter().waitForState(CAPTURE_COMPLETED, in getCapturedResult()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2ConcurrentAndroidTestCase.java215 waitForState(BlockingSessionCallback.SESSION_READY, CAMERA_IDLE_TIMEOUT_MS); in stopCapture()
219 waitForState(BlockingSessionCallback.SESSION_CLOSED, CAMERA_IDLE_TIMEOUT_MS); in stopCapture()
302 listener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeDevice()
DCamera2AndroidTestCase.java206 waitForState(BlockingSessionCallback.SESSION_READY, CAMERA_IDLE_TIMEOUT_MS); in stopCapture()
210 waitForState(BlockingSessionCallback.SESSION_CLOSED, CAMERA_IDLE_TIMEOUT_MS); in stopCapture()
315 listener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeDevice()
DCamera2AndroidTestRule.java331 waitForState(BlockingSessionCallback.SESSION_READY, CAMERA_IDLE_TIMEOUT_MS); in stopCapture()
335 waitForState(BlockingSessionCallback.SESSION_CLOSED, CAMERA_IDLE_TIMEOUT_MS); in stopCapture()
427 listener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeDevice()
DCamera2MultiViewTestCase.java463 mBlockingStateListener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in close()
578 mSessionListener.getStateWaiter().waitForState( in stopPreview()
590 mSessionListener.getStateWaiter().waitForState( in stopRepeating()
DCamera2SurfaceViewTestCase.java262 mSessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_CLOSED, in stopPreviewAndDrain()
659 mCameraListener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeDevice()
/cts/tests/tests/nativemedia/aaudio/jni/
Dutils.h63 void waitForState(aaudio_stream_state_t targetState) { in waitForState() function
Dtest_aaudio_callback.cpp253 mHelper->waitForState(AAUDIO_STREAM_STATE_STOPPED); in TEST_P()
403 mHelper->waitForState(AAUDIO_STREAM_STATE_STOPPED); in TEST_P()
/cts/tests/tests/permission/src/android/permission/cts/
DCamera2PermissionTest.java187 mCameraListener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeCamera()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java805 mSessionListener.getStateWaiter().waitForState( in takePicture()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DItsService.java1745 sessionListener.getStateWaiter().waitForState(