Searched refs:mPreemptivePowerPolicies (Results 1 – 3 of 3) sorted by relevance
466 if (mPreemptivePowerPolicies.count(policyId) > 0) { in getPowerPolicy()468 .powerPolicy = mPreemptivePowerPolicies.at(policyId), in getPowerPolicy()493 return mPreemptivePowerPolicies.count(policyId) > 0; in isPreemptivePowerPolicy()541 toString(*mPreemptivePowerPolicies.at( in dump()594 CarPowerPolicyPtr systemPolicy = mPreemptivePowerPolicies.at(kSystemPolicyIdNoUserInteraction); in reconstructNoUserInteractionPolicy()622 mPreemptivePowerPolicies.clear(); in initPreemptivePowerPolicy()623 mPreemptivePowerPolicies.emplace(kSystemPolicyIdNoUserInteraction, in initPreemptivePowerPolicy()627 mPreemptivePowerPolicies.emplace(kSystemPolicyIdSuspendToRam, in initPreemptivePowerPolicy()
89 std::unordered_map<std::string, CarPowerPolicyPtr> mPreemptivePowerPolicies; variable
154 private ArrayMap<String, CarPowerPolicy> mPreemptivePowerPolicies; field in PolicyReader189 return mPreemptivePowerPolicies.get(policyId); in getPreemptivePowerPolicy()197 return mPreemptivePowerPolicies.containsKey(policyId); in isPreemptivePowerPolicy()296 for (int i = 0; i < mPreemptivePowerPolicies.size(); i++) { in dump()297 writer.println(toString(mPreemptivePowerPolicies.valueAt(i))); in dump()310 mPreemptivePowerPolicies = new ArrayMap<>(); in initPolicies()311 mPreemptivePowerPolicies.put(POWER_POLICY_ID_NO_USER_INTERACTION, in initPolicies()315 mPreemptivePowerPolicies.put(POWER_POLICY_ID_SUSPEND_TO_RAM, POWER_POLICY_SUSPEND_TO_RAM); in initPolicies()605 mPreemptivePowerPolicies.put(POWER_POLICY_ID_NO_USER_INTERACTION, in reconstructSystemPowerPolicy()