Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/
DCommunalDreamStartableTest.kt79 whenever(dreamManager.canStartDreaming(/* isScreenOn = */ true)).thenReturn(true) in startDreamWhenTransitioningToHub()
95 whenever(dreamManager.canStartDreaming(/* isScreenOn = */ true)).thenReturn(true) in restartDreamingWhenTransitioningFromDreamingToOccludedToDreaming()
121 whenever(dreamManager.canStartDreaming(/* isScreenOn = */ true)).thenReturn(false) in shouldNotStartDreamWhenIneligibleToDream()
132 whenever(dreamManager.canStartDreaming(/* isScreenOn = */ true)).thenReturn(true) in shouldNotStartDreamIfAlreadyDreaming()
143 whenever(dreamManager.canStartDreaming(/* isScreenOn = */ true)).thenReturn(true) in shouldNotStartDreamForInvalidTransition()
/frameworks/base/core/java/android/service/dreams/
DDreamManagerInternal.java60 public abstract boolean canStartDreaming(boolean isScreenOn); in canStartDreaming() method in DreamManagerInternal
DIDreamManager.aidl41 boolean canStartDreaming(boolean isScreenOn); in canStartDreaming() method
/frameworks/base/core/java/android/app/
DDreamManager.java196 public boolean canStartDreaming(boolean isScreenOn) { in canStartDreaming() method in DreamManager
198 return mService.canStartDreaming(isScreenOn); in canStartDreaming()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/
DCommunalDreamStartable.kt81 dreamManager.canStartDreaming(isAwake) in <lambda>()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java1018 public boolean canStartDreaming(boolean isScreenOn) { in canStartDreaming() method in DreamManagerService.BinderService
1217 public boolean canStartDreaming(boolean isScreenOn) { in canStartDreaming() method in DreamManagerService.LocalService
/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DTestPhoneWindowManager.java504 doReturn(canDream).when(mDreamManagerInternal).canStartDreaming(anyBoolean()); in overrideCanStartDreaming()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java1239 if (dreamManagerInternal == null || !dreamManagerInternal.canStartDreaming(isScreenOn)) { in attemptToDreamFromShortPowerButtonPress()