Home
last modified time | relevance | path

Searched refs:actionName (Results 1 - 25 of 53) sorted by relevance

123

/base/powermgr/thermal_manager/services/native/src/thermal_action/
H A Dthermal_action_factory.cpp47 [&](std::string actionName) { return std::make_shared<ActionAirplane>(actionName); }), in InitFactory()
49 [&](std::string actionName) { return std::make_shared<ActionCpuBig>(actionName); }), in InitFactory()
51 [&](std::string actionName) { return std::make_shared<ActionCpuMed>(actionName); }), in InitFactory()
53 [&](std::string actionName) { return std::make_shared<ActionCpuLit>(actionName); }), in InitFactory()
55 [&](std::string actionName) { return std::make_shared<ActionGpu>(actionName); }), in InitFactory()
81 Create(const std::string& actionClass, const std::string& actionName) Create() argument
[all...]
H A Dthermal_action_manager.cpp144 void ThermalActionManager::EnableMock(const std::string& actionName, void* mockAction) in EnableMock() argument
146 THERMAL_HILOGI(COMP_SVC, "EnableMock [%{public}s] ability", actionName.c_str()); in EnableMock()
148 auto actionIter = actionMap_.find(actionName); in EnableMock()
150 THERMAL_HILOGE(COMP_SVC, "can't find action [%{public}s] ability", actionName.c_str()); in EnableMock()
/base/powermgr/thermal_manager/test/unittest/include/
H A Dthermal_action_report_test.h35 static std::string GetActionValue(const std::string& actionName, uint32_t level);
36 static std::string ActionDecision(const std::string& actionName, std::vector<PolicyAction>& vAction);
37 static std::string ActionValueDecision(const std::string& actionName, std::vector<PolicyAction>& vAction);
38 static std::string LcdValueDecision(const std::string& actionName, std::vector<PolicyAction>& vAction);
43 static void ThermalActionTriggered(const std::string& actionName, int32_t level, const std::string& dumpInfo,
/base/powermgr/thermal_manager/utils/native/src/
H A Dthermal_hisysevent.cpp46 void WriteActionTriggeredHiSysEvent(bool enableEvent, const std::string& actionName, int32_t value) in WriteActionTriggeredHiSysEvent() argument
49 WriteEvent("ACTION_TRIGGERED", "ACTION", actionName, "VALUE", value); in WriteActionTriggeredHiSysEvent()
53 void WriteActionTriggeredHiSysEventWithRatio(bool enableEvent, const std::string& actionName, float value) in WriteActionTriggeredHiSysEventWithRatio() argument
56 WriteEvent("ACTION_TRIGGERED", "ACTION", actionName, "RATIO", value); in WriteActionTriggeredHiSysEventWithRatio()
/base/powermgr/thermal_manager/utils/native/include/
H A Dthermal_hisysevent.h24 void WriteActionTriggeredHiSysEvent(bool enableEvent, const std::string& actionName, int32_t value);
25 void WriteActionTriggeredHiSysEventWithRatio(bool enableEvent, const std::string& actionName, float value);
/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_action_report_test.cpp91 std::string ThermalActionReportTest::GetActionValue(const std::string& actionName, uint32_t level) in GetActionValue() argument
93 THERMAL_HILOGD(LABEL_TEST, "action name = %{public}s, level = %{public}d", actionName.c_str(), level); in GetActionValue()
100 return ActionDecision(actionName, vAction); in GetActionValue()
103 std::string ThermalActionReportTest::ActionDecision(const std::string& actionName, std::vector<PolicyAction>& vAction) in ActionDecision() argument
105 THERMAL_HILOGD(LABEL_TEST, "action name = %{public}s", actionName.c_str()); in ActionDecision()
106 if (actionName == LCD_ACTION_NAME) { in ActionDecision()
107 return LcdValueDecision(actionName, vAction); in ActionDecision()
109 return ActionValueDecision(actionName, vAction); in ActionDecision()
114 const std::string& actionName, std::vector<PolicyAction>& vAction) in ActionValueDecision()
116 THERMAL_HILOGD(LABEL_TEST, "action name = %{public}s", actionName in ActionValueDecision()
113 ActionValueDecision( const std::string& actionName, std::vector<PolicyAction>& vAction) ActionValueDecision() argument
145 LcdValueDecision(const std::string& actionName, std::vector<PolicyAction>& vAction) LcdValueDecision() argument
251 ThermalActionTriggered( const std::string& actionName, int32_t level, const std::string& dumpInfo, bool isReversed) ThermalActionTriggered() argument
257 GTEST_LOG_(INFO) << __func__ << " action name: " << actionName << " enalbe event flag is false, return"; ThermalActionTriggered() local
[all...]
H A Dthermal_policy_test.cpp114 action.actionName = "test"; in HWTEST_F()
139 action1.actionName = "test"; in HWTEST_F()
142 action2.actionName = "test1"; in HWTEST_F()
145 action2.actionName = "test2"; in HWTEST_F()
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/action_soc/
H A Daction_cpu_big.cpp27 ActionCpuBig::ActionCpuBig(const std::string& actionName) in ActionCpuBig() argument
29 actionName_ = actionName; in ActionCpuBig()
H A Daction_cpu_boost.cpp28 ActionCpuBoost::ActionCpuBoost(const std::string& actionName) in ActionCpuBoost() argument
30 actionName_ = actionName; in ActionCpuBoost()
H A Daction_cpu_isolate.cpp27 ActionCpuIsolate::ActionCpuIsolate(const std::string& actionName) in ActionCpuIsolate() argument
29 actionName_ = actionName; in ActionCpuIsolate()
H A Daction_cpu_lit.cpp27 ActionCpuLit::ActionCpuLit(const std::string& actionName) in ActionCpuLit() argument
29 actionName_ = actionName; in ActionCpuLit()
H A Daction_cpu_med.cpp27 ActionCpuMed::ActionCpuMed(const std::string& actionName) in ActionCpuMed() argument
29 actionName_ = actionName; in ActionCpuMed()
H A Daction_gpu.cpp27 ActionGpu::ActionGpu(const std::string& actionName) in ActionGpu() argument
29 actionName_ = actionName; in ActionGpu()
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
H A Daction_display.cpp37 ActionDisplay::ActionDisplay(const std::string& actionName) in ActionDisplay() argument
39 actionName_ = actionName; in ActionDisplay()
H A Daction_node.cpp31 ActionNode::ActionNode(const std::string& actionName) in ActionNode() argument
33 actionName_ = actionName; in ActionNode()
/base/powermgr/thermal_manager/services/native/include/thermal_action/
H A Dthermal_action_factory.h30 static std::shared_ptr<IThermalAction> Create(const std::string& actionClass, const std::string& actionName);
/base/powermgr/thermal_manager/services/native/include/thermal_action/action/action_soc/
H A Daction_cpu_lit.h25 ActionCpuLit(const std::string& actionName);
H A Daction_cpu_med.h25 ActionCpuMed(const std::string& actionName);
H A Daction_gpu.h25 ActionGpu(const std::string& actionName);
H A Daction_cpu_boost.h27 ActionCpuBoost(const std::string& actionName);
H A Daction_cpu_isolate.h25 ActionCpuIsolate(const std::string& actionName);
/base/powermgr/thermal_manager/services/native/include/thermal_action/action/
H A Daction_volume.h25 ActionVolume(const std::string& actionName);
H A Daction_airplane.h25 ActionAirplane(const std::string& actionName);
H A Daction_popup.h25 ActionPopup(const std::string& actionName);
H A Daction_shutdown.h25 ActionShutdown(const std::string& actionName);

Completed in 10 milliseconds

123