Lines Matching refs:mDevice
364 } else if (mDevice == NULL || cameraId != mCameraId) { in setTorchMode()
403 if (mDevice == NULL) { in hasFlashUnitLocked()
440 res = mDevice->startPreview(); in startPreviewAndTorch()
450 return mDevice->setParameters(mParameters); in startPreviewAndTorch()
550 mDevice = device; in connectCameraDevice()
555 if (mDevice == NULL) { in disconnectCameraDevice()
564 mDevice->setParameters(mParameters); in disconnectCameraDevice()
566 mDevice->stopPreview(); in disconnectCameraDevice()
573 mDevice->setPreviewWindow(NULL); in disconnectCameraDevice()
574 mDevice->release(); in disconnectCameraDevice()
575 mDevice = NULL; in disconnectCameraDevice()