Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/unfold/system/
DDeviceStateManagerFoldProvider.kt27 private val deviceStateManager: DeviceStateManager, constant in com.android.systemui.unfold.system.DeviceStateManagerFoldProvider
36 deviceStateManager.registerCallback(executor, listener) in registerCallback()
43 deviceStateManager.unregisterCallback(it) in unregisterCallback()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDevicePostureController.java106 final DeviceStateManager deviceStateManager = mContext.getSystemService( in onInit() local
108 if (deviceStateManager != null) { in onInit()
109 deviceStateManager.registerCallback(mMainExecutor, state -> onDevicePostureChanged( in onInit()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DUnfoldLatencyTrackerTest.kt50 lateinit var deviceStateManager: DeviceStateManager variable in com.android.systemui.unfold.UnfoldLatencyTrackerTest
72 deviceStateManager, in setUp()
81 verify(deviceStateManager).registerCallback(any(), foldStateListenerCaptor.capture()) in setUp()
DFoldAodAnimationControllerTest.kt64 @Mock lateinit var deviceStateManager: DeviceStateManager variable in com.android.systemui.unfold.FoldAodAnimationControllerTest
128 deviceStateManager, in setup()
136 verify(deviceStateManager).registerCallback(any(), foldStateListenerCaptor.capture()) in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDevicePostureControllerImpl.java46 Context context, DeviceStateManager deviceStateManager, @Main Executor executor) { in DevicePostureControllerImpl() argument
73 deviceStateManager.registerCallback(executor, state -> { in DevicePostureControllerImpl()
DDeviceStateRotationLockSettingController.java66 DeviceStateManager deviceStateManager, in DeviceStateRotationLockSettingController() argument
72 mDeviceStateManager = deviceStateManager; in DeviceStateRotationLockSettingController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DUnfoldLatencyTracker.kt49 private val deviceStateManager: DeviceStateManager, constant in com.android.systemui.unfold.UnfoldLatencyTracker
71 deviceStateManager.registerCallback(uiBgExecutor, foldStateListener) in init()
DUnfoldTransitionModule.kt51 deviceStateManager: DeviceStateManager, in <lambda>()
56 deviceStateManager.registerCallback(executor, listener) in <lambda>()
DFoldAodAnimationController.kt57 private val deviceStateManager: DeviceStateManager, in <lambda>() constant in com.android.systemui.unfold.FoldAodAnimationController
92 deviceStateManager.registerCallback(mainExecutor, FoldListener()) in <lambda>()
DUnfoldLightRevealOverlayAnimation.kt64 private val deviceStateManager: DeviceStateManager, in <lambda>() constant in com.android.systemui.unfold.UnfoldLightRevealOverlayAnimation
100 deviceStateManager.registerCallback(bgExecutor, FoldListener()) in <lambda>()
/frameworks/base/services/core/java/com/android/server/policy/
DDisplayFoldController.java66 DeviceStateManager deviceStateManager = context.getSystemService(DeviceStateManager.class); in DisplayFoldController() local
67 deviceStateManager.registerCallback(new HandlerExecutor(handler), in DisplayFoldController()
/frameworks/base/core/java/android/hardware/devicestate/
DDeviceStateManagerGlobal.java83 public DeviceStateManagerGlobal(@NonNull IDeviceStateManager deviceStateManager) { in DeviceStateManagerGlobal() argument
84 mDeviceStateManager = deviceStateManager; in DeviceStateManagerGlobal()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DStageCoordinator.java330 final DeviceStateManager deviceStateManager = in StageCoordinator() local
332 deviceStateManager.registerCallback(taskOrganizer.getExecutor(), in StageCoordinator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java763 DeviceStateManager deviceStateManager, in CentralSurfacesImpl()
885 mDeviceStateManager = deviceStateManager; in CentralSurfacesImpl()