Searched refs:policyMap (Results 1 – 3 of 3) sorted by relevance
1359 SparseIntArray policyMap = mProfileConnectionPolicy.get(device); in setProfileConnectionPolicy() local1360 if (policyMap == null) { in setProfileConnectionPolicy()1361 policyMap = new SparseIntArray(); in setProfileConnectionPolicy()1362 mProfileConnectionPolicy.put(device, policyMap); in setProfileConnectionPolicy()1364 policyMap.put(profile, policy); in setProfileConnectionPolicy()
1494 SparseIntArray policyMap = mProfileConnectionPolicy.get(device); in setProfileConnectionPolicy() local1495 if (policyMap == null) { in setProfileConnectionPolicy()1496 policyMap = new SparseIntArray(); in setProfileConnectionPolicy()1497 mProfileConnectionPolicy.put(device, policyMap); in setProfileConnectionPolicy()1499 policyMap.put(profile, policy); in setProfileConnectionPolicy()
738 const std::unordered_map<std::string, CarPowerPolicyPtr>& policyMap) { in getRegisteredPolicies() argument739 for (const auto& [_, policy] : policyMap) { in getRegisteredPolicies()