Searched refs:mCustomComponents (Results 1 – 4 of 4) sorted by relevance
/packages/services/Car/service/src/com/android/car/power/ |
D | PolicyReader.java | 178 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/ |
D | FakeRefactoredCarPowerPolicyDaemon.java | 74 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/ |
D | PolicyManager.cpp | 727 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()
|
D | PolicyManager.h | 107 std::unordered_map<std::string, int32_t> mCustomComponents; variable
|