Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerState.java451 private int mPendingState = INITIAL_SCREEN_STATE; field in DisplayPowerState.PhotonicModulator
466 boolean stateChanged = state != mPendingState; in setState()
475 mPendingState = state; in setState()
494 pw.println(" mPendingState=" + Display.stateToString(mPendingState)); in dump()
515 state = mPendingState; in run()
/frameworks/base/services/core/java/com/android/server/vr/
DVrManagerService.java159 private VrState mPendingState; field in VrManagerService
241 mPendingState = (mVrModeEnabled && mCurrentVrService != null) in updateVrModeAllowedLocked()
1220 if (mPendingState != null) { in consumeAndApplyPendingStateLocked()
1221 updateCurrentVrServiceLocked(mPendingState.enabled, mPendingState.running2dInVr, in consumeAndApplyPendingStateLocked()
1222 mPendingState.targetPackageName, mPendingState.userId, mPendingState.processId, in consumeAndApplyPendingStateLocked()
1223 mPendingState.callingPackage); in consumeAndApplyPendingStateLocked()
1224 mPendingState = null; in consumeAndApplyPendingStateLocked()
1292 mPendingState = pending; in setVrMode()
1299 if (mPendingState == null) { in setVrMode()
1304 mPendingState = pending; in setVrMode()
[all …]
/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateManagerService.java148 private Optional<DeviceState> mPendingState = Optional.empty(); field in DeviceStateManagerService
312 return mPendingState; in getPendingState()
546 if (mPendingState.isPresent()) { in updatePendingStateLocked()
573 mPendingState = Optional.of(stateToConfigure); in updatePendingStateLocked()
595 state = mPendingState.get().getIdentifier(); in notifyPolicyIfNeeded()
621 final DeviceState newState = mPendingState.get(); in commitPendingState()
634 mPendingState = Optional.empty(); in commitPendingState()
660 if (mPendingState.isPresent()) { in notifyDeviceStateInfoChangedAsync()
751 if (!updatedPendingState && !mPendingState.isPresent()) { in onOverrideRequestStatusChangedLocked()
942 pw.println(" mPendingState=" + mPendingState); in dumpInternal()