/base/powermgr/thermal_manager/utils/native/src/ |
D | thermal_hisysevent.cpp | 39 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/ |
D | thermal_action_report_test.h | 42 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…
|
D | thermal_config_file_parser.h | 40 bool GetActionEnableEvent(const std::string& actionName); 41 bool GetActionStrict(const std::string& actionName);
|
/base/powermgr/thermal_manager/utils/native/include/ |
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…
|
/base/powermgr/thermal_manager/services/native/test/unittest/src/ |
D | thermal_action_report_test.cpp | 194 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 …]
|
D | thermal_config_file_parser.cpp | 38 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/ |
D | thermal_action_manager.cpp | 63 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()
|
D | thermal_action_factory.cpp | 62 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/ |
D | thermal_action_factory.h | 28 static std::shared_ptr<IThermalAction> Create(const std::string& actionName);
|
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/action_soc/ |
D | action_cpu_lit.cpp | 31 ActionCpuLit::ActionCpuLit(const std::string& actionName) in ActionCpuLit() argument 33 actionName_ = actionName; in ActionCpuLit()
|
D | action_cpu_big.cpp | 31 ActionCpuBig::ActionCpuBig(const std::string& actionName) in ActionCpuBig() argument 33 actionName_ = actionName; in ActionCpuBig()
|
D | action_gpu.cpp | 31 ActionGpu::ActionGpu(const std::string& actionName) in ActionGpu() argument 33 actionName_ = actionName; in ActionGpu()
|
D | action_cpu_med.cpp | 31 ActionCpuMed::ActionCpuMed(const std::string& actionName) in ActionCpuMed() argument 33 actionName_ = actionName; in ActionCpuMed()
|
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/ |
D | action_popup.cpp | 37 ActionPopup::ActionPopup(const std::string& actionName) in ActionPopup() argument 39 actionName_ = actionName; in ActionPopup()
|
D | action_display.cpp | 33 ActionDisplay::ActionDisplay(const std::string& actionName) in ActionDisplay() argument 35 actionName_ = actionName; in ActionDisplay()
|
D | action_voltage.cpp | 37 ActionVoltage::ActionVoltage(const std::string& actionName) in ActionVoltage() argument 39 actionName_ = actionName; in ActionVoltage()
|
/base/powermgr/thermal_manager/services/native/include/thermal_action/action/ |
D | action_display.h | 25 ActionDisplay(const std::string& actionName);
|
D | action_volume.h | 25 ActionVolume(const std::string& actionName);
|
D | action_popup.h | 25 ActionPopup(const std::string& actionName);
|
D | action_shutdown.h | 25 ActionShutdown(const std::string& actionName);
|
D | action_voltage.h | 27 ActionVoltage(const std::string& actionName);
|
D | action_charger.h | 27 ActionCharger(const std::string& actionName);
|
/base/powermgr/thermal_manager/services/native/include/thermal_action/action/action_soc/ |
D | action_cpu_big.h | 25 ActionCpuBig(const std::string& actionName);
|
D | action_cpu_lit.h | 25 ActionCpuLit(const std::string& actionName);
|
D | action_cpu_med.h | 25 ActionCpuMed(const std::string& actionName);
|