Home
last modified time | relevance | path

Searched refs:actionName (Results 1 – 25 of 39) sorted by relevance

12

/base/powermgr/thermal_manager/utils/native/src/
Dthermal_hisysevent.cpp39 void WriteActionTriggeredHiSysEvent(bool enableEvent, const std::string& actionName, int32_t value) in WriteActionTriggeredHiSysEvent() argument
42 WriteEvent("THERMAL_ACTION_TRIGGERED", "ACTION", actionName, "VALUE", value); in WriteActionTriggeredHiSysEvent()
46 void WriteActionTriggeredHiSysEventWithRatio(bool enableEvent, const std::string& actionName, float… in WriteActionTriggeredHiSysEventWithRatio() argument
49 WriteEvent("THERMAL_ACTION_TRIGGERED", "ACTION", actionName, "RATIO", value); in WriteActionTriggeredHiSysEventWithRatio()
/base/powermgr/thermal_manager/services/native/test/unittest/include/
Dthermal_action_report_test.h42 static std::string GetActionValue(const std::string& actionName, uint32_t level);
43 …static std::string ActionDecision(const std::string& actionName, std::vector<PolicyAction>& vActio…
44 …static std::string ActionValueDecision(const std::string& actionName, std::vector<PolicyAction>& v…
45 …static std::string LcdValueDecision(const std::string& actionName, std::vector<PolicyAction>& vAct…
50 …static void ThermalActionTriggered(const std::string& actionName, int32_t level, const std::string…
Dthermal_config_file_parser.h40 bool GetActionEnableEvent(const std::string& actionName);
41 bool GetActionStrict(const std::string& actionName);
/base/powermgr/thermal_manager/utils/native/include/
Dthermal_hisysevent.h24 void WriteActionTriggeredHiSysEvent(bool enableEvent, const std::string& actionName, int32_t value);
25 void WriteActionTriggeredHiSysEventWithRatio(bool enableEvent, const std::string& actionName, float…
/base/powermgr/thermal_manager/services/native/test/unittest/src/
Dthermal_action_report_test.cpp194 std::string ThermalActionReportTest::GetActionValue(const std::string& actionName, uint32_t level) in GetActionValue() argument
196 …THERMAL_HILOGD(LABEL_TEST, "action name = %{public}s, level = %{public}d", actionName.c_str(), lev… in GetActionValue()
203 return ActionDecision(actionName, vAction); in GetActionValue()
206 std::string ThermalActionReportTest::ActionDecision(const std::string& actionName, std::vector<Poli… in ActionDecision() argument
208 THERMAL_HILOGD(LABEL_TEST, "action name = %{public}s", actionName.c_str()); in ActionDecision()
209 if (actionName == LCD_ACTION_NAME) { in ActionDecision()
210 return LcdValueDecision(actionName, vAction); in ActionDecision()
212 return ActionValueDecision(actionName, vAction); in ActionDecision()
216 std::string ThermalActionReportTest::ActionValueDecision(const std::string& actionName, in ActionValueDecision() argument
219 THERMAL_HILOGD(LABEL_TEST, "action name = %{public}s", actionName.c_str()); in ActionValueDecision()
[all …]
Dthermal_config_file_parser.cpp38 bool ThermalConfigFileParser::GetActionEnableEvent(const std::string& actionName) in GetActionEnableEvent() argument
41 if (iter.name.compare(actionName) == 0 || in GetActionEnableEvent()
42 actionName.find(iter.name) != std::string::npos) { in GetActionEnableEvent()
49 bool ThermalConfigFileParser::GetActionStrict(const std::string& actionName) in GetActionStrict() argument
52 if (iter.name.compare(actionName) == 0 || in GetActionStrict()
53 actionName.find(iter.name) != std::string::npos) { in GetActionStrict()
460 policyAction.actionName = (char *)subNode->name; in ParsePolicySubnode()
466 policyAction.actionName.c_str(), policyAction.actionValue.c_str()); in ParsePolicySubnode()
/base/powermgr/thermal_manager/services/native/src/thermal_action/
Dthermal_action_manager.cpp63 void ThermalActionManager::InsertActionMap(const std::string& actionName, const std::string& protoc… in InsertActionMap() argument
66 std::shared_ptr<IThermalAction> thermalAction = ThermalActionFactory::Create(actionName); in InsertActionMap()
74 actionMap_.emplace(actionName, thermalAction); in InsertActionMap()
Dthermal_action_factory.cpp62 std::shared_ptr<IThermalAction> ThermalActionFactory::Create(const std::string& actionName) in Create() argument
66 if (StringOperation::Compare(actionName, iter->first)) { in Create()
/base/powermgr/thermal_manager/services/native/include/thermal_action/
Dthermal_action_factory.h28 static std::shared_ptr<IThermalAction> Create(const std::string& actionName);
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/action_soc/
Daction_cpu_lit.cpp31 ActionCpuLit::ActionCpuLit(const std::string& actionName) in ActionCpuLit() argument
33 actionName_ = actionName; in ActionCpuLit()
Daction_cpu_big.cpp31 ActionCpuBig::ActionCpuBig(const std::string& actionName) in ActionCpuBig() argument
33 actionName_ = actionName; in ActionCpuBig()
Daction_gpu.cpp31 ActionGpu::ActionGpu(const std::string& actionName) in ActionGpu() argument
33 actionName_ = actionName; in ActionGpu()
Daction_cpu_med.cpp31 ActionCpuMed::ActionCpuMed(const std::string& actionName) in ActionCpuMed() argument
33 actionName_ = actionName; in ActionCpuMed()
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
Daction_popup.cpp37 ActionPopup::ActionPopup(const std::string& actionName) in ActionPopup() argument
39 actionName_ = actionName; in ActionPopup()
Daction_display.cpp33 ActionDisplay::ActionDisplay(const std::string& actionName) in ActionDisplay() argument
35 actionName_ = actionName; in ActionDisplay()
Daction_voltage.cpp37 ActionVoltage::ActionVoltage(const std::string& actionName) in ActionVoltage() argument
39 actionName_ = actionName; in ActionVoltage()
/base/powermgr/thermal_manager/services/native/include/thermal_action/action/
Daction_display.h25 ActionDisplay(const std::string& actionName);
Daction_volume.h25 ActionVolume(const std::string& actionName);
Daction_popup.h25 ActionPopup(const std::string& actionName);
Daction_shutdown.h25 ActionShutdown(const std::string& actionName);
Daction_voltage.h27 ActionVoltage(const std::string& actionName);
Daction_charger.h27 ActionCharger(const std::string& actionName);
/base/powermgr/thermal_manager/services/native/include/thermal_action/action/action_soc/
Daction_cpu_big.h25 ActionCpuBig(const std::string& actionName);
Daction_cpu_lit.h25 ActionCpuLit(const std::string& actionName);
Daction_cpu_med.h25 ActionCpuMed(const std::string& actionName);

12