Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dream/
DMediaDreamSentinelTest.java50 MediaDataManager mMediaDataManager; field in MediaDreamSentinelTest
76 final MediaDreamSentinel sentinel = new MediaDreamSentinel(mMediaDataManager, in testOnMediaDataLoaded_complicationAddition()
82 when(mMediaDataManager.hasActiveMedia()).thenReturn(false); in testOnMediaDataLoaded_complicationAddition()
87 when(mMediaDataManager.hasActiveMedia()).thenReturn(true); in testOnMediaDataLoaded_complicationAddition()
97 final MediaDreamSentinel sentinel = new MediaDreamSentinel(mMediaDataManager, in testOnMediaDataRemoved_complicationRemoval()
103 when(mMediaDataManager.hasActiveMedia()).thenReturn(true); in testOnMediaDataRemoved_complicationRemoval()
110 when(mMediaDataManager.hasActiveMedia()).thenReturn(false); in testOnMediaDataRemoved_complicationRemoval()
117 final MediaDreamSentinel sentinel = new MediaDreamSentinel(mMediaDataManager, in testOnMediaDataLoaded_complicationRemoval()
123 when(mMediaDataManager.hasActiveMedia()).thenReturn(true); in testOnMediaDataLoaded_complicationRemoval()
132 when(mMediaDataManager.hasActiveMedia()).thenReturn(false); in testOnMediaDataLoaded_complicationRemoval()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dream/
DMediaDreamSentinel.java52 final boolean hasActiveMedia = mMediaDataManager.hasActiveMedia();
83 final boolean hasActiveMedia = mMediaDataManager.hasActiveMedia();
109 private final MediaDataManager mMediaDataManager; field in MediaDreamSentinel
119 mMediaDataManager = mediaDataManager; in MediaDreamSentinel()
127 mMediaDataManager.addListener(mListener); in start()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java81 private final MediaDataManager mMediaDataManager; field in NotificationMediaManager
149 mMediaDataManager = mediaDataManager; in NotificationMediaManager()
164 mMediaDataManager.onNotificationAdded(entry.getKey(), entry.getSbn()); in setupNotifPipeline()
169 mMediaDataManager.onNotificationAdded(entry.getKey(), entry.getSbn()); in setupNotifPipeline()
188 mMediaDataManager.addListener(new MediaDataManager.Listener() { in setupNotifPipeline()
232 mMediaDataManager.onNotificationRemoved(entry.getKey()); in removeEntry()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationPanelViewControllerTest.java867 when(mMediaDataManager.hasActiveMediaOrRecommendation()).thenReturn(true); in clockSize_mediaShowing_inSplitShade_onAod_isLarge()
882 when(mMediaDataManager.hasActiveMediaOrRecommendation()).thenReturn(true); in clockSize_mediaShowing_inSplitShade_screenOff_notAod_isSmall()
939 when(mMediaDataManager.hasActiveMedia()).thenReturn(true); in testSwitchesToBigClockInSplitShadeOnAodAnimateDisabled()
956 when(mMediaDataManager.hasActiveMedia()).thenReturn(false); in switchesToBigClockInSplitShadeOn_landFlagOn_ForceSmallClock()
975 when(mMediaDataManager.hasActiveMedia()).thenReturn(false); in switchesToBigClockInSplitShadeOn_landFlagOff_DontForceSmallClock()
991 when(mMediaDataManager.hasActiveMediaOrRecommendation()).thenReturn(true); in testDisplaysSmallClockOnLockscreenInSplitShadeWhenMediaIsPlaying()
DQuickSettingsControllerImplBaseTest.java144 @Mock protected MediaDataManager mMediaDataManager; field in QuickSettingsControllerImplBaseTest
293 mMediaDataManager, in setup()
DNotificationPanelViewControllerBaseTest.java285 @Mock protected MediaDataManager mMediaDataManager; field in NotificationPanelViewControllerBaseTest
715 mMediaDataManager, in setup()
822 mMediaDataManager, in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DQuickSettingsControllerImpl.java148 private final MediaDataManager mMediaDataManager; field in QuickSettingsControllerImpl
369 mMediaDataManager = mediaDataManager; in QuickSettingsControllerImpl()
2246 if (!hasNotifications && !mMediaDataManager.hasActiveMediaOrRecommendation()) { in setTransitionToFullShadeAmount()
DNotificationPanelViewController.java504 private final MediaDataManager mMediaDataManager; field in NotificationPanelViewController
912 mMediaDataManager = mediaDataManager; in NotificationPanelViewController()
1764 mMediaDataManager.hasActiveMediaOrRecommendation() && !isOnAod(); in computeDesiredClockSizeForSplitShade()
1854 || mMediaDataManager.hasActiveMediaOrRecommendation(); in hasVisibleNotifications()
1858 || mMediaDataManager.hasActiveMediaOrRecommendation(); in hasVisibleNotifications()