Home
last modified time | relevance | path

Searched refs:torch_status_ (Results 1 – 4 of 4) sorted by relevance

/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedTorchState.cpp35torch_status_ = (mode == TorchMode::kOn) ? TorchModeStatus::kAvailableOn : TorchModeStatus::kAvail… in SetTorchMode()
58 if (torch_status_ != TorchModeStatus::kAvailableOn && torch_strength > 1) { in TurnOnTorchWithStrengthLevel()
59 torch_status_ = TorchModeStatus::kAvailableOn; in TurnOnTorchWithStrengthLevel()
60 ALOGV("Changed the torch status to: %d", torch_status_); in TurnOnTorchWithStrengthLevel()
DEmulatedTorchState.h52 TorchModeStatus torch_status_; variable
/hardware/google/camera/common/hal/tests/
Dmock_provider_hwl.h46 /*camera_id=*/0, torch_status_); in SetCallback()
124 TorchModeStatus torch_status_ = TorchModeStatus::kAvailableOff; variable
Dcamera_provider_tests.cc91 mock_provider_hwl->torch_status_ = mock_torch_status; in TEST_F()