Lines Matching refs:mHardware
48 mHardware = NULL; in CameraClient()
77 mHardware = new CameraHardwareInterface(camera_device_name); in initialize()
78 res = mHardware->initialize(manager); in initialize()
82 mHardware.clear(); in initialize()
86 mHardware->setCallbacks(notifyCallback, in initialize()
136 sp<CameraHardwareInterface> hardware = mHardware; in dumpClient()
156 if (mHardware == 0) { in checkPidAndHardware()
189 if (mHardware->recordingEnabled()) { in unlock()
253 if (mHardware == 0) return res; in disconnect()
260 mHardware->stopPreview(); in disconnect()
265 mHardware->cancelPicture(); in disconnect()
267 mHardware->release(); in disconnect()
273 mHardware->setPreviewWindow(mPreviewWindow); in disconnect()
275 mHardware.clear(); in disconnect()
307 if (mHardware->previewEnabled()) { in setPreviewWindow()
309 mHardware->setPreviewScalingMode(NATIVE_WINDOW_SCALING_MODE_SCALE_TO_WINDOW); in setPreviewWindow()
310 mHardware->setPreviewTransform(mOrientation); in setPreviewWindow()
311 result = mHardware->setPreviewWindow(window); in setPreviewWindow()
412 if (mHardware->previewEnabled()) { in startPreviewMode()
417 mHardware->setPreviewScalingMode( in startPreviewMode()
419 mHardware->setPreviewTransform(mOrientation); in startPreviewMode()
421 mHardware->setPreviewWindow(mPreviewWindow); in startPreviewMode()
422 result = mHardware->startPreview(); in startPreviewMode()
437 if (mHardware->recordingEnabled()) { in startRecordingMode()
442 if (!mHardware->previewEnabled()) { in startRecordingMode()
452 result = mHardware->startRecording(); in startRecordingMode()
467 mHardware->stopPreview(); in stopPreview()
483 mHardware->stopRecording(); in stopRecording()
507 mHardware->releaseRecordingFrame(mem); in releaseRecordingFrame()
536 if (mHardware != nullptr) { in releaseRecordingFrameHandle()
540 mHardware->releaseRecordingFrame(dataPtr); in releaseRecordingFrameHandle()
546 bool disconnected = (mHardware == nullptr); in releaseRecordingFrameHandleBatch()
589 mHardware->releaseRecordingFrameBatch(frames); in releaseRecordingFrameHandleBatch()
611 return mHardware->storeMetaDataInBuffers(enableMetadataInBuffers); in setVideoBufferMode()
619 return mHardware->previewEnabled(); in previewEnabled()
627 return mHardware->recordingEnabled(); in recordingEnabled()
637 return mHardware->autoFocus(); in autoFocus()
647 return mHardware->cancelAutoFocus(); in cancelAutoFocus()
676 return mHardware->takePicture(); in takePicture()
689 return mHardware->setParameters(p); in setParameters()
700 String8 params(mHardware->getParameters().flatten()); in getParameters()
736 mHardware->setPreviewTransform(mOrientation); in sendCommand()
760 return mHardware->sendCommand(cmd, arg1, arg2); in sendCommand()
767 mHardware->enableMsgType(msgType); in enableMsgType()
772 mHardware->disableMsgType(msgType); in disableMsgType()