Home
last modified time | relevance | path

Searched refs:SetTorchMode (Results 1 – 10 of 10) sorted by relevance

/hardware/google/camera/common/hal/tests/
Dcamera_device_tests.cc86 TEST(CameraDeviceTests, SetTorchMode) { in TEST() argument
93 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() function
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedTorchState.h37 status_t SetTorchMode(TorchMode mode);
DEmulatedTorchState.cpp27 status_t EmulatedTorchState::SetTorchMode(TorchMode mode) { in SetTorchMode() function in android::EmulatedTorchState
DEmulatedCameraDeviceHWLImpl.cpp152 status_t EmulatedCameraDeviceHwlImpl::SetTorchMode(TorchMode mode) { in SetTorchMode() function in android::EmulatedCameraDeviceHwlImpl
164 return torch_state_->SetTorchMode(mode); in SetTorchMode()
DEmulatedCameraDeviceHWLImpl.h59 status_t SetTorchMode(TorchMode mode) override;
/hardware/google/camera/common/hal/hwl_interface/
Dcamera_device_hwl.h59 virtual status_t SetTorchMode(TorchMode mode) = 0;
/hardware/google/camera/common/hal/google_camera_hal/
Dcamera_device.h63 status_t SetTorchMode(TorchMode mode);
Dcamera_device.cc221 status_t CameraDevice::SetTorchMode(TorchMode mode) { in SetTorchMode() function in android::google_camera_hal::CameraDevice
223 return camera_device_hwl_->SetTorchMode(mode); in SetTorchMode()
/hardware/google/camera/common/hal/aidl_service/
Daidl_camera_device.cc134 auto res = google_camera_device_->SetTorchMode(hal_torch_mode); in setTorchMode()