/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
D | Camera2SurfaceViewTestCase.java | 94 protected BlockingSessionCallback mSessionListener; field in Camera2SurfaceViewTestCase 198 mSessionListener = new BlockingSessionCallback(); in configurePreviewOutput() 199 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in configurePreviewOutput() 243 mSessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_CLOSED, in stopPreviewAndDrain() 611 mSessionListener = null; in closeDevice() 739 mSessionListener = new BlockingSessionCallback(); in prepareCaptureAndStartPreview() 741 mSessionListener = new BlockingSessionCallback(sessionListener); in prepareCaptureAndStartPreview() 743 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in prepareCaptureAndStartPreview()
|
D | Camera2MultiViewTestCase.java | 381 private BlockingSessionCallback mSessionListener; field in Camera2MultiViewTestCase.CameraHolder 427 mSessionListener = new BlockingSessionCallback(); in startPreview() 428 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in startPreview() 442 mSessionListener = new BlockingSessionCallback(); in createSessionWithConfigs() 443 … mSession = configureCameraSessionWithConfig(mCamera, outputConfigs, mSessionListener, mHandler); in createSessionWithConfigs() 500 mSessionListener.getStateWaiter().waitForState( in stopPreview() 502 mSessionListener = null; in stopPreview()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | AllocationTest.java | 82 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() 400 mSessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_CLOSED, in stopCapture() 403 mSessionListener = null; in stopCapture() 870 mSessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_ACTIVE, in forEachResult() 885 mSessionListener.getStateWaiter().waitForState( in forEachResult()
|
D | RecordingTest.java | 650 mSessionListener = new BlockingSessionCallback(); in startSlowMotionRecording() 652 mSessionListener, mHandler); in startSlowMotionRecording() 1017 mCamera, outputs, mSessionListener, mHandler); in videoSnapshotTestByCamera() 1266 mSessionListener = new BlockingSessionCallback(); in startRecording() 1267 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in startRecording() 1310 mSessionListener = new BlockingSessionCallback(); in startSharedRecording() 1312 mSessionListener, mHandler); in startSharedRecording() 1349 mSessionListener.getStateWaiter().waitForState(SESSION_CLOSED, SESSION_CLOSE_TIMEOUT_MS); in stopCameraStreaming()
|
D | PerformanceTest.java | 913 mSessionListener.getStateWaiter().waitForState( in stopZslStreaming() 976 mSessionListener = new BlockingSessionCallback(); in prepareReprocessCapture() 978 mCamera, inputConfig, outSurfaces, mSessionListener, mHandler); in prepareReprocessCapture() 988 mSessionListener.getStateWaiter().waitForState(SESSION_CLOSED, in blockingStopPreview() 1015 mSessionListener = new BlockingSessionCallback(); in configureReaderAndPreviewOutputs() 1022 mSessionListener, mHandler); in configureReaderAndPreviewOutputs()
|
D | ReprocessCaptureTest.java | 801 mSessionListener.getStateWaiter().waitForState( in testReprocessAbort() 1150 mSessionListener = new BlockingSessionCallback(); in setupReprocessableSession() 1152 mSessionListener, mHandler); in setupReprocessableSession()
|
D | StillCaptureTest.java | 909 mSessionListener = new BlockingSessionCallback(); in fullRawCaptureTestByCamera() 911 mSessionListener, mHandler); in fullRawCaptureTestByCamera()
|
D | BurstCaptureRawTest.java | 707 mSessionListener.waitForSurfacePrepared( in performTestRoutine()
|
D | CameraDeviceTest.java | 527 private final ChainedSessionListener mSessionListener = new ChainedSessionListener(); in testChainedOperation() field in CameraDeviceTest.ChainedCameraListener 539 camera.createCaptureSession(outputs, mSessionListener, mHandler); in testChainedOperation()
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 387 mSessionListener.reset(); in resetCamera() 764 if (mSessionListener.isClosed()) { in resetWithErrorLog() 770 if (!mSessionListener.isClosed() || mSessionListener.onClosedCount() != 1) { in resetWithErrorLog() 773 mCameraId, mSessionListener.isClosed(), mSessionListener.onClosedCount()); in resetWithErrorLog() 776 mSessionListener.reset(); in resetWithErrorLog() 793 return &mSessionListener; in getSessionListener() 816 CaptureSessionListener mSessionListener; member in PreviewTestCase 818 &mSessionListener,
|