Searched refs:ActionThermalLevel (Results 1 – 6 of 6) sorted by relevance
39 int32_t ActionThermalLevel::lastValue_ = INT_MIN;41 ActionThermalLevel::ActionThermalLevel(const std::string& actionName) in ActionThermalLevel() function in OHOS::PowerMgr::ActionThermalLevel46 void ActionThermalLevel::InitParams(const std::string& params) in InitParams()53 void ActionThermalLevel::SetStrict(bool enable) in SetStrict()58 void ActionThermalLevel::SetEnableEvent(bool enable) in SetEnableEvent()63 void ActionThermalLevel::AddActionValue(std::string value) in AddActionValue()71 void ActionThermalLevel::Execute() in Execute()86 int32_t ActionThermalLevel::GetActionValue() in GetActionValue()99 int32_t ActionThermalLevel::GetThermalLevel() in GetThermalLevel()104 void ActionThermalLevel::LevelRequest(int32_t level) in LevelRequest()[all …]
34 class ActionThermalLevel : public IThermalAction {36 ActionThermalLevel(const std::string& actionName);37 ~ActionThermalLevel() = default;
63 std::shared_ptr<ActionThermalLevel> g_actionThermalLevel = std::make_shared<ActionThermalLevel>("th…150 std::make_shared<ActionThermalLevel::ThermalLevelCallbackDeathRecipient>();
64 std::shared_ptr<ActionThermalLevel> actionThermalLevel_;
60 … [&](std::string actionName) { return std::make_shared<ActionThermalLevel>(actionName); }), in InitFactory()
35 actionThermalLevel_ = std::make_shared<ActionThermalLevel>(THERMAL_LEVEL_NAME); in Init()