Home
last modified time | relevance | path

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

12

/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedTorchState.h28 using android::google_camera_hal::TorchMode;
36 status_t SetTorchMode(TorchMode mode);
DEmulatedTorchState.cpp27 status_t EmulatedTorchState::SetTorchMode(TorchMode mode) { in SetTorchMode()
35 torch_cb_(camera_id_, (mode == TorchMode::kOn) in SetTorchMode()
DEmulatedCameraDeviceHWLImpl.cpp149 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/google/camera/common/hal/hidl_service/
Dhidl_camera_device.h35 using ::android::hardware::camera::common::V1_0::TorchMode;
64 Return<Status> setTorchMode(TorchMode mode) override;
Dhidl_utils.h39 using ::android::hardware::camera::common::V1_0::TorchMode;
179 status_t ConvertToHalTorchMode(TorchMode hidl_torch_mode,
180 google_camera_hal::TorchMode* hal_torch_mode);
Dhidl_camera_device.cc132 Return<Status> HidlCameraDevice::setTorchMode(TorchMode mode) { in setTorchMode()
133 google_camera_hal::TorchMode hal_torch_mode; in setTorchMode()
Dhidl_utils.cc1017 status_t ConvertToHalTorchMode(TorchMode hidl_torch_mode, in ConvertToHalTorchMode()
1018 google_camera_hal::TorchMode* hal_torch_mode) { in ConvertToHalTorchMode()
1025 case TorchMode::ON: in ConvertToHalTorchMode()
1026 *hal_torch_mode = google_camera_hal::TorchMode::kOn; in ConvertToHalTorchMode()
1028 case TorchMode::OFF: in ConvertToHalTorchMode()
1029 *hal_torch_mode = google_camera_hal::TorchMode::kOff; in ConvertToHalTorchMode()
/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/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.h82 status_t SetTorchMode(TorchMode /*mode*/) { in SetTorchMode() argument
/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.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/google/camera/common/hal/hwl_interface/
Dcamera_device_hwl.h59 virtual status_t SetTorchMode(TorchMode mode) = 0;
/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/google_camera_hal/
Dcamera_device.h63 status_t SetTorchMode(TorchMode mode);
Dcamera_device.cc206 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.h38 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);

12