Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateManagerService.java163 private Optional<OverrideRequest> mActiveOverride = Optional.empty(); field in DeviceStateManagerService
204 OverrideRequest request = mActiveOverride.get();
263 mActiveOverride.ifPresent(mOverrideRequestController::cancelRequest); in DeviceStateManagerService()
341 if (mActiveOverride.isPresent()) { in getOverrideState()
342 return getStateLocked(mActiveOverride.get().getRequestedStateIdentifier()); in getOverrideState()
552 if (mActiveOverride.isPresent()) { in updatePendingStateLocked()
554 mActiveOverride.get().getRequestedStateIdentifier()).get(); in updatePendingStateLocked()
644 OverrideRequest activeRequest = mActiveOverride.orElse(null); in commitPendingState()
711 mActiveOverride = Optional.of(request); in onOverrideRequestStatusChangedLocked()
716 if (mActiveOverride.isPresent() && mActiveOverride.get() == request) { in onOverrideRequestStatusChangedLocked()
[all …]