Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java236 private final LinkedList<CpmsState> mPendingPowerStates = new LinkedList<>(); field in CarPowerManagementService
759 mPendingPowerStates.addFirst(new CpmsState(state)); in onApPowerStateChange()
813 for (int idx = 0; idx < mPendingPowerStates.size(); idx++) { in onApPowerStateChange()
814 CpmsState pendingState = mPendingPowerStates.get(idx); in onApPowerStateChange()
820 mPendingPowerStates.addFirst(newState); in onApPowerStateChange()
831 newState = mPendingPowerStates.pollFirst(); in doHandlePowerStateChange()
839 if (!mPendingPowerStates.isEmpty()) { in doHandlePowerStateChange()
848 mPendingPowerStates.clear(); in doHandlePowerStateChange()
1285 mPendingPowerStates.addFirst(new CpmsState(CpmsState.WAIT_FOR_VHAL, in forceSimulatedCancel()
3125 if (!mPendingPowerStates.isEmpty()) { in suspendWithRetries()
[all …]