/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 102 protected BlockingSessionCallback mSessionListener; field in Camera2SurfaceViewTestCase 217 mSessionListener = new BlockingSessionCallback(); in configurePreviewOutput() 218 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in configurePreviewOutput() 262 mSessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_CLOSED, in stopPreviewAndDrain() 612 mSessionListener = new BlockingSessionCallback(); in prepareStillCaptureAndStartPreview() 613 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in prepareStillCaptureAndStartPreview() 662 mSessionListener = null; in closeDevice() 790 mSessionListener = new BlockingSessionCallback(); in prepareCaptureAndStartPreview() 792 mSessionListener = new BlockingSessionCallback(sessionListener); in prepareCaptureAndStartPreview() 794 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in prepareCaptureAndStartPreview()
|
D | Camera2MultiViewTestCase.java | 420 private BlockingSessionCallback mSessionListener; field in Camera2MultiViewTestCase.CameraHolder 492 mSessionListener = new BlockingSessionCallback(); in startPreview() 493 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in startPreview() 510 mSessionListener = new BlockingSessionCallback(); in createSessionWithConfigs() 511 … mSession = configureCameraSessionWithConfig(mCamera, outputConfigs, mSessionListener, mHandler); in createSessionWithConfigs() 597 mSessionListener.getStateWaiter().waitForState( in stopPreview() 599 mSessionListener = null; in stopPreview() 609 mSessionListener.getStateWaiter().waitForState( in stopRepeating()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | CameraMuteToggleActivity.java | 92 private BlockingSessionCallback mSessionListener; field in CameraMuteToggleActivity 376 mSessionListener = new BlockingSessionCallback(); in startPreview() 380 mCameraDevice.createCaptureSession(outputSurfaces, mSessionListener, mCameraHandler); in startPreview() 381 mCaptureSession = mSessionListener.waitAndGetSession(/*timeoutMs*/3000); in startPreview() 397 mSessionListener.getStateWaiter().waitForState( in takePicture()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | LogicalCameraDeviceTest.java | 293 mSessionListener = new BlockingSessionCallback(); in testBasicLogicalPhysicalStreamCombination() 294 mSessionWaiter = mSessionListener.getStateWaiter(); in testBasicLogicalPhysicalStreamCombination() 296 mSessionListener, mHandler); in testBasicLogicalPhysicalStreamCombination() 434 mSessionListener = new BlockingSessionCallback(); in testBasicPhysicalRequests() 435 mSessionWaiter = mSessionListener.getStateWaiter(); in testBasicPhysicalRequests() 437 mSessionListener, mHandler); in testBasicPhysicalRequests() 468 mSessionListener = new BlockingSessionCallback(); in testBasicPhysicalRequests() 470 mSessionListener, mHandler); in testBasicPhysicalRequests() 551 mSessionListener = new BlockingSessionCallback(); in testInvalidPhysicalCameraRequests() 553 mSessionListener, mHandler); in testInvalidPhysicalCameraRequests() [all …]
|
D | AllocationTest.java | 91 private BlockingSessionCallback mSessionListener; field in AllocationTest 358 mSessionListener = new BlockingSessionCallback(); in configureAndCreateRequestForSurface() 359 mCamera.createCaptureSession(outputSurfaces, mSessionListener, mHandler); in configureAndCreateRequestForSurface() 360 mSession = mSessionListener.waitAndGetSession(SESSION_CONFIGURE_TIMEOUT_MS); in configureAndCreateRequestForSurface() 419 mSessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_CLOSED, in stopCapture() 422 mSessionListener = null; in stopCapture() 892 mSessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_ACTIVE, in forEachResult() 907 mSessionListener.getStateWaiter().waitForState( in forEachResult()
|
D | RecordingTest.java | 728 mSessionListener = new BlockingSessionCallback(); in testAbandonedHighSpeedRequest() 730 mSessionListener, mHandler); in testAbandonedHighSpeedRequest() 763 mSessionListener, mHandler); in testAbandonedHighSpeedRequest() 1363 mSessionListener = new BlockingSessionCallback(); in startConstrainedPreview() 1374 mSession = buildConstrainedCameraSession(mCamera, outputSurfaces, mSessionListener, in startConstrainedPreview() 1395 mSessionListener = new BlockingSessionCallback(); in startSlowMotionRecording() 1406 mSession = buildConstrainedCameraSession(mCamera, outputSurfaces, mSessionListener, in startSlowMotionRecording() 1435 mSessionListener, mHandler, initialRequest); in startSlowMotionRecording() 1910 mCamera, outputs, mSessionListener, mHandler); in videoSnapshotTestByCamera() 1927 mCamera, outputs, mSessionListener, mHandler); in videoSnapshotTestByCamera() [all …]
|
D | OfflineSessionTest.java | 592 mSessionListener = new BlockingSessionCallback(sessionCb); in camera2OfflineSessionTest() 593 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in camera2OfflineSessionTest() 713 inputConfig, outputSurfaces, mSessionListener, mHandler); in camera2OfflineSessionTest() 716 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, in camera2OfflineSessionTest()
|
D | ReprocessCaptureTest.java | 910 mSessionListener.getStateWaiter().waitForState( in testReprocessAbort() 925 mSessionListener.getStateWaiter().waitForState( in testReprocessAbort() 953 mSessionListener.getStateWaiter().waitForState( in testReprocessAbort() 1303 mSessionListener = new BlockingSessionCallback(); in setupReprocessableSession() 1305 mSessionListener, mHandler); in setupReprocessableSession()
|
D | BurstCaptureRawTest.java | 717 mSessionListener.waitForSurfacePrepared( in performTestRoutine()
|
D | StillCaptureTest.java | 1138 mSessionListener = new BlockingSessionCallback(); in fullRawCaptureTestByCamera() 1140 mSessionListener, mHandler); in fullRawCaptureTestByCamera()
|
D | CameraDeviceTest.java | 553 private final ChainedSessionListener mSessionListener = new ChainedSessionListener(); in testChainedOperation() field in CameraDeviceTest.ChainedCameraListener 565 camera.createCaptureSession(outputs, mSessionListener, mHandler); in testChainedOperation()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/ |
D | CameraBokehActivity.java | 124 private BlockingSessionCallback mSessionListener; field in CameraBokehActivity 885 mSessionListener = new BlockingSessionCallback(); in startPreview() 890 mCameraDevice.createCaptureSession(outputSurfaces, mSessionListener, mCameraHandler); in startPreview() 891 mCaptureSession = mSessionListener.waitAndGetSession(/*timeoutMs*/3000); in startPreview() 915 mSessionListener.getStateWaiter().waitForState( in takePicture()
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 989 mSessionListener.reset(); in resetCamera() 1676 if (mSessionListener.isClosed()) { in resetWithErrorLog() 1682 if (!mSessionListener.isClosed() || mSessionListener.onClosedCount() != 1) { in resetWithErrorLog() 1685 mCameraId, mSessionListener.isClosed(), mSessionListener.onClosedCount()); in resetWithErrorLog() 1688 mSessionListener.reset(); in resetWithErrorLog() 1702 return &mSessionListener; in getSessionListener() 1733 CaptureSessionListener mSessionListener; member in PreviewTestCase 1735 &mSessionListener,
|