/base/powermgr/thermal_manager/services/native/src/thermal_action/ |
H A D | thermal_action_factory.cpp | 47 [&](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 D | thermal_action_manager.cpp | 144 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 D | thermal_action_report_test.h | 35 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 D | thermal_hisysevent.cpp | 46 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 D | thermal_hisysevent.h | 24 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 D | thermal_action_report_test.cpp | 91 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 D | thermal_policy_test.cpp | 114 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 D | action_cpu_big.cpp | 27 ActionCpuBig::ActionCpuBig(const std::string& actionName) in ActionCpuBig() argument 29 actionName_ = actionName; in ActionCpuBig()
|
H A D | action_cpu_boost.cpp | 28 ActionCpuBoost::ActionCpuBoost(const std::string& actionName) in ActionCpuBoost() argument 30 actionName_ = actionName; in ActionCpuBoost()
|
H A D | action_cpu_isolate.cpp | 27 ActionCpuIsolate::ActionCpuIsolate(const std::string& actionName) in ActionCpuIsolate() argument 29 actionName_ = actionName; in ActionCpuIsolate()
|
H A D | action_cpu_lit.cpp | 27 ActionCpuLit::ActionCpuLit(const std::string& actionName) in ActionCpuLit() argument 29 actionName_ = actionName; in ActionCpuLit()
|
H A D | action_cpu_med.cpp | 27 ActionCpuMed::ActionCpuMed(const std::string& actionName) in ActionCpuMed() argument 29 actionName_ = actionName; in ActionCpuMed()
|
H A D | action_gpu.cpp | 27 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 D | action_display.cpp | 37 ActionDisplay::ActionDisplay(const std::string& actionName) in ActionDisplay() argument 39 actionName_ = actionName; in ActionDisplay()
|
H A D | action_node.cpp | 31 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 D | thermal_action_factory.h | 30 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 D | action_cpu_lit.h | 25 ActionCpuLit(const std::string& actionName);
|
H A D | action_cpu_med.h | 25 ActionCpuMed(const std::string& actionName);
|
H A D | action_gpu.h | 25 ActionGpu(const std::string& actionName);
|
H A D | action_cpu_boost.h | 27 ActionCpuBoost(const std::string& actionName);
|
H A D | action_cpu_isolate.h | 25 ActionCpuIsolate(const std::string& actionName);
|
/base/powermgr/thermal_manager/services/native/include/thermal_action/action/ |
H A D | action_volume.h | 25 ActionVolume(const std::string& actionName);
|
H A D | action_airplane.h | 25 ActionAirplane(const std::string& actionName);
|
H A D | action_popup.h | 25 ActionPopup(const std::string& actionName);
|
H A D | action_shutdown.h | 25 ActionShutdown(const std::string& actionName);
|