Lines Matching refs:policyGroup
371 PolicyGroup policyGroup; in readPolicyGroup() local
392 policyGroup.emplace(powerState, policyId); in readPolicyGroup()
405 if (policyGroup.count(powerState) > 0) { in readPolicyGroup()
411 return policyGroup; in readPolicyGroup()
444 const auto& policyGroup = readPolicyGroup(pPolicyGroup, registeredPowerPolicies); in readPolicyGroups() local
445 if (!policyGroup.ok()) { in readPolicyGroups()
446 return Error() << policyGroup.error(); in readPolicyGroups()
448 policyGroups.groups.emplace(policyGroupId, *policyGroup); in readPolicyGroups()
627 PolicyGroup policyGroup = mPolicyGroups.at(groupIdToUse); in getDefaultPowerPolicyForState() local
629 if (policyGroup.count(key) == 0) { in getDefaultPowerPolicyForState()
632 return mRegisteredPowerPolicies.at(policyGroup.at(key)); in getDefaultPowerPolicyForState()
674 PolicyGroup policyGroup; in definePowerPolicyGroup() local
678 policyGroup[powerState] = powerPolicyPerState[i]; in definePowerPolicyGroup()
685 mPolicyGroups.emplace(policyGroupId, policyGroup); in definePowerPolicyGroup()