Home
last modified time | relevance | path

Searched refs:mCustomComponents (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/service/src/com/android/car/power/
DPolicyReader.java178 private ArrayMap<String, Integer> mCustomComponents = new ArrayMap<>(); field in PolicyReader
319 int size = mCustomComponents.size(); in dump()
327 Object key = mCustomComponents.keyAt(i); in dump()
328 writer.printf("Component name: %s, value: %s\n", key, mCustomComponents.get(key)); in dump()
404 for (int i = 0; i < mCustomComponents.size(); i++) { in dumpProto()
407 Object key = mCustomComponents.keyAt(i); in dumpProto()
410 mCustomComponents.get(key).intValue()); in dumpProto()
519 mCustomComponents = customComponents; in readPowerPolicyFromXml()
959 if (!mCustomComponents.containsValue(componentId)) { in parseComponents()
960 mCustomComponents.put(String.valueOf(componentId), componentId); in parseComponents()
[all …]
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/
DFakeRefactoredCarPowerPolicyDaemon.java74 private final int[] mCustomComponents; field in FakeRefactoredCarPowerPolicyDaemon
109 mCustomComponents = Objects.requireNonNullElse(customComponents, new int[]{}); in FakeRefactoredCarPowerPolicyDaemon()
186 initData.registeredCustomComponents = mCustomComponents; in notifyCarServiceReady()
/packages/services/Car/cpp/powerpolicy/server/src/
DPolicyManager.cpp727 for (const auto& [_, component] : mCustomComponents) { in getCustomComponents()
773 mCustomComponents = *customComponents; in readPowerPolicyFromXml()
775 readPolicies(pRootElement, kTagPolicies, true, mCustomComponents); in readPowerPolicyFromXml()
793 const auto& systemPolicyOverrides = readSystemPolicyOverrides(pRootElement, mCustomComponents); in readPowerPolicyFromXml()
DPolicyManager.h107 std::unordered_map<std::string, int32_t> mCustomComponents; variable