Searched refs:mMediaDataManager (Results 1 – 8 of 8) sorted by relevance
50 MediaDataManager mMediaDataManager; field in MediaDreamSentinelTest76 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 …]
52 final boolean hasActiveMedia = mMediaDataManager.hasActiveMedia();83 final boolean hasActiveMedia = mMediaDataManager.hasActiveMedia();109 private final MediaDataManager mMediaDataManager; field in MediaDreamSentinel119 mMediaDataManager = mediaDataManager; in MediaDreamSentinel()127 mMediaDataManager.addListener(mListener); in start()
81 private final MediaDataManager mMediaDataManager; field in NotificationMediaManager149 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()
867 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()
144 @Mock protected MediaDataManager mMediaDataManager; field in QuickSettingsControllerImplBaseTest293 mMediaDataManager, in setup()
285 @Mock protected MediaDataManager mMediaDataManager; field in NotificationPanelViewControllerBaseTest715 mMediaDataManager, in setup()822 mMediaDataManager, in setup()
148 private final MediaDataManager mMediaDataManager; field in QuickSettingsControllerImpl369 mMediaDataManager = mediaDataManager; in QuickSettingsControllerImpl()2246 if (!hasNotifications && !mMediaDataManager.hasActiveMediaOrRecommendation()) { in setTransitionToFullShadeAmount()
504 private final MediaDataManager mMediaDataManager; field in NotificationPanelViewController912 mMediaDataManager = mediaDataManager; in NotificationPanelViewController()1764 mMediaDataManager.hasActiveMediaOrRecommendation() && !isOnAod(); in computeDesiredClockSizeForSplitShade()1854 || mMediaDataManager.hasActiveMediaOrRecommendation(); in hasVisibleNotifications()1858 || mMediaDataManager.hasActiveMediaOrRecommendation(); in hasVisibleNotifications()