Home
last modified time | relevance | path

Searched refs:mFlashControl (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp53 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()
[all …]
DCameraFlashlight.h109 sp<FlashControlBase> mFlashControl; variable