Home
last modified time | relevance | path

Searched refs:mPolicyGroups (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/service/src/com/android/car/power/
DPolicyReader.java173 private ArrayMap<String, SparseArray<String>> mPolicyGroups; field in PolicyReader
194 SparseArray<String> group = mPolicyGroups.get( in getDefaultPowerPolicyForState()
218 return mPolicyGroups.containsKey(groupId); in isPowerPolicyGroupAvailable()
298 if (mPolicyGroups.containsKey(policyGroupId)) { in definePowerPolicyGroup()
313 mPolicyGroups.put(policyGroupId, defaultPolicyPerState); in definePowerPolicyGroup()
346 size = mPolicyGroups.size(); in dump()
354 String key = mPolicyGroups.keyAt(i); in dump()
357 SparseArray<String> group = mPolicyGroups.get(key); in dump()
417 for (int i = 0; i < mPolicyGroups.size(); i++) { in dumpProto()
420 String policyGroupId = mPolicyGroups.keyAt(i); in dumpProto()
[all …]
/packages/services/Car/cpp/powerpolicy/server/src/
DPolicyManager.cpp598 mPolicyGroups.clear(); in init()
623 if (mPolicyGroups.count(groupIdToUse) == 0) { in getDefaultPowerPolicyForState()
627 PolicyGroup policyGroup = mPolicyGroups.at(groupIdToUse); in getDefaultPowerPolicyForState()
636 return mPolicyGroups.count(groupId) > 0; in isPowerPolicyGroupAvailable()
685 mPolicyGroups.emplace(policyGroupId, policyGroup); in definePowerPolicyGroup()
701 mPolicyGroups.size() ? "" : " none"), in dump()
703 for (auto& itGroup : mPolicyGroups) { in dump()
802 mPolicyGroups = policyGroups->groups; in readPowerPolicyFromXml()
DPolicyManager.h105 std::unordered_map<std::string, PolicyGroup> mPolicyGroups; variable