Searched refs:mFlashControl (Results 1 – 2 of 2) sorted by relevance
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()[all …]
95 sp<FlashControlBase> mFlashControl; variable