Searched defs:setTorchMode (Results 1 - 4 of 4) sorted by relevance
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraFlashlight.cpp | 60 // Only HAL1 devices do not support setTorchMode 68 status_t CameraFlashlight::setTorchMode(const String8& cameraId, bool enabled) { function in class:android::CameraFlashlight 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) { function in class:android::ProviderFlashControl 307 return mProviderManager->setTorchMode(cameraI 342 status_t CameraHardwareInterfaceFlashControl::setTorchMode( function in class:android::CameraHardwareInterfaceFlashControl [all...] |
H A D | CameraService.cpp | 1436 Status CameraService::setTorchMode(const String16& cameraId, bool enabled, function in class:android::CameraService 1501 // before setTorchMode 1512 status_t err = mFlashlight->setTorchMode(id, enabled); 2622 status_t res = mFlashlight->setTorchMode(cameraId, false);
|
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CameraManager.java | 485 * <p> If {@link #setTorchMode} is called to turn on or off the torch mode successfully, 492 * other applications are free to call {@link #setTorchMode} to turn off the torch mode ( 514 public void setTorchMode(@NonNull String cameraId, boolean enabled) method in class:CameraManager 519 CameraManagerGlobal.get().setTorchMode(cameraId, enabled); 572 * busy. A camera's torch mode is turned off when an application calls {@link #setTorchMode} to 575 * enabled when it is turned on via {@link #setTorchMode}.</p> 577 * <p>The torch mode is available to set via {@link #setTorchMode} only when it's in a disabled 588 * A camera's torch mode has become unavailable to set via {@link #setTorchMode}. 590 * <p>If torch mode was previously turned on by calling {@link #setTorchMode}, it will be 592 * invoked. {@link #setTorchMode} wil 862 public void setTorchMode(String cameraId, boolean enabled) throws CameraAccessException { method in class:CameraManager.CameraManagerGlobal [all...] |
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | CameraProviderManager.cpp | 221 status_t CameraProviderManager::setTorchMode(const std::string &id, bool enabled) { function in class:android::CameraProviderManager 227 return deviceInfo->setTorchMode(enabled); 817 status_t CameraProviderManager::ProviderInfo::DeviceInfo::setTorchMode(InterfaceT& interface, function in class:android::CameraProviderManager::ProviderInfo::DeviceInfo 819 Status s = interface->setTorchMode(enabled ? TorchMode::ON : TorchMode::OFF); 868 status_t CameraProviderManager::ProviderInfo::DeviceInfo1::setTorchMode(bool enabled) { function in class:android::CameraProviderManager::ProviderInfo::DeviceInfo1 869 return DeviceInfo::setTorchMode(mInterface, enabled); 962 status_t CameraProviderManager::ProviderInfo::DeviceInfo3::setTorchMode(bool enabled) { function in class:android::CameraProviderManager::ProviderInfo::DeviceInfo3 963 return DeviceInfo::setTorchMode(mInterface, enabled);
|
Completed in 89 milliseconds