Searched refs:setTorchMode (Results 1 - 10 of 10) sorted by relevance

/frameworks/av/services/camera/libcameraservice/
H A DCameraFlashlight.h46 virtual status_t setTorchMode(const String8& cameraId,
69 status_t setTorchMode(const String8& cameraId, bool enabled);
113 status_t setTorchMode(const String8& cameraId, bool enabled);
131 status_t setTorchMode(const String8& cameraId, bool enabled);
185 status_t setTorchMode(const String8& cameraId, bool enabled);
H A DCameraFlashlight.cpp100 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 DCameraService.cpp1349 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);
H A DCameraService.h142 virtual binder::Status setTorchMode(const String16& cameraId, bool enabled,
/frameworks/av/camera/aidl/android/hardware/
H A DICameraService.aidl137 void setTorchMode(String CameraId, boolean enabled, IBinder clientBinder);
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraModule.h49 int setTorchMode(const char* camera_id, bool enable);
H A DCameraModule.cpp362 int CameraModule::setTorchMode(const char* camera_id, bool enable) { function in class:android::CameraModule
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DFlashlightController.java82 mCameraManager.setTorchMode(mCameraId, enabled);
202 setTorchMode(enabled);
218 private void setTorchMode(boolean enabled) {
/frameworks/base/core/java/android/hardware/camera2/
H A DCameraManager.java463 * <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...]
/frameworks/av/camera/tests/
H A DCameraBinderTests.cpp346 res = service->setTorchMode(String16(String8::format("%d", i)),
351 res = service->setTorchMode(String16(String8::format("%d", i)),

Completed in 231 milliseconds