Home
last modified time | relevance | path

Searched refs:mDreamManager (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
DDreamBackend.java84 private final IDreamManager mDreamManager; field in DreamBackend
101 mDreamManager = IDreamManager.Stub.asInterface( in DreamBackend()
136 if (mDreamManager == null) in getDefaultDream()
139 return mDreamManager.getDefaultDreamComponent(); in getDefaultDream()
237 if (mDreamManager == null) in setActiveDream()
241 mDreamManager.setDreamComponents(dream == null ? null : dreams); in setActiveDream()
248 if (mDreamManager == null) in getActiveDream()
251 ComponentName[] dreams = mDreamManager.getDreamComponents(); in getActiveDream()
269 if (mDreamManager == null || dreamInfo == null || dreamInfo.componentName == null) in preview()
272 mDreamManager.testDream(dreamInfo.componentName); in preview()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationInterruptionStateProvider.java63 private final IDreamManager mDreamManager; field in NotificationInterruptionStateProvider
91 mDreamManager = dreamManager; in NotificationInterruptionStateProvider()
227 isDreaming = mDreamManager.isDreaming(); in shouldHeadsUp()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java99 private final IDreamManager mDreamManager; field in SystemServicesProxy
143 mDreamManager = IDreamManager.Stub.asInterface( in SystemServicesProxy()
515 return mDreamManager.isDreaming(); in isDreaming()
525 mDreamManager.awaken(); in awakenDreamsAsync()
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java102 private final IDreamManager mDreamManager; field in LegacyGlobalActions
131 mDreamManager = IDreamManager.Stub.asInterface( in LegacyGlobalActions()
179 if (mDreamManager != null) { in awakenIfNecessary()
181 if (mDreamManager.isDreaming()) { in awakenIfNecessary()
182 mDreamManager.awaken(); in awakenIfNecessary()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationActivityStarter.java102 private final IDreamManager mDreamManager; field in StatusBarNotificationActivityStarter
144 mDreamManager = dreamManager; in StatusBarNotificationActivityStarter()
424 mDreamManager.awaken(); in handleFullScreenIntent()
DStatusBar.java660 mDreamManager = IDreamManager.Stub.asInterface( in start()
1076 mBarService, mStatusBarStateController, mKeyguardManager, mDreamManager, in setUpPresenter()
4152 private IDreamManager mDreamManager;
4241 mDreamManager.awaken(); in awakenDreams()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java141 @Mock private IDreamManager mDreamManager; field in StatusBarTest
211 mDreamManager, mAmbientDisplayConfiguration); in setup()
416 when(mDreamManager.isDreaming()).thenReturn(false); in testShouldHeadsUp_nonSuppressedGroupSummary()
437 when(mDreamManager.isDreaming()).thenReturn(false); in testShouldHeadsUp_suppressedGroupSummary()
458 when(mDreamManager.isDreaming()).thenReturn(false); in testShouldHeadsUp_suppressedHeadsUp()
476 when(mDreamManager.isDreaming()).thenReturn(false); in testShouldHeadsUp_noSuppressedHeadsUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java142 private final IDreamManager mDreamManager; field in GlobalActionsDialog
177 mDreamManager = IDreamManager.Stub.asInterface( in GlobalActionsDialog()
254 if (mDreamManager != null) { in awakenIfNecessary()
256 if (mDreamManager.isDreaming()) { in awakenIfNecessary()
257 mDreamManager.awaken(); in awakenIfNecessary()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java237 private final IDreamManager mDreamManager; field in KeyguardUpdateMonitor
531 if (mIsDreaming && mDreamManager != null) { in awakenFromDream()
533 mDreamManager.awaken(); in awakenFromDream()
1501 mDreamManager = IDreamManager.Stub.asInterface( in KeyguardUpdateMonitor()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java249 private DreamManagerInternal mDreamManager; field in PowerManagerService
826 mDreamManager = getLocalService(DreamManagerInternal.class); in systemReady()
2301 if (mDreamManager != null) { in handleSandman()
2304 mDreamManager.stopDream(false /*immediate*/); in handleSandman()
2305 mDreamManager.startDream(wakefulness == WAKEFULNESS_DOZING); in handleSandman()
2307 isDreaming = mDreamManager.isDreaming(); in handleSandman()
2375 mDreamManager.stopDream(false /*immediate*/); in handleSandman()