Home
last modified time | relevance | path

Searched refs:dreamManager (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/
DCommunalDreamStartableTest.kt20 import android.service.dream.dreamManager
57 private val dreamManager by lazy { kosmos.dreamManager } in <lambda>() constant in com.android.systemui.communal.CommunalDreamStartableTest
68 dreamManager = dreamManager, in setUp()
79 whenever(dreamManager.canStartDreaming(/* isScreenOn = */ true)).thenReturn(true) in startDreamWhenTransitioningToHub()
82 verify(dreamManager, never()).startDream() in startDreamWhenTransitioningToHub()
86 verify(dreamManager).startDream() in startDreamWhenTransitioningToHub()
95 whenever(dreamManager.canStartDreaming(/* isScreenOn = */ true)).thenReturn(true) in restartDreamingWhenTransitioningFromDreamingToOccludedToDreaming()
98 verify(dreamManager, never()).startDream() in restartDreamingWhenTransitioningFromDreamingToOccludedToDreaming()
112 verify(dreamManager).startDream() in restartDreamingWhenTransitioningFromDreamingToOccludedToDreaming()
121 whenever(dreamManager.canStartDreaming(/* isScreenOn = */ true)).thenReturn(false) in shouldNotStartDreamWhenIneligibleToDream()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/
DCommunalDreamStartable.kt53 private val dreamManager: DreamManager, in <lambda>() constant in com.android.systemui.communal.CommunalDreamStartable
68 .onEach { dreamManager.startDream() } in <lambda>()
81 dreamManager.canStartDreaming(isAwake) in <lambda>()
85 .onEach { dreamManager.startDream() } in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/homecontrols/
DHomeControlsComponentInteractorKosmos.kt19 import android.service.dream.dreamManager
42 dreamManager = dreamManager, in <lambda>()
DHomeControlsComponentInteractorTest.kt26 import android.service.dream.dreamManager
191 verify(dreamManager, never()).startDream() in testMonitoringUpdatesAndRestart()
204 verify(dreamManager, never()).startDream() in testMonitoringUpdatesAndRestart()
214 verify(dreamManager).startDream() in testMonitoringUpdatesAndRestart()
235 verify(dreamManager, never()).startDream() in testMonitoringUpdatesAndRestart_dreamEndsAfterDelay()
248 verify(dreamManager, never()).startDream() in testMonitoringUpdatesAndRestart_dreamEndsAfterDelay()
258 verify(dreamManager, never()).startDream() in testMonitoringUpdatesAndRestart_dreamEndsAfterDelay()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DTestableControlsActivity.kt30 dreamManager: IDreamManager,
38 dreamManager,
DControlsActivityTest.kt47 @Mock private lateinit var dreamManager: IDreamManager variable in com.android.systemui.controls.ui.ControlsActivityTest
60 dreamManager, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/conditions/
DDreamCondition.java47 DreamManager dreamManager, in DreamCondition() argument
50 mDreamManager = dreamManager; in DreamCondition()
/frameworks/base/libs/dream/lowlight/src/com/android/dream/lowlight/
DLowLightDreamManager.kt44 private val dreamManager: DreamManager, constant in com.android.dream.lowlight.LowLightDreamManager
113 dreamManager.setSystemDreamComponent( in setAmbientLightMode()
/frameworks/base/packages/SystemUI/src/com/android/systemui/ambient/touch/
DShadeTouchHandler.java56 DreamManager dreamManager, in ShadeTouchHandler() argument
60 mDreamManager = dreamManager; in ShadeTouchHandler()
/frameworks/base/packages/SystemUI/tests/utils/src/android/service/dream/
DDreamManagerKosmos.kt25 val Kosmos.dreamManager by Kosmos.Fixture { mock<DreamManager>() } in <lambda>() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsActivity.kt53 private val dreamManager: IDreamManager, in <lambda>() constant in com.android.systemui.controls.ui.ControlsActivity
134 dreamManager.dream() in <lambda>()
/frameworks/base/libs/dream/lowlight/tests/src/com.android.dream.lowlight/
DLowLightDreamManagerTest.kt73 dreamManager = mDreamManager, in setUp()
122 dreamManager = mDreamManager, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/homecontrols/domain/interactor/
DHomeControlsComponentInteractor.kt71 private val dreamManager: DreamManager, in <lambda>() constant
170 .collect { dreamManager.startDream() } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/dagger/
DCentralSurfacesDependenciesModule.java225 IDreamManager dreamManager, in provideDialogTransitionAnimator() argument
234 return dreamManager.isDreaming(); in provideDialogTransitionAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DDreamTile.java102 IDreamManager dreamManager, in DreamTile() argument
112 mDreamManager = dreamManager; in DreamTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wmshell/
DBubblesManager.java138 IDreamManager dreamManager, in create() argument
159 dreamManager, in create()
185 IDreamManager dreamManager, in BubblesManager() argument
204 mDreamManager = dreamManager; in BubblesManager()
/frameworks/base/services/tests/dreamservicetests/src/com/android/server/dreams/
DTestDreamEnvironment.java184 IDreamManager dreamManager, in TestInjector() argument
189 mDreamManager = dreamManager; in TestInjector()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/
DDreamOverlayContainerViewController.java213 DreamManager dreamManager) { in DreamOverlayContainerViewController() argument
250 mDreamManager = dreamManager; in DreamOverlayContainerViewController()
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
DKeyguardServiceDelegate.java177 final DreamManagerInternal dreamManager = in bindService() local
180 dreamManager.registerDreamManagerStateListener(mDreamManagerStateListener); in bindService()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
DSystemUIModule.java384 IDreamManager dreamManager, in provideBubblesManager() argument
404 dreamManager, in provideBubblesManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java165 IDreamManager dreamManager, in StatusBarNotificationActivityStarter() argument
198 mDreamManager = dreamManager; in StatusBarNotificationActivityStarter()
DCentralSurfacesImpl.java702 IDreamManager dreamManager, in CentralSurfacesImpl()
812 mDreamManager = dreamManager; in CentralSurfacesImpl()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java3243 IDreamManager dreamManager = getDreamManager();
3244 if (dreamManager != null) {
3246 dreamManager.awaken();
5295 IDreamManager dreamManager = getDreamManager();
5298 if (dreamManager != null && dreamManager.isDreaming()) {
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java2156 IDreamManager dreamManager, in KeyguardUpdateMonitor() argument
2193 mDreamManager = dreamManager; in KeyguardUpdateMonitor()