Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/
DCameraFlashlight.cpp52 if (mFlashControl != NULL) { in createFlashlightControl()
59 mFlashControl = new ModuleFlashControl(*mCameraModule, *mCallbacks); in createFlashlightControl()
60 if (mFlashControl == NULL) { in createFlashlightControl()
89 mFlashControl = flashControl; in createFlashlightControl()
91 mFlashControl = in createFlashlightControl()
127 if (mFlashControl == NULL) { in setTorchMode()
136 res = mFlashControl->setTorchMode(cameraId, enabled); in setTorchMode()
142 res = mFlashControl->setTorchMode(cameraId, enabled); in setTorchMode()
146 mFlashControl.clear(); in setTorchMode()
151 res = mFlashControl->setTorchMode(cameraId, enabled); in setTorchMode()
[all …]
DCameraFlashlight.h90 sp<FlashControlBase> mFlashControl; variable