/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraFlashlight.h | 48 virtual status_t setTorchMode(const String8& cameraId, 71 status_t setTorchMode(const String8& cameraId, bool enabled); 122 status_t setTorchMode(const String8& cameraId, bool enabled); 141 status_t setTorchMode(const String8& cameraId, bool enabled);
|
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.h | 148 virtual binder::Status setTorchMode(const String16& cameraId, bool enabled,
|
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/av/camera/aidl/android/hardware/ |
H A D | ICameraService.aidl | 155 void setTorchMode(String cameraId, boolean enabled, IBinder clientBinder);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | FlashlightControllerImpl.java | 91 mCameraManager.setTorchMode(mCameraId, enabled); 216 setTorchMode(enabled); 232 private void setTorchMode(boolean enabled) {
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | CameraProviderManager.h | 177 * Check if a given camera device support setTorchMode API. 186 status_t setTorchMode(const std::string &id, bool enabled); 293 virtual status_t setTorchMode(bool enabled) = 0; 313 static status_t setTorchMode(InterfaceT& interface, bool enabled); 325 virtual status_t setTorchMode(bool enabled) override; 343 virtual status_t setTorchMode(bool enabled) override;
|
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);
|
/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/camera/tests/ |
H A D | CameraBinderTests.cpp | 359 res = service->setTorchMode(cameraId, 364 res = service->setTorchMode(cameraId,
|
/frameworks/av/services/camera/libcameraservice/tests/ |
H A D | CameraProviderManagerTest.cpp | 65 hardware::Return<hardware::camera::common::V1_0::Status> setTorchMode(
|