Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/power/
DPowerComponentHandler.java86 private final SparseBooleanArray mComponentStates = field in PowerComponentHandler
124 mComponentStates.put(component, false); in init()
145 if (mComponentStates.get(mRegisteredComponents.get(i), /* valueIfKeyNotFound= */ in getAccumulatedPolicy()
158 if (mComponentStates.get(component, /* valueIfKeyNotFound= */ false)) { in getAccumulatedPolicy()
223 mComponentStates.get(component, /* valueIfKeyNotFound= */ false) in dump()
256 proto.write(PowerComponentToState.STATE, mComponentStates.get( in dumpProto()
286 int componentIndex = mComponentStates.indexOfKey(component); // check if component exists in setComponentEnabledLocked()
287 boolean oldState = mComponentStates.get(component, /* valueIfKeyNotFound= */ false); in setComponentEnabledLocked()
294 mComponentStates.put(component, enabled); in setComponentEnabledLocked()