Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/devicestate/
DDeviceStateManagerGlobal.java73 private final IDeviceStateManager mDeviceStateManager; field in DeviceStateManagerGlobal
88 mDeviceStateManager = deviceStateManager; in DeviceStateManagerGlobal()
108 currentInfo = mDeviceStateManager.getDeviceStateInfo(); in getSupportedDeviceStates()
143 mDeviceStateManager.requestState(token, request.getState(), request.getFlags()); in requestState()
162 mDeviceStateManager.cancelStateRequest(); in cancelStateRequest()
193 mDeviceStateManager.requestBaseStateOverride(token, request.getState(), in requestBaseStateOverride()
212 mDeviceStateManager.cancelBaseStateOverride(); in cancelBaseStateOverride()
273 mDeviceStateManager.onStateRequestOverlayDismissed(shouldCancelRequest); in onStateRequestOverlayDismissed()
283 mDeviceStateManager.registerCallback(mCallback); in registerCallbackIfNeededLocked()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/area/
DWindowAreaComponentImpl.java64 private final DeviceStateManager mDeviceStateManager; field in WindowAreaComponentImpl
102 mDeviceStateManager = context.getSystemService(DeviceStateManager.class); in WindowAreaComponentImpl()
108 mDeviceStateManager.getSupportedDeviceStates()); in WindowAreaComponentImpl()
119 mDeviceStateManager.registerCallback(mExecutor, this); in WindowAreaComponentImpl()
200 mDeviceStateManager.requestState( in startRearDisplaySession()
219 mDeviceStateManager.cancelStateRequest(); in endRearDisplaySession()
403 mDeviceStateManager.requestState( in startRearDisplayPresentationSession()
435 mDeviceStateManager.cancelStateRequest(); in endRearDisplayPresentationSession()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceStateRotationLockSettingController.java51 private final DeviceStateManager mDeviceStateManager; field in DeviceStateRotationLockSettingController
73 mDeviceStateManager = deviceStateManager; in DeviceStateRotationLockSettingController()
87 mDeviceStateManager.registerCallback(mMainExecutor, mDeviceStateCallback); in setListening()
94 mDeviceStateManager.unregisterCallback(mDeviceStateCallback); in setListening()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DDeviceStateRotationLockSettingControllerTest.java63 @Mock private DeviceStateManager mDeviceStateManager; field in DeviceStateRotationLockSettingControllerTest
92 mDeviceStateManager, in setUp()
100 verify(mDeviceStateManager) in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImplTest.java328 @Mock private DeviceStateManager mDeviceStateManager; field in CentralSurfacesImplTest
590 mDeviceStateManager, in createCentralSurfaces()
1410 verify(mDeviceStateManager).registerCallback(any(), callbackCaptor.capture()); in setDeviceState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java287 private final DeviceStateManager mDeviceStateManager; field in CentralSurfacesImpl
841 mDeviceStateManager = deviceStateManager; in CentralSurfacesImpl()
1083 mDeviceStateManager.registerCallback(mMainExecutor, in registerCallbacks()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java282 private DeviceStateManagerInternal mDeviceStateManager; field in DisplayManagerService
765 mDeviceStateManager = LocalServices.getService(DeviceStateManagerInternal.class); in windowManagerAndInputReady()
4779 if (mDeviceStateManager == null) { in getPossibleDisplayInfo()
4784 mDeviceStateManager.getSupportedStateIdentifiers(); in getPossibleDisplayInfo()