Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateManagerService.java157 private Optional<DeviceState> mBaseState = Optional.empty(); field in DeviceStateManagerService
329 return mBaseState; in getBaseState()
399 final DeviceState baseState = mBaseState.orElse(INVALID_DEVICE_STATE); in getDeviceStateInfoLocked()
514 if (mBaseState.isPresent() && mBaseState.get().equals(baseState)) { in setBaseState()
522 mBaseState = Optional.of(baseState); in setBaseState()
555 } else if (mBaseState.isPresent() in updatePendingStateLocked()
556 && isSupportedStateLocked(mBaseState.get().getIdentifier())) { in updatePendingStateLocked()
558 stateToConfigure = mBaseState.get(); in updatePendingStateLocked()
666 if (!mBaseState.isPresent() || !mCommittedState.isPresent()) { in notifyDeviceStateInfoChangedAsync()
863 statusBar.showRearDisplayDialog(mBaseState.get().getIdentifier()); in showRearDisplayEducationalOverlayLocked()
[all …]
/frameworks/base/core/tests/devicestatetests/src/android/hardware/devicestate/
DDeviceStateManagerGlobalTest.java260 private DeviceState mBaseState = DEFAULT_DEVICE_STATE; field in DeviceStateManagerGlobalTest.TestDeviceStateManagerService
272 ? mBaseState.getIdentifier() : mBaseStateRequest.state; in getInfo()
409 mBaseState = state; in setBaseState()