Home
last modified time | relevance | path

Searched refs:mSessionListener (Results 1 – 10 of 10) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/testcases/
DCamera2SurfaceViewTestCase.java95 protected BlockingSessionCallback mSessionListener; field in Camera2SurfaceViewTestCase
229 mSessionListener = new BlockingSessionCallback(); in configurePreviewOutput()
230 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in configurePreviewOutput()
274 mSessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_CLOSED, in stopPreviewAndDrain()
624 mSessionListener = new BlockingSessionCallback(); in prepareStillCaptureAndStartPreview()
625 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in prepareStillCaptureAndStartPreview()
674 mSessionListener = null; in closeDevice()
802 mSessionListener = new BlockingSessionCallback(); in prepareCaptureAndStartPreview()
804 mSessionListener = new BlockingSessionCallback(sessionListener); in prepareCaptureAndStartPreview()
806 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in prepareCaptureAndStartPreview()
DCamera2MultiViewTestCase.java438 private BlockingSessionCallback mSessionListener; field in Camera2MultiViewTestCase.CameraHolder
510 mSessionListener = new BlockingSessionCallback(); in startPreview()
511 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in startPreview()
528 mSessionListener = new BlockingSessionCallback(); in createSessionWithConfigs()
529 … mSession = configureCameraSessionWithConfig(mCamera, outputConfigs, mSessionListener, mHandler); in createSessionWithConfigs()
615 mSessionListener.getStateWaiter().waitForState( in stopPreview()
617 mSessionListener = null; in stopPreview()
627 mSessionListener.getStateWaiter().waitForState( in stopRepeating()
/cts/tests/camera/src/android/hardware/camera2/cts/
DLogicalCameraDeviceTest.java270 mSessionListener = new BlockingSessionCallback(); in testBasicLogicalPhysicalStreamCombination()
272 mSessionListener, mHandler); in testBasicLogicalPhysicalStreamCombination()
404 mSessionListener = new BlockingSessionCallback(); in testBasicPhysicalRequests()
406 mSessionListener, mHandler); in testBasicPhysicalRequests()
432 mSessionListener = new BlockingSessionCallback(); in testBasicPhysicalRequests()
434 mSessionListener, mHandler); in testBasicPhysicalRequests()
515 mSessionListener = new BlockingSessionCallback(); in testInvalidPhysicalCameraRequests()
517 mSessionListener, mHandler); in testInvalidPhysicalCameraRequests()
598 mSessionListener = new BlockingSessionCallback(); in testLogicalCameraZoomSwitch()
600 mSessionListener, mHandler); in testLogicalCameraZoomSwitch()
[all …]
DAllocationTest.java82 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()
889 mSessionListener.getStateWaiter().waitForState(BlockingSessionCallback.SESSION_ACTIVE, in forEachResult()
904 mSessionListener.getStateWaiter().waitForState( in forEachResult()
DRecordingTest.java411 mSessionListener = new BlockingSessionCallback(); in testAbandonedHighSpeedRequest()
413 mSessionListener, mHandler); in testAbandonedHighSpeedRequest()
446 mSessionListener, mHandler); in testAbandonedHighSpeedRequest()
868 mSessionListener = new BlockingSessionCallback(); in startConstrainedPreview()
879 mSession = buildConstrainedCameraSession(mCamera, outputSurfaces, mSessionListener, in startConstrainedPreview()
900 mSessionListener = new BlockingSessionCallback(); in startSlowMotionRecording()
911 mSession = buildConstrainedCameraSession(mCamera, outputSurfaces, mSessionListener, in startSlowMotionRecording()
940 mSessionListener, mHandler, initialRequest); in startSlowMotionRecording()
1320 mCamera, outputs, mSessionListener, mHandler); in videoSnapshotTestByCamera()
1337 mCamera, outputs, mSessionListener, mHandler); in videoSnapshotTestByCamera()
[all …]
DReprocessCaptureTest.java874 mSessionListener.getStateWaiter().waitForState( in testReprocessAbort()
1224 mSessionListener = new BlockingSessionCallback(); in setupReprocessableSession()
1226 mSessionListener, mHandler); in setupReprocessableSession()
DBurstCaptureRawTest.java714 mSessionListener.waitForSurfacePrepared( in performTestRoutine()
DStillCaptureTest.java1117 mSessionListener = new BlockingSessionCallback(); in fullRawCaptureTestByCamera()
1119 mSessionListener, mHandler); in fullRawCaptureTestByCamera()
DCameraDeviceTest.java538 private final ChainedSessionListener mSessionListener = new ChainedSessionListener(); in testChainedOperation() field in CameraDeviceTest.ChainedCameraListener
550 camera.createCaptureSession(outputs, mSessionListener, mHandler); in testChainedOperation()
/cts/tests/camera/libctscamera2jni/
Dnative-camera-jni.cpp845 mSessionListener.reset(); in resetCamera()
1475 if (mSessionListener.isClosed()) { in resetWithErrorLog()
1481 if (!mSessionListener.isClosed() || mSessionListener.onClosedCount() != 1) { in resetWithErrorLog()
1484 mCameraId, mSessionListener.isClosed(), mSessionListener.onClosedCount()); in resetWithErrorLog()
1487 mSessionListener.reset(); in resetWithErrorLog()
1501 return &mSessionListener; in getSessionListener()
1532 CaptureSessionListener mSessionListener; member in PreviewTestCase
1534 &mSessionListener,