Lines Matching refs:setTorchMode
60 // Only HAL1 devices do not support setTorchMode
68 status_t CameraFlashlight::setTorchMode(const String8& cameraId, bool enabled) {
83 // CameraService::setTorchMode for camera ID 0 begins, does torch status checks
85 // CameraService::setTorchMode for camera ID 0 continues, calls
86 // CameraFlashlight::setTorchMode
100 res = mFlashControl->setTorchMode(cameraId, enabled);
106 res = mFlashControl->setTorchMode(cameraId, enabled);
115 res = mFlashControl->setTorchMode(cameraId, enabled);
303 status_t ProviderFlashControl::setTorchMode(const String8& cameraId, bool enabled) {
307 return mProviderManager->setTorchMode(cameraId.string(), enabled);
342 status_t CameraHardwareInterfaceFlashControl::setTorchMode(