Lines Matching refs:mFlashControl
53 if (mFlashControl != NULL) { in createFlashlightControl()
58 mFlashControl = new ProviderFlashControl(mProviderManager); in createFlashlightControl()
94 if (mFlashControl == NULL) { in setTorchMode()
99 res = mFlashControl->setTorchMode(cameraId, enabled); in setTorchMode()
105 res = mFlashControl->setTorchMode(cameraId, enabled); in setTorchMode()
109 mFlashControl.clear(); in setTorchMode()
114 res = mFlashControl->setTorchMode(cameraId, enabled); in setTorchMode()
139 if (mFlashControl == NULL) { in turnOnTorchWithStrengthLevel()
146 res = mFlashControl->turnOnTorchWithStrengthLevel(cameraId, torchStrength); in turnOnTorchWithStrengthLevel()
162 if (mFlashControl == NULL) { in getTorchStrengthLevel()
169 res = mFlashControl->getTorchStrengthLevel(cameraId, torchStrength); in getTorchStrengthLevel()
186 mFlashControl.clear(); in findFlashUnits()
200 res = mFlashControl->hasFlashUnit(id, &hasFlash); in findFlashUnits()
212 mFlashControl.clear(); in findFlashUnits()
266 mFlashControl.clear(); in prepareDeviceOpen()
281 mFlashControl.clear(); in prepareDeviceOpen()