Searched refs:actionValue (Results 1 – 8 of 8) sorted by relevance
/base/powermgr/power_manager/services/native/src/suspend/ |
D | suspend_source_parser.cpp | 126 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/ |
D | thermal_policy.cpp | 162 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()
|
D | thermal_srv_config_parser.cpp | 542 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/ |
D | thermal_policy.h | 31 std::string actionValue; member
|
/base/powermgr/thermal_manager/services/native/src/thermal_observer/ |
D | thermal_observer.cpp | 205 …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/ |
D | thermal_observer.h | 61 void SetDecisionValue(const std::string& actionName, const std::string& actionValue);
|
/base/powermgr/thermal_manager/test/unittest/src/ |
D | thermal_action_report_test.cpp | 111 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()
|
D | thermal_config_file_parser.cpp | 464 policyAction.actionValue = reinterpret_cast<char*>(xmlActionValue); in ParsePolicySubnode() 467 policyAction.actionName.c_str(), policyAction.actionValue.c_str()); in ParsePolicySubnode()
|