Lines Matching refs:mSession

847         if (mSession) {  in resetCamera()
848 ACameraCaptureSession_close(mSession); in resetCamera()
849 mSession = nullptr; in resetCamera()
980 if (mSession == nullptr) { in updateOutput()
982 mSession); in updateOutput()
986 return ACameraCaptureSession_updateSharedOutput(mSession, output); in updateOutput()
1154 if (mSession) { in createCaptureSessionWithLog()
1181 mDevice, mOutputs, sessionParameters, &mSessionCb, &mSession); in createCaptureSessionWithLog()
1182 if (ret != ACAMERA_OK || mSession == nullptr) { in createCaptureSessionWithLog()
1184 mCameraId, ret, mSession); in createCaptureSessionWithLog()
1195 if (mSession != nullptr) { in closeSession()
1196 ACameraCaptureSession_close(mSession); in closeSession()
1210 mSession = nullptr; in closeSession()
1370 if (mSession == nullptr || mPreviewRequest == nullptr) { in startPreview()
1372 mSession, mPreviewRequest); in startPreview()
1379 mSession, nullptr, 1, &mPreviewRequest, &previewSeqId); in startPreview()
1382 mSession, &mResultCb, 1, &mPreviewRequest, sequenceId); in startPreview()
1392 mSession, &mLogicalCameraResultCb, 1, &mPreviewRequest, sequenceId); in startPreview()
1399 if (mSession == nullptr || request == nullptr || resultCb == nullptr) { in startRepeatingRequest()
1401 mSession, request, resultCb); in startRepeatingRequest()
1405 return ACameraCaptureSession_setRepeatingRequest(mSession, resultCb, 1, &request, in startRepeatingRequest()
1410 if (mSession == nullptr) { in stopPreview()
1411 ALOGE("Testcase cannot stop preview: session %p", mSession); in stopPreview()
1414 return ACameraCaptureSession_stopRepeating(mSession); in stopPreview()
1419 if (mSession == nullptr || updatedRequest == nullptr) { in updateRepeatingRequest()
1421 mSession, updatedRequest); in updateRepeatingRequest()
1429 mSession, nullptr, 1, &updatedRequest, &previewSeqId); in updateRepeatingRequest()
1432 mSession, &mResultCb, 1, &updatedRequest, sequenceId); in updateRepeatingRequest()
1446 if (mSession == nullptr || mStillRequest == nullptr) { in takePicture()
1448 mSession, mStillRequest); in takePicture()
1453 mSession, nullptr, 1, &mStillRequest, &seqId); in takePicture()
1459 if (mSession == nullptr || request == nullptr) { in capture()
1461 mSession, request); in capture()
1465 mSession, listener, 1, &request, seqId); in capture()
1572 ACameraCaptureSession* mSession = nullptr; member in PreviewTestCase