Home
last modified time | relevance | path

Searched refs:actionValue (Results 1 - 10 of 10) sorted by relevance

/base/powermgr/power_manager/services/native/src/wakeup_action/
H A Dwakeup_action_source_parser.cpp110 Json::Value actionValue = valueObj[WakeupActionSource::ACTION_KEY]; in ParseSourcesProc() local
115 if (actionValue.isUInt()) { in ParseSourcesProc()
116 action = actionValue.asUInt(); in ParseSourcesProc()
/base/customization/enterprise_device_management/services/edm_plugin/src/
H A Dpower_policy_plugin.cpp180 Json::Value actionValue = valueObj[KEY_ACTION]; in SetPowerPolicyObject() local
182 if (actionValue.isUInt() && delayValue.isUInt()) { in SetPowerPolicyObject()
183 if (!powerPolicy.SetPowerPolicyAction(actionValue.asUInt())) { in SetPowerPolicyObject()
/base/powermgr/power_manager/services/native/src/suspend/
H A Dsuspend_source_parser.cpp172 Json::Value actionValue = valueObj[SuspendSource::ACTION_KEY]; in ParseSourcesProc() local
174 if (actionValue.isUInt() && delayValue.isUInt()) { in ParseSourcesProc()
175 action = actionValue.asUInt(); in ParseSourcesProc()
/base/powermgr/thermal_manager/services/native/include/thermal_policy/
H A Dthermal_policy.h30 std::string actionValue; member
/base/powermgr/thermal_manager/services/native/src/thermal_observer/
H A Dthermal_observer.cpp223 void ThermalObserver::SetDecisionValue(const std::string& actionName, const std::string& actionValue) in SetDecisionValue() argument
227 COMP_SVC, "actionName = %{public}s, actionValue = %{public}s", actionName.c_str(), actionValue.c_str()); in SetDecisionValue()
230 iter->second = actionValue; in SetDecisionValue()
232 actionMap_.insert(std::make_pair(actionName, actionValue)); in SetDecisionValue()
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
H A Dthermal_srv_config_parser.cpp620 xmlChar* actionValue = xmlNodeGetContent(subNode); in ParsePolicyActionInfo() local
621 if (actionValue != nullptr) { in ParsePolicyActionInfo()
622 policyAction.actionValue = reinterpret_cast<char*>(actionValue); in ParsePolicyActionInfo()
625 policyAction.actionName.c_str(), policyAction.actionValue.c_str()); in ParsePolicyActionInfo()
626 xmlFree(actionValue); in ParsePolicyActionInfo()
H A Dthermal_policy.cpp166 actionPolicyMap[action->actionName] = action->actionValue; in ActionDecision()
263 result.append("actionValue: "); in PrintPolicyAction()
264 result.append(iter->actionValue); in PrintPolicyAction()
/base/powermgr/thermal_manager/services/native/include/thermal_observer/
H A Dthermal_observer.h56 void SetDecisionValue(const std::string& actionName, const std::string& actionValue);
/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_action_report_test.cpp123 valueList.push_back(stoi(actionIter.actionValue)); in ActionValueDecision()
126 valueList.push_back(stoi(actionIter.actionValue)); in ActionValueDecision()
155 valueList.push_back(stof(actionIter.actionValue)); in LcdValueDecision()
156 sceneMap.emplace(std::pair(actionIter.actionPropMap.begin()->second, actionIter.actionValue)); in LcdValueDecision()
159 valueList.push_back(stof(actionIter.actionValue)); in LcdValueDecision()
H A Dthermal_config_file_parser.cpp480 policyAction.actionValue = reinterpret_cast<char*>(xmlActionValue); in ParsePolicySubnode()
483 policyAction.actionName.c_str(), policyAction.actionValue.c_str()); in ParsePolicySubnode()

Completed in 9 milliseconds