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()
616 mSessionListener = new BlockingSessionCallback(); in prepareStillCaptureAndStartPreview()
617 mSession = configureCameraSession(mCamera, outputSurfaces, mSessionListener, mHandler); in prepareStillCaptureAndStartPreview()
666 mSessionListener = null; in closeDevice()
794 mSessionListener = new BlockingSessionCallback(); in prepareCaptureAndStartPreview()
796 mSessionListener = new BlockingSessionCallback(sessionListener); in prepareCaptureAndStartPreview()
798 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.java269 mSessionListener = new BlockingSessionCallback(); in testBasicLogicalPhysicalStreamCombination()
271 mSessionListener, mHandler); in testBasicLogicalPhysicalStreamCombination()
403 mSessionListener = new BlockingSessionCallback(); in testBasicPhysicalRequests()
405 mSessionListener, mHandler); in testBasicPhysicalRequests()
431 mSessionListener = new BlockingSessionCallback(); in testBasicPhysicalRequests()
433 mSessionListener, mHandler); in testBasicPhysicalRequests()
514 mSessionListener = new BlockingSessionCallback(); in testInvalidPhysicalCameraRequests()
516 mSessionListener, mHandler); in testInvalidPhysicalCameraRequests()
597 mSessionListener = new BlockingSessionCallback(); in testLogicalCameraZoomSwitch()
599 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.java1081 mSessionListener = new BlockingSessionCallback(); in fullRawCaptureTestByCamera()
1083 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.cpp842 mSessionListener.reset(); in resetCamera()
1472 if (mSessionListener.isClosed()) { in resetWithErrorLog()
1478 if (!mSessionListener.isClosed() || mSessionListener.onClosedCount() != 1) { in resetWithErrorLog()
1481 mCameraId, mSessionListener.isClosed(), mSessionListener.onClosedCount()); in resetWithErrorLog()
1484 mSessionListener.reset(); in resetWithErrorLog()
1498 return &mSessionListener; in getSessionListener()
1529 CaptureSessionListener mSessionListener; member in PreviewTestCase
1531 &mSessionListener,