Home
last modified time | relevance | path

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

12

/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricTestBase.java196 protected void waitForState(@BiometricServiceState.AuthSessionState int state) in waitForState() method in BiometricTestBase
267 waitForState(STATE_AUTH_IDLE); in successfullyAuthenticate()
269 waitForState(STATE_AUTH_IDLE); in successfullyAuthenticate()
299 waitForState(STATE_SHOWING_DEVICE_CREDENTIAL); in successfullyEnterCredential()
322 waitForState(STATE_AUTH_IDLE); in successfullyEnterCredential()
331 waitForState(STATE_AUTH_IDLE); in cancelAuthentication()
447 waitForState(STATE_AUTH_STARTED_UI_SHOWING); in showDefaultBiometricPromptWithLogo()
476 waitForState(STATE_AUTH_STARTED_UI_SHOWING); in showDefaultBiometricPromptWithContents()
643 waitForState(STATE_AUTH_STARTED_UI_SHOWING); in waitForCredentialIdle()
645 waitForState(STATE_SHOWING_DEVICE_CREDENTIAL); in waitForCredentialIdle()
[all …]
DBiometricActivityTests.java169 waitForState(STATE_AUTH_STARTED_UI_SHOWING); in testBiometricOnly_rejectThenErrorFromForegroundActivity_forSensor()
244 waitForState(STATE_AUTH_STARTED_UI_SHOWING); in testBiometricOnly_rejectThenAuthenticate_forSensor()
411 waitForState(STATE_AUTH_STARTED_UI_SHOWING); in testBiometricOrCredential_credentialButtonInvoked_forConfiguration()
421 waitForState(STATE_SHOWING_DEVICE_CREDENTIAL); in testBiometricOrCredential_credentialButtonInvoked_forConfiguration()
DBiometricPromptContentViewTest.java587 waitForState(STATE_AUTH_IDLE); in checkMoreOptionsButton()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraManagerTest.java366 mCameraListener.waitForState(BlockingStateCallback.STATE_OPENED, in testCameraManagerOpenCamerasSerially()
506 blockingListener.waitForState( in testCameraManagerOpenAllCameras()
564 successListener.waitForState(BlockingStateCallback.STATE_OPENED, in testCameraManagerOpenCameraTwice()
571 failListener.waitForState(BlockingStateCallback.STATE_OPENED, in testCameraManagerOpenCameraTwice()
735 mCameraListener.waitForState(BlockingStateCallback.STATE_OPENED, in testCameraManagerListenerCallbacks()
768 mCameraListener.waitForState(BlockingStateCallback.STATE_CLOSED, in testCameraManagerListenerCallbacks()
811 mCameraListener.waitForState(BlockingStateCallback.STATE_OPENED, in testCameraManagerListenerCallbacks()
818 mCameraListener.waitForState(BlockingStateCallback.STATE_CLOSED, in testCameraManagerListenerCallbacks()
859 mCameraListener.waitForState(BlockingStateCallback.STATE_OPENED, in testCameraManagerListenerCallbacks()
876 mCameraListener.waitForState(BlockingStateCallback.STATE_CLOSED, in testCameraManagerListenerCallbacks()
DCameraExtensionSessionTest.java238 sessionListener.getStateWaiter().waitForState( in testBasicExtensionLifecycle()
299 regularSessionListener.getStateWaiter().waitForState( in testCloseCaptureSession()
304 sessionListener.getStateWaiter().waitForState( in testCloseCaptureSession()
359 sessionListener.getStateWaiter().waitForState( in testCloseExtensionSession()
367 regularSessionListener.getStateWaiter().waitForState( in testCloseExtensionSession()
420 sessionListener.getStateWaiter().waitForState( in testGetDevice()
518 sessionListener.getStateWaiter().waitForState( in testRepeatingCapture()
770 sessionListener.getStateWaiter().waitForState( in testPostviewAndCapture()
1039 sessionListener.getStateWaiter().waitForState( in test10bitRepeatingAndCaptureCombined()
1217 sessionListener.getStateWaiter().waitForState( in testMultiFrameCapture()
[all …]
DSurfaceViewExtensionPreviewTest.java127 sessionListener.getStateWaiter().waitForState( in testExtensionPreview()
DSurfaceViewPreviewTest.java365 sessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_READY, in surfaceEqualityTestByCamera()
380 sessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_READY, in surfaceEqualityTestByCamera()
507 sessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_READY, in testDeferredSurfacesByCamera()
DOfflineSessionTest.java171 offlineCb.waitForState(BlockingOfflineSessionCallback.STATE_SWITCH_FAILED, in testInvalidOutput()
744 offlineCb.waitForState(BlockingOfflineSessionCallback.STATE_IDLE, in camera2OfflineSessionTest()
774 offlineCb.waitForState(BlockingOfflineSessionCallback.STATE_CLOSED, in camera2OfflineSessionTest()
DCameraDeviceTest.java1899 mCameraMockListener.waitForState(state, timeoutMs); in waitForDeviceState()
1904 mSessionWaiter.waitForState(state, timeoutMs); in waitForSessionState()
2796 cam0Cb.waitForState(STATE_OPENED, CAMERA_OPEN_TIMEOUT_MS); in testTwoCameraDevicesAudioRestriction()
2811 cam1Cb.waitForState(STATE_OPENED, CAMERA_OPEN_TIMEOUT_MS); in testTwoCameraDevicesAudioRestriction()
2816 cam0Cb.waitForState(STATE_DISCONNECTED, cameraEvictedTimeoutMs); in testTwoCameraDevicesAudioRestriction()
2872 cam0Cb.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in testTwoCameraDevicesAudioRestriction()
2890 cam0Cb.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in testTwoCameraDevicesAudioRestriction()
2895 cam1Cb.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in testTwoCameraDevicesAudioRestriction()
DCameraDeviceSetupTest.java184 callback.waitForState(BlockingStateCallback.STATE_OPENED, CAMERA_STATE_TIMEOUT_MS); in testOpenSuccessful()
193 callback.waitForState(BlockingStateCallback.STATE_CLOSED, CAMERA_STATE_TIMEOUT_MS); in testOpenSuccessful()
DReprocessCaptureTest.java908 mSessionListener.getStateWaiter().waitForState( in testReprocessAbort()
923 mSessionListener.getStateWaiter().waitForState( in testReprocessAbort()
951 mSessionListener.getStateWaiter().waitForState( in testReprocessAbort()
DLogicalCameraDeviceTest.java299 mSessionWaiter.waitForState(BlockingSessionCallback.SESSION_CONFIGURE_FAILED, in testBasicLogicalPhysicalStreamCombination()
446 mSessionWaiter.waitForState(BlockingSessionCallback.SESSION_CONFIGURE_FAILED, in testBasicPhysicalRequests()
1146 mSessionWaiter.waitForState(BlockingSessionCallback.SESSION_CONFIGURE_FAILED, in testBasicPhysicalStreamingForCamera()
/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()
DCameraMetadataGetter.java221 mCameraListener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in getCaptureRequestTemplates()
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2ConcurrentAndroidTestCase.java226 waitForState(BlockingSessionCallback.SESSION_READY, CAMERA_IDLE_TIMEOUT_MS); in stopCapture()
230 waitForState(BlockingSessionCallback.SESSION_CLOSED, CAMERA_IDLE_TIMEOUT_MS); in stopCapture()
313 listener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeDevice()
DCamera2AndroidTestCase.java236 waitForState(BlockingSessionCallback.SESSION_READY, CAMERA_IDLE_TIMEOUT_MS); in stopCapture()
240 waitForState(BlockingSessionCallback.SESSION_CLOSED, CAMERA_IDLE_TIMEOUT_MS); in stopCapture()
381 listener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeDevice()
DCamera2AndroidTestRule.java342 waitForState(BlockingSessionCallback.SESSION_READY, CAMERA_IDLE_TIMEOUT_MS); in stopCapture()
346 waitForState(BlockingSessionCallback.SESSION_CLOSED, CAMERA_IDLE_TIMEOUT_MS); in stopCapture()
438 listener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeDevice()
DCamera2MultiViewTestCase.java483 mBlockingStateListener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in close()
599 mSessionListener.getStateWaiter().waitForState( in stopPreview()
611 mSessionListener.getStateWaiter().waitForState( in stopRepeating()
DCamera2SurfaceViewTestCase.java263 mSessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_CLOSED, in stopPreviewAndDrain()
660 mCameraListener.waitForState(STATE_CLOSED, CAMERA_CLOSE_TIMEOUT_MS); in closeDevice()
/cts/tests/tests/nativemedia/aaudio/jni/
Dutils.h70 void waitForState(aaudio_stream_state_t targetState) { in waitForState() function
Dtest_aaudio_callback.cpp280 mHelper->waitForState(AAUDIO_STREAM_STATE_STOPPED); in TEST_P()
460 mHelper->waitForState(AAUDIO_STREAM_STATE_STOPPED); in TEST_P()
/cts/tests/camera/headlessSystemUserTest/src/android/camera/cts/headlesssystemusertest/
DCamera2HeadlessSystemUserTest.java196 mCameraListener.waitForState(BlockingStateCallback.STATE_OPENED, in openCameraAsHeadlessSystemUser()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/
DCameraMuteToggleActivity.java397 mSessionListener.getStateWaiter().waitForState( in takePicture()
DItsService.java2122 mSessionListener.getStateWaiter().waitForState(
2330 mSessionListener.getStateWaiter().waitForState(
3157 sessionListener.getStateWaiter().waitForState(
3324 sessionListener.getStateWaiter().waitForState(
3384 sessionListener.getStateWaiter().waitForState(
3477 sessionListener.getStateWaiter().waitForState(
3922 sessionListener.getStateWaiter().waitForState(
4000 mSessionListener.getStateWaiter().waitForState(
4078 mSessionListener.getStateWaiter().waitForState(
4085 mSessionListener.getStateWaiter().waitForState(
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java932 mSessionListener.getStateWaiter().waitForState( in takePicture()

12