Home
last modified time | relevance | path

Searched refs:TorchMode (Results 1 – 24 of 24) sorted by relevance

/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedTorchState.cpp27 status_t EmulatedTorchState::SetTorchMode(TorchMode mode) { in SetTorchMode()
35 …torch_status_ = (mode == TorchMode::kOn) ? TorchModeStatus::kAvailableOn : TorchModeStatus::kAvail… in SetTorchMode()
36 if (mode == TorchMode::kOff && support_torch_strength_control_) { in SetTorchMode()
42 torch_cb_(camera_id_, (mode == TorchMode::kOn) in SetTorchMode()
DEmulatedTorchState.h28 using android::google_camera_hal::TorchMode;
37 status_t SetTorchMode(TorchMode mode);
DEmulatedCameraDeviceHWLImpl.h41 using google_camera_hal::TorchMode;
70 status_t SetTorchMode(TorchMode mode) override;
DEmulatedCameraDeviceHWLImpl.cpp185 status_t EmulatedCameraDeviceHwlImpl::SetTorchMode(TorchMode mode) { in SetTorchMode()
/hardware/interfaces/camera/device/3.2/default/
DCameraDevice_3_2.h42 using ::android::hardware::camera::common::V1_0::TorchMode;
80 Return<Status> setTorchMode(TorchMode mode);
132 virtual Return<Status> setTorchMode(TorchMode mode) override { in setTorchMode()
DCameraDevice.cpp163 Return<Status> CameraDevice::setTorchMode(TorchMode mode) { in setTorchMode()
170 bool enable = (mode == TorchMode::ON) ? true : false; in setTorchMode()
/hardware/interfaces/camera/device/3.5/default/include/device_v3_5_impl/
DCameraDevice_3_5.h38 using ::android::hardware::camera::common::V1_0::TorchMode;
86 virtual Return<Status> setTorchMode(TorchMode mode) override { in setTorchMode()
/hardware/interfaces/camera/device/3.4/default/include/ext_device_v3_4_impl/
DExternalCameraDevice_3_4.h41 using ::android::hardware::camera::common::V1_0::TorchMode;
81 Return<Status> setTorchMode(TorchMode);
221 virtual Return<Status> setTorchMode(TorchMode mode) override { in setTorchMode()
/hardware/interfaces/camera/device/3.6/default/include/ext_device_v3_6_impl/
DExternalCameraDevice_3_6.h35 using ::android::hardware::camera::common::V1_0::TorchMode;
90 virtual Return<Status> setTorchMode(TorchMode mode) override { in setTorchMode()
/hardware/interfaces/camera/device/3.5/default/include/ext_device_v3_5_impl/
DExternalCameraDevice_3_5.h40 using ::android::hardware::camera::common::V1_0::TorchMode;
106 virtual Return<Status> setTorchMode(TorchMode mode) override { in setTorchMode()
/hardware/google/camera/common/hal/tests/
Dcamera_device_tests.cc93 EXPECT_EQ(device->SetTorchMode(TorchMode::kOff), OK); in TEST()
94 EXPECT_EQ(device->SetTorchMode(TorchMode::kOn), OK); in TEST()
Dmock_device_hwl.h92 status_t SetTorchMode(TorchMode /*mode*/) { in SetTorchMode() argument
/hardware/google/camera/common/hal/hwl_interface/
Dcamera_device_hwl.h75 virtual status_t SetTorchMode(TorchMode mode) = 0;
/hardware/google/camera/common/hal/aidl_service/
Daidl_camera_device.cc133 google_camera_hal::TorchMode hal_torch_mode; in setTorchMode()
134 hal_torch_mode = on ? google_camera_hal::TorchMode::kOn in setTorchMode()
135 : google_camera_hal::TorchMode::kOff; in setTorchMode()
/hardware/google/camera/common/hal/google_camera_hal/
Dcamera_device.h80 status_t SetTorchMode(TorchMode mode);
Dcamera_device.cc303 status_t CameraDevice::SetTorchMode(TorchMode mode) { in SetTorchMode()
/hardware/interfaces/camera/device/1.0/default/
DCameraDevice_1_0.h41 using ::android::hardware::camera::common::V1_0::TorchMode;
81 Return<Status> setTorchMode(TorchMode mode) override;
DCameraDevice.cpp612 Return<Status> CameraDevice::setTorchMode(TorchMode mode) { in setTorchMode()
619 bool enable = (mode == TorchMode::ON) ? true : false; in setTorchMode()
/hardware/google/camera/common/hal/common/
Dhal_types.h39 enum class TorchMode : uint32_t { enum
/hardware/interfaces/camera/device/3.2/
DICameraDevice.hal142 setTorchMode(TorchMode mode) generates (Status status);
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraDevice.cpp109 Return<Status> ExternalCameraDevice::setTorchMode(TorchMode) { in setTorchMode() argument
/hardware/interfaces/camera/common/1.0/
Dtypes.hal76 enum TorchMode : uint32_t {
/hardware/interfaces/camera/device/1.0/
DICameraDevice.hal137 setTorchMode(TorchMode mode) generates (Status status);
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp96 using ::android::hardware::camera::common::V1_0::TorchMode;
2970 returnStatus = device3_x->setTorchMode(TorchMode::ON); in TEST_P()
2989 returnStatus = device3_x->setTorchMode(TorchMode::OFF); in TEST_P()
3019 returnStatus = device1->setTorchMode(TorchMode::ON); in TEST_P()
3039 returnStatus = device1->setTorchMode(TorchMode::OFF); in TEST_P()