Home
last modified time | relevance | path

Searched refs:policyGroup (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/cpp/powerpolicy/server/src/
DPolicyManager.cpp283 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()
[all …]
/packages/services/Car/service/src/com/android/car/power/
DPolicyReader.java529 SparseArray<String> policyGroup = new SparseArray<>(); in parsePolicyGroup() local
550 policyGroup.put(powerState, id); in parsePolicyGroup()
571 return policyGroup; in parsePolicyGroup()