Searched refs:policyAction (Results 1 – 2 of 2) sorted by relevance
460 PolicyAction policyAction; in ParsePolicySubnode() local461 policyAction.actionName = reinterpret_cast<const char*>(subNode->name); in ParsePolicySubnode()464 policyAction.actionValue = reinterpret_cast<char*>(xmlActionValue); in ParsePolicySubnode()467 policyAction.actionName.c_str(), policyAction.actionValue.c_str()); in ParsePolicySubnode()473 policyAction.isProp = false; in ParsePolicySubnode()474 policyConfig.policyActionList.push_back(policyAction); in ParsePolicySubnode()484 policyAction.actionPropMap.emplace(std::pair(propName, propValue)); in ParsePolicySubnode()487 policyAction.isProp = true; in ParsePolicySubnode()489 policyConfig.policyActionList.push_back(policyAction); in ParsePolicySubnode()
540 PolicyAction policyAction; in ParsePolicyActionInfo() local541 policyAction.actionName = reinterpret_cast<const char*>(subNode->name); in ParsePolicyActionInfo()544 policyAction.actionValue = reinterpret_cast<char*>(actionValue); in ParsePolicyActionInfo()547 policyAction.actionName.c_str(), policyAction.actionValue.c_str()); in ParsePolicyActionInfo()550 … THERMAL_HILOGE(COMP_SVC, "action [%{public}s] value is null", policyAction.actionName.c_str()); in ParsePolicyActionInfo()555 policyAction.isProp = false; in ParsePolicyActionInfo()556 policyConfig.policyActionList.push_back(policyAction); in ParsePolicyActionInfo()566 policyAction.actionPropMap.emplace(std::pair(propName, propValue)); in ParsePolicyActionInfo()572 policyAction.isProp = true; in ParsePolicyActionInfo()574 policyConfig.policyActionList.push_back(policyAction); in ParsePolicyActionInfo()