Home
last modified time | relevance | path

Searched refs:mDreamManager (Results 1 – 11 of 11) 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.java67 private final IDreamManager mDreamManager; field in NotificationInterruptionStateProvider
103 mDreamManager = dreamManager; in NotificationInterruptionStateProvider()
262 isDreaming = mDreamManager.isDreaming(); in shouldHeadsUpWhenAwake()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationInterruptionStateProviderTest.java76 IDreamManager mDreamManager; field in NotificationInterruptionStateProviderTest
101 mDreamManager, in setup()
142 when(mDreamManager.isDreaming()).thenReturn(false); in ensureStateForHeadsUpWhenAwake()
417 when(mDreamManager.isDreaming()).thenReturn(true); in testShouldHeadsUp_false_deviceNotInUse()
/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.java100 private final IDreamManager mDreamManager; field in LegacyGlobalActions
129 mDreamManager = IDreamManager.Stub.asInterface( in LegacyGlobalActions()
177 if (mDreamManager != null) { in awakenIfNecessary()
179 if (mDreamManager.isDreaming()) { in awakenIfNecessary()
180 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()
423 mDreamManager.awaken(); in handleFullScreenIntent()
DStatusBar.java665 mDreamManager = IDreamManager.Stub.asInterface( in start()
1080 mBarService, mStatusBarStateController, mKeyguardManager, mDreamManager, in setUpPresenter()
4308 private IDreamManager mDreamManager;
4397 mDreamManager.awaken(); in awakenDreams()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java142 @Mock private IDreamManager mDreamManager; field in StatusBarTest
213 mDreamManager, mAmbientDisplayConfiguration, mNotificationFilter, in setup()
414 when(mDreamManager.isDreaming()).thenReturn(false); in testShouldHeadsUp_nonSuppressedGroupSummary()
435 when(mDreamManager.isDreaming()).thenReturn(false); in testShouldHeadsUp_suppressedGroupSummary()
456 when(mDreamManager.isDreaming()).thenReturn(false); in testShouldHeadsUp_suppressedHeadsUp()
474 when(mDreamManager.isDreaming()).thenReturn(false); in testShouldHeadsUp_noSuppressedHeadsUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java143 private final IDreamManager mDreamManager; field in GlobalActionsDialog
178 mDreamManager = IDreamManager.Stub.asInterface( in GlobalActionsDialog()
257 if (mDreamManager != null) { in awakenIfNecessary()
259 if (mDreamManager.isDreaming()) { in awakenIfNecessary()
260 mDreamManager.awaken(); in awakenIfNecessary()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java251 private DreamManagerInternal mDreamManager; field in PowerManagerService
834 mDreamManager = getLocalService(DreamManagerInternal.class); in systemReady()
2319 if (mDreamManager != null) { in handleSandman()
2322 mDreamManager.stopDream(false /*immediate*/); in handleSandman()
2323 mDreamManager.startDream(wakefulness == WAKEFULNESS_DOZING); in handleSandman()
2325 isDreaming = mDreamManager.isDreaming(); in handleSandman()
2397 mDreamManager.stopDream(false /*immediate*/); in handleSandman()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardUpdateMonitor.java254 private final IDreamManager mDreamManager; field in KeyguardUpdateMonitor
604 if (mIsDreaming && mDreamManager != null) { in awakenFromDream()
606 mDreamManager.awaken(); in awakenFromDream()
1595 mDreamManager = IDreamManager.Stub.asInterface( in KeyguardUpdateMonitor()