Searched defs:setTorchMode (Results 1 - 4 of 4) sorted by relevance
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraFlashlight.cpp | 100 status_t CameraFlashlight::setTorchMode(const String8& cameraId, bool enabled) { function in class:android::CameraFlashlight 115 // CameraService::setTorchMode for camera ID 0 begins, does torch status checks 117 // CameraService::setTorchMode for camera ID 0 continues, calls 118 // CameraFlashlight::setTorchMode 136 res = mFlashControl->setTorchMode(cameraId, enabled); 142 res = mFlashControl->setTorchMode(cameraId, enabled); 151 res = mFlashControl->setTorchMode(cameraId, enabled); 336 status_t ModuleFlashControl::setTorchMode(const String8& cameraId, bool enabled) { function in class:android::ModuleFlashControl 341 return mCameraModule->setTorchMode(cameraId.string(), enabled); 590 status_t CameraDeviceClientFlashControl::setTorchMode( function in class:android::CameraDeviceClientFlashControl 674 status_t CameraHardwareInterfaceFlashControl::setTorchMode( function in class:android::CameraHardwareInterfaceFlashControl [all...] |
H A D | CameraService.cpp | 1349 Status CameraService::setTorchMode(const String16& cameraId, bool enabled, function in class:android::CameraService 1413 // before setTorchMode 1424 status_t err = mFlashlight->setTorchMode(id, enabled); 2664 status_t res = mFlashlight->setTorchMode(cameraId, false);
|
/frameworks/av/services/camera/libcameraservice/common/ |
H A D | CameraModule.cpp | 362 int CameraModule::setTorchMode(const char* camera_id, bool enable) { function in class:android::CameraModule
|
/frameworks/base/core/java/android/hardware/camera2/ |
H A D | CameraManager.java | 463 * <p> If {@link #setTorchMode} is called to turn on or off the torch mode successfully, 470 * other applications are free to call {@link #setTorchMode} to turn off the torch mode ( 492 public void setTorchMode(@NonNull String cameraId, boolean enabled) method in class:CameraManager 494 CameraManagerGlobal.get().setTorchMode(cameraId, enabled); 547 * busy. A camera's torch mode is turned off when an application calls {@link #setTorchMode} to 550 * enabled when it is turned on via {@link #setTorchMode}.</p> 552 * <p>The torch mode is available to set via {@link #setTorchMode} only when it's in a disabled 563 * A camera's torch mode has become unavailable to set via {@link #setTorchMode}. 565 * <p>If torch mode was previously turned on by calling {@link #setTorchMode}, it will be 567 * invoked. {@link #setTorchMode} wil 866 public void setTorchMode(String cameraId, boolean enabled) throws CameraAccessException { method in class:CameraManager.CameraManagerGlobal [all...] |
Completed in 1239 milliseconds