Searched refs:canStartDreaming (Results 1 – 8 of 8) sorted by relevance
79 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()
60 public abstract boolean canStartDreaming(boolean isScreenOn); in canStartDreaming() method in DreamManagerInternal
41 boolean canStartDreaming(boolean isScreenOn); in canStartDreaming() method
196 public boolean canStartDreaming(boolean isScreenOn) { in canStartDreaming() method in DreamManager198 return mService.canStartDreaming(isScreenOn); in canStartDreaming()
81 dreamManager.canStartDreaming(isAwake) in <lambda>()
1018 public boolean canStartDreaming(boolean isScreenOn) { in canStartDreaming() method in DreamManagerService.BinderService1217 public boolean canStartDreaming(boolean isScreenOn) { in canStartDreaming() method in DreamManagerService.LocalService
504 doReturn(canDream).when(mDreamManagerInternal).canStartDreaming(anyBoolean()); in overrideCanStartDreaming()
1239 if (dreamManagerInternal == null || !dreamManagerInternal.canStartDreaming(isScreenOn)) { in attemptToDreamFromShortPowerButtonPress()