Lines Matching refs:mFlashControl
55 if (mFlashControl != NULL) { in createFlashlightControl()
60 mFlashControl = new ProviderFlashControl(mProviderManager); in createFlashlightControl()
63 mFlashControl = in createFlashlightControl()
97 if (mFlashControl == NULL) { in setTorchMode()
102 res = mFlashControl->setTorchMode(cameraId, enabled); in setTorchMode()
108 res = mFlashControl->setTorchMode(cameraId, enabled); in setTorchMode()
112 mFlashControl.clear(); in setTorchMode()
117 res = mFlashControl->setTorchMode(cameraId, enabled); in setTorchMode()
136 mFlashControl.clear(); in findFlashUnits()
150 res = mFlashControl->hasFlashUnit(id, &hasFlash); in findFlashUnits()
162 mFlashControl.clear(); in findFlashUnits()
216 mFlashControl.clear(); in prepareDeviceOpen()
232 mFlashControl.clear(); in prepareDeviceOpen()