Home
last modified time | relevance | path

Searched refs:actionValue (Results 1 – 8 of 8) sorted by relevance

/base/powermgr/power_manager/services/native/src/suspend/
Dsuspend_source_parser.cpp126 Json::Value actionValue = valueObj[SuspendSource::ACTION_KEY]; in ParseSourcesProc() local
128 if (actionValue.isUInt() && delayValue.isUInt()) { in ParseSourcesProc()
129 action = actionValue.asUInt(); in ParseSourcesProc()
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_policy.cpp162 actionIter->second->AddActionValue(action->actionValue); in ActionDecision()
165 actionIter->second->SetXmlScene(it->second, action->actionValue); in ActionDecision()
168 actionIter->second->AddActionValue(action->actionValue); in ActionDecision()
252 result.append(iter->actionValue); in PrintPolicyAction()
Dthermal_srv_config_parser.cpp542 xmlChar* actionValue = xmlNodeGetContent(subNode); in ParsePolicyActionInfo() local
543 if (actionValue != nullptr) { in ParsePolicyActionInfo()
544 policyAction.actionValue = reinterpret_cast<char*>(actionValue); in ParsePolicyActionInfo()
547 policyAction.actionName.c_str(), policyAction.actionValue.c_str()); in ParsePolicyActionInfo()
548 xmlFree(actionValue); in ParsePolicyActionInfo()
/base/powermgr/thermal_manager/services/native/include/thermal_policy/
Dthermal_policy.h31 std::string actionValue; member
/base/powermgr/thermal_manager/services/native/src/thermal_observer/
Dthermal_observer.cpp205 …id ThermalObserver::SetDecisionValue(const std::string& actionName, const std::string& actionValue) in SetDecisionValue() argument
209 …, "actionName = %{public}s, actionValue = %{public}f", actionName.c_str(), std::stof(actionValue)); in SetDecisionValue()
212 iter->second = std::stof(actionValue); in SetDecisionValue()
214 g_actionMap.insert(std::make_pair(actionName, std::stof(actionValue))); in SetDecisionValue()
/base/powermgr/thermal_manager/services/native/include/thermal_observer/
Dthermal_observer.h61 void SetDecisionValue(const std::string& actionName, const std::string& actionValue);
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_action_report_test.cpp111 valueList.push_back(stoi(actionIter.actionValue)); in ActionValueDecision()
114 valueList.push_back(stoi(actionIter.actionValue)); in ActionValueDecision()
144 valueList.push_back(stof(actionIter.actionValue)); in LcdValueDecision()
145 … sceneMap.emplace(std::pair(actionIter.actionPropMap.begin()->second, actionIter.actionValue)); in LcdValueDecision()
148 valueList.push_back(stof(actionIter.actionValue)); in LcdValueDecision()
Dthermal_config_file_parser.cpp464 policyAction.actionValue = reinterpret_cast<char*>(xmlActionValue); in ParsePolicySubnode()
467 policyAction.actionName.c_str(), policyAction.actionValue.c_str()); in ParsePolicySubnode()