Lines Matching refs:policyGroup
283 PolicyGroup policyGroup; in readPolicyGroup() local
304 policyGroup.emplace(powerState, policyId); in readPolicyGroup()
317 if (policyGroup.count(powerState) > 0) { in readPolicyGroup()
323 return policyGroup; in readPolicyGroup()
343 const auto& policyGroup = readPolicyGroup(pPolicyGroup, registeredPowerPolicies); in readPolicyGroups() local
344 if (!policyGroup.ok()) { in readPolicyGroups()
345 return Error() << policyGroup.error(); in readPolicyGroups()
347 policyGroups.emplace(policyGroupId, *policyGroup); in readPolicyGroups()
480 PolicyGroup policyGroup = mPolicyGroups.at(groupId); in getDefaultPowerPolicyForState() local
482 if (policyGroup.count(key) == 0) { in getDefaultPowerPolicyForState()
485 return mRegisteredPowerPolicies.at(policyGroup.at(key)); in getDefaultPowerPolicyForState()