/frameworks/av/services/camera/libcameraservice/ |
CameraFlashlight.h | 47 virtual status_t setTorchMode(const String8& cameraId, 70 status_t setTorchMode(const String8& cameraId, bool enabled); 119 status_t setTorchMode(const String8& cameraId, bool enabled); 138 status_t setTorchMode(const String8& cameraId, bool enabled);
|
CameraFlashlight.cpp | 62 // Only HAL1 devices do not support setTorchMode 70 status_t CameraFlashlight::setTorchMode(const String8& cameraId, bool enabled) { 85 // CameraService::setTorchMode for camera ID 0 begins, does torch status checks 87 // CameraService::setTorchMode for camera ID 0 continues, calls 88 // CameraFlashlight::setTorchMode 102 res = mFlashControl->setTorchMode(cameraId, enabled); 108 res = mFlashControl->setTorchMode(cameraId, enabled); 117 res = mFlashControl->setTorchMode(cameraId, enabled); 304 status_t ProviderFlashControl::setTorchMode(const String8& cameraId, bool enabled) { 308 return mProviderManager->setTorchMode(cameraId.string(), enabled) [all...] |
/hardware/libhardware/modules/camera/3_4/ |
v4l2_camera_hal.h | 50 int setTorchMode(const char* camera_id, bool enabled);
|
v4l2_camera_hal.cpp | 149 int V4L2CameraHAL::setTorchMode(const char* camera_id, bool enabled) { 204 return gCameraHAL.setTorchMode(camera_id, enabled);
|
/hardware/interfaces/camera/device/3.2/ |
ICameraDevice.hal | 86 * setTorchMode: 104 * When the client calls setTorchMode() to turn on the torch mode of a flash 107 * setTorchMode() calls and notify the framework that the torch mode state 142 setTorchMode(TorchMode mode) generates (Status status);
|
/system/extras/power_profile/camera_flashlight/Application/src/main/java/com/example/android/powerprofile/cameraflashlight/ |
FlashlightActivity.java | 56 mCameraManager.setTorchMode(mCameraId, true); 69 mCameraManager.setTorchMode(mCameraId, false);
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
FlashlightTest.java | 80 mCameraManager.setTorchMode(id, true); // should get ON 82 mCameraManager.setTorchMode(id, false); // should get OFF 108 mCameraManager.setTorchMode(id, true); 115 mCameraManager.setTorchMode(id, false); 189 mCameraManager.setTorchMode(id, true); 201 mCameraManager.setTorchMode(id, false); 243 mCameraManager.setTorchMode(id, true); 245 mCameraManager.setTorchMode(id, false); 282 mCameraManager.setTorchMode(cameraId, true); 283 mCameraManager.setTorchMode(cameraId, false) [all...] |
/device/google/cuttlefish_common/guest/hals/camera/ |
EmulatedBaseCamera.h | 115 virtual status_t setTorchMode(bool enabled);
|
EmulatedBaseCamera.cpp | 107 status_t EmulatedBaseCamera::setTorchMode(bool /* enabled */) {
|
EmulatedCameraFactory.h | 101 int setTorchMode(const char* camera_id, bool enabled);
|
EmulatedCameraFactory.cpp | 194 int EmulatedCameraFactory::setTorchMode(const char* camera_id, bool enabled) { 200 return camera->setTorchMode(enabled); 256 return EmulatedCameraFactory::Instance().setTorchMode(camera_id, enabled);
|
EmulatedFakeCamera3.h | 80 virtual status_t setTorchMode(bool enabled);
|
/device/google/marlin/camera/QCamera2/ |
QCamera2Factory.h | 66 int setTorchMode(const char* camera_id, bool on);
|
QCamera2Factory.cpp | 267 return gQCamera2Factory->setTorchMode(camera_id, on); 503 * FUNCTION : setTorchMode 514 int QCamera2Factory::setTorchMode(const char* camera_id, bool on)
|
/hardware/qcom/camera/msm8998/QCamera2/ |
QCamera2Factory.h | 66 int setTorchMode(const char* camera_id, bool on);
|
QCamera2Factory.cpp | 294 return gQCamera2Factory->setTorchMode(camera_id, on); 537 * FUNCTION : setTorchMode 548 int QCamera2Factory::setTorchMode(const char* camera_id, bool on)
|
/hardware/interfaces/camera/common/1.0/default/include/ |
CameraModule.h | 59 int setTorchMode(const char* camera_id, bool enable);
|
/frameworks/av/camera/aidl/android/hardware/ |
ICameraService.aidl | 155 void setTorchMode(String cameraId, boolean enabled, IBinder clientBinder);
|
/hardware/interfaces/camera/device/1.0/ |
ICameraDevice.hal | 82 * setTorchMode: 100 * When the framework calls setTorchMode() to turn on the torch mode of a 103 * a previous setTorchMode() call and notify the framework that the torch 137 setTorchMode(TorchMode mode) generates (Status status); 155 * All methods besides getResourceCost(), getCameraInfo(), setTorchMode(),
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/flashlight/ |
CameraFlashlightActivity.java | 89 mCameraManager.setTorchMode(mCurrentCameraId, true); 101 mCameraManager.setTorchMode(mCurrentCameraId, false); 113 mCameraManager.setTorchMode(mCurrentCameraId, false);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
FlashlightControllerImpl.java | 91 mCameraManager.setTorchMode(mCameraId, enabled); 216 setTorchMode(enabled); 232 private void setTorchMode(boolean enabled) {
|
/frameworks/av/services/camera/libcameraservice/common/ |
CameraProviderManager.h | 175 * Check if a given camera device support setTorchMode API. 184 status_t setTorchMode(const std::string &id, bool enabled); 298 virtual status_t setTorchMode(bool enabled) = 0; 319 static status_t setTorchMode(InterfaceT& interface, bool enabled); 331 virtual status_t setTorchMode(bool enabled) override; 350 virtual status_t setTorchMode(bool enabled) override;
|
/hardware/interfaces/camera/device/3.2/default/ |
CameraDevice_3_2.h | 73 Return<Status> setTorchMode(TorchMode mode) override;
|
CameraDevice.cpp | 162 Return<Status> CameraDevice::setTorchMode(TorchMode mode) { 170 status = getHidlStatus(mModule->setTorchMode(mCameraId.c_str(), enable));
|
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/ |
ExternalCameraDevice_3_4.h | 71 Return<Status> setTorchMode(TorchMode) override;
|