Home
last modified time | relevance | path

Searched refs:TorchModeStatus (Results 1 – 16 of 16) sorted by relevance

/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedTorchState.cpp25 using android::google_camera_hal::TorchModeStatus;
36 ? TorchModeStatus::kAvailableOn in SetTorchMode()
37 : TorchModeStatus::kAvailableOff); in SetTorchMode()
45 torch_cb_(camera_id_, TorchModeStatus::kNotAvailable); in AcquireFlashHw()
51 torch_cb_(camera_id_, TorchModeStatus::kAvailableOff); in ReleaseFlashHw()
/hardware/google/camera/common/hal/tests/
Dcamera_provider_tests.cc54 TorchModeStatus torch_status = TorchModeStatus::kAvailableOff; in TEST_F()
62 [&torch_status](std::string /*camera_id*/, TorchModeStatus new_status) { in TEST_F()
84 static const std::vector<TorchModeStatus> kMockTorchModeStatus = { in TEST_F()
85 TorchModeStatus::kNotAvailable, TorchModeStatus::kAvailableOff, in TEST_F()
86 TorchModeStatus::kAvailableOn}; in TEST_F()
Dmock_provider_hwl.h124 TorchModeStatus torch_status_ = TorchModeStatus::kAvailableOff;
/hardware/google/camera/common/hal/google_camera_hal/
Dcamera_provider_callback.h40 std::function<void(std::string /*camera_id*/, TorchModeStatus /*new_status*/)>;
Dcamera_provider.cc161 [this](uint32_t camera_id, TorchModeStatus new_status) { in SetCallback()
/hardware/google/camera/common/hal/hidl_service/
Dhidl_utils.h40 using ::android::hardware::camera::common::V1_0::TorchModeStatus;
118 google_camera_hal::TorchModeStatus hal_torch_status,
119 TorchModeStatus* hidl_torch_status);
Dhidl_utils.cc571 google_camera_hal::TorchModeStatus hal_torch_status, in ConvertToHidlTorchModeStatus()
572 TorchModeStatus* hidl_torch_status) { in ConvertToHidlTorchModeStatus()
579 case google_camera_hal::TorchModeStatus::kNotAvailable: in ConvertToHidlTorchModeStatus()
580 *hidl_torch_status = TorchModeStatus::NOT_AVAILABLE; in ConvertToHidlTorchModeStatus()
582 case google_camera_hal::TorchModeStatus::kAvailableOff: in ConvertToHidlTorchModeStatus()
583 *hidl_torch_status = TorchModeStatus::AVAILABLE_OFF; in ConvertToHidlTorchModeStatus()
585 case google_camera_hal::TorchModeStatus::kAvailableOn: in ConvertToHidlTorchModeStatus()
586 *hidl_torch_status = TorchModeStatus::AVAILABLE_ON; in ConvertToHidlTorchModeStatus()
Dhidl_camera_provider.cc39 using ::android::hardware::camera::common::V1_0::TorchModeStatus;
135 google_camera_hal::TorchModeStatus new_status) { in Initialize()
141 TorchModeStatus hidl_torch_status; in Initialize()
/hardware/interfaces/camera/provider/2.5/default/
DLegacyCameraProviderImpl_2_5.h37 using ::android::hardware::camera::common::V1_0::TorchModeStatus;
/hardware/google/camera/common/hal/hwl_interface/
Dhwl_types.h130 std::function<void(uint32_t /*camera_id*/, TorchModeStatus /*new_status*/)>;
/hardware/interfaces/camera/provider/2.4/default/
DLegacyCameraProviderImpl_2_4.h37 using ::android::hardware::camera::common::V1_0::TorchModeStatus;
DLegacyCameraProviderImpl_2_4.cpp198 TorchModeStatus status = (TorchModeStatus) new_status; in sTorchModeStatusChange()
/hardware/interfaces/camera/provider/2.4/
DICameraProviderCallback.hal66 TorchModeStatus newStatus);
/hardware/google/camera/common/hal/common/
Dhal_types.h53 enum class TorchModeStatus : uint32_t { enum
/hardware/interfaces/camera/common/1.0/
Dtypes.hal172 * TorchModeStatus:
227 enum TorchModeStatus : uint32_t {
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp96 using ::android::hardware::camera::common::V1_0::TorchModeStatus;
692 const hidl_string&, TorchModeStatus newStatus) override { in torchModeStatusChange()
1069 TorchModeStatus mTorchStatus; // Current torch status
1720 const hidl_string&, TorchModeStatus) override { in getCameraDeviceNames()
1884 TorchModeStatus newStatus) override { in TEST_P()
1901 TorchModeStatus newStatus) override { in TEST_P()
2913 mTorchStatus = TorchModeStatus::NOT_AVAILABLE; in TEST_P()
2924 while (TorchModeStatus::NOT_AVAILABLE == mTorchStatus) { in TEST_P()
2929 ASSERT_EQ(TorchModeStatus::AVAILABLE_ON, mTorchStatus); in TEST_P()
2930 mTorchStatus = TorchModeStatus::NOT_AVAILABLE; in TEST_P()
[all …]