Home
last modified time | relevance | path

Searched refs:hasActiveMediaOrRecommendation (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/
DMediaCarouselInteractorTest.kt77 val hasActiveMediaOrRecommendation by in addUserMediaEntry_activeThenInactivate() constant
78 collectLastValue(underTest.hasActiveMediaOrRecommendation) in addUserMediaEntry_activeThenInactivate()
84 assertThat(hasActiveMediaOrRecommendation).isTrue() in addUserMediaEntry_activeThenInactivate()
90 assertThat(hasActiveMediaOrRecommendation).isFalse() in addUserMediaEntry_activeThenInactivate()
98 val hasActiveMediaOrRecommendation by in addInactiveUserMediaEntry_thenRemove() constant
99 collectLastValue(underTest.hasActiveMediaOrRecommendation) in addInactiveUserMediaEntry_thenRemove()
107 assertThat(hasActiveMediaOrRecommendation).isFalse() in addInactiveUserMediaEntry_thenRemove()
117 assertThat(hasActiveMediaOrRecommendation).isFalse() in addInactiveUserMediaEntry_thenRemove()
125 val hasActiveMediaOrRecommendation by in addActiveRecommendation_inactiveMedia() constant
126 collectLastValue(underTest.hasActiveMediaOrRecommendation) in addActiveRecommendation_inactiveMedia()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/model/
DCommunalMediaModel.kt24 val hasActiveMediaOrRecommendation: Boolean, constant in com.android.systemui.communal.data.model.CommunalMediaModel
30 hasActiveMediaOrRecommendation = false,
35 if (hasActiveMediaOrRecommendation != prevVal.hasActiveMediaOrRecommendation) { in logDiffs()
38 value = hasActiveMediaOrRecommendation, in logDiffs()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/
DCommunalMediaRepositoryImplTest.kt75 assertThat(mediaModel()?.hasActiveMediaOrRecommendation).isFalse() in hasAnyMediaOrRecommendation_defaultsToFalse()
87 assertThat(mediaModel()?.hasActiveMediaOrRecommendation).isFalse() in mediaModel_updatesWhenMediaDataLoaded()
90 whenever(mediaDataManager.hasActiveMediaOrRecommendation()).thenReturn(true) in mediaModel_updatesWhenMediaDataLoaded()
96 assertThat(mediaModel()?.hasActiveMediaOrRecommendation).isTrue() in mediaModel_updatesWhenMediaDataLoaded()
107 whenever(mediaDataManager.hasActiveMediaOrRecommendation()).thenReturn(true) in mediaModel_updatesWhenMediaDataRemoved()
113 assertThat(mediaModel()?.hasActiveMediaOrRecommendation).isTrue() in mediaModel_updatesWhenMediaDataRemoved()
116 whenever(mediaDataManager.hasActiveMediaOrRecommendation()).thenReturn(false) in mediaModel_updatesWhenMediaDataRemoved()
121 assertThat(mediaModel()?.hasActiveMediaOrRecommendation).isFalse() in mediaModel_updatesWhenMediaDataRemoved()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DLegacyMediaDataFilterImplTest.kt297 assertThat(mediaDataFilter.hasActiveMediaOrRecommendation()).isFalse() in hasActiveMediaOrRecommendation_nothingSet_returnsFalse()
305 assertThat(mediaDataFilter.hasActiveMediaOrRecommendation()).isFalse() in hasActiveMediaOrRecommendation_inactiveMediaSet_returnsFalse()
313 assertThat(mediaDataFilter.hasActiveMediaOrRecommendation()).isTrue() in hasActiveMediaOrRecommendation_activeMediaSet_returnsTrue()
321 assertThat(mediaDataFilter.hasActiveMediaOrRecommendation()).isFalse() in hasActiveMediaOrRecommendation_inactiveRecommendationSet_returnsFalse()
329 assertThat(mediaDataFilter.hasActiveMediaOrRecommendation()).isFalse() in hasActiveMediaOrRecommendation_invalidRecommendationSet_returnsFalse()
338 assertThat(mediaDataFilter.hasActiveMediaOrRecommendation()).isTrue() in hasActiveMediaOrRecommendation_activeAndValidRecommendationSet_returnsTrue()
352 assertThat(mediaDataFilter.hasActiveMediaOrRecommendation()).isFalse() in testHasActiveMediaOrRecommendation_onlyCurrentUser()
356 assertThat(mediaDataFilter.hasActiveMediaOrRecommendation()).isFalse() in testHasActiveMediaOrRecommendation_onlyCurrentUser()
382 assertThat(mediaDataFilter.hasActiveMediaOrRecommendation()).isTrue() in testOnSmartspaceMediaDataLoaded_noMedia_activeValidRec_prioritizesSmartspace()
397 assertThat(mediaDataFilter.hasActiveMediaOrRecommendation()).isFalse() in testOnSmartspaceMediaDataLoaded_noMedia_inactiveRec_showsNothing()
[all …]
DMediaDataFilterImplTest.kt392 hasActiveMediaOrRecommendation( in hasActiveMediaOrRecommendation_inactiveMediaSet_returnsFalse()
411 hasActiveMediaOrRecommendation( in hasActiveMediaOrRecommendation_activeMediaSet_returnsTrue()
430 hasActiveMediaOrRecommendation( in hasActiveMediaOrRecommendation_inactiveRecommendationSet_returnsFalse()
449 hasActiveMediaOrRecommendation( in hasActiveMediaOrRecommendation_invalidRecommendationSet_returnsFalse()
469 hasActiveMediaOrRecommendation( in hasActiveMediaOrRecommendation_activeAndValidRecommendationSet_returnsTrue()
499 hasActiveMediaOrRecommendation( in hasActiveMediaOrRecommendation_onlyCurrentUser()
510 hasActiveMediaOrRecommendation( in hasActiveMediaOrRecommendation_onlyCurrentUser()
556 hasActiveMediaOrRecommendation( in onSmartspaceMediaDataLoaded_noMedia_activeValidRec_prioritizesSmartspace()
586 hasActiveMediaOrRecommendation( in onSmartspaceMediaDataLoaded_noMedia_inactiveRec_showsNothing()
627 hasActiveMediaOrRecommendation( in onSmartspaceMediaDataLoaded_noRecentMedia_activeValidRec_prioritizesSmartspace()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/
DCommunalMediaRepository.kt76 if (mediaDataManager.hasActiveMediaOrRecommendation()) { in updateMediaModel()
79 hasActiveMediaOrRecommendation = true, in updateMediaModel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardMediaViewModel.kt24 val isMediaVisible: StateFlow<Boolean> = mediaCarouselInteractor.hasActiveMediaOrRecommendation
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/communal/data/repository/
DFakeCommunalMediaRepository.kt31 hasActiveMediaOrRecommendation = true, in mediaActive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaCarouselInteractor.kt68 val hasActiveMediaOrRecommendation: StateFlow<Boolean> = in <lambda>() constant
211 override fun hasActiveMediaOrRecommendation() = hasActiveMediaOrRecommendation.value in <lambda>() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataManager.kt83 fun hasActiveMediaOrRecommendation(): Boolean in setInactive() method
DLegacyMediaDataFilterImpl.kt318 fun hasActiveMediaOrRecommendation() = in <lambda>() method
DLegacyMediaDataManagerImpl.kt1604 override fun hasActiveMediaOrRecommendation() = mediaDataFilter.hasActiveMediaOrRecommendation() in onSwipeToDismiss() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaHierarchyManager.kt259 private var hasActiveMediaOrRecommendation: Boolean = false variable
260 get() = mediaManager.hasActiveMediaOrRecommendation()
992 (areGuidedTransitionHostsVisible() || !hasActiveMediaOrRecommendation) in isCurrentlyInGuidedTransformation()
1127 var canUseOverlay = !isCurrentlyFading() && hasActiveMediaOrRecommendation in updateHostAttachment()
1296 val mediaVisible = qsExpanded || hasActiveMediaOrRecommendation in updateUserVisibility()
DMediaCarouselController.kt1363 !mediaManager.hasActiveMediaOrRecommendation() && in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaHierarchyManagerTest.kt476 whenever(mediaDataManager.hasActiveMediaOrRecommendation()).thenReturn(true) in isCurrentlyInGuidedTransformation_hostNotVisible_returnsFalse_with_active()
489 whenever(mediaDataManager.hasActiveMediaOrRecommendation()).thenReturn(false) in isCurrentlyInGuidedTransformation_hostNotVisible_returnsTrue_without_active()
692 whenever(mediaDataManager.hasActiveMediaOrRecommendation()).thenReturn(false) in testQsExpandedChanged_noQqsMedia()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardClockInteractor.kt82 mediaCarouselInteractor.hasActiveMediaOrRecommendation, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ui/viewmodel/
DShadeSceneViewModel.kt110 val isMediaVisible: StateFlow<Boolean> = mediaCarouselInteractor.hasActiveMediaOrRecommendation in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaHost.kt209 mediaDataManager.hasActiveMediaOrRecommendation() in <lambda>()
/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()
991 when(mMediaDataManager.hasActiveMediaOrRecommendation()).thenReturn(true); in testDisplaysSmallClockOnLockscreenInSplitShadeWhenMediaIsPlaying()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationStackSizeCalculator.kt191 val isMediaShowing = mediaDataManager.hasActiveMediaOrRecommendation() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractor.kt501 if (mediaHostVisible && media.hasActiveMediaOrRecommendation) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationPanelViewController.java1764 mMediaDataManager.hasActiveMediaOrRecommendation() && !isOnAod(); in computeDesiredClockSizeForSplitShade()
1854 || mMediaDataManager.hasActiveMediaOrRecommendation(); in hasVisibleNotifications()
1858 || mMediaDataManager.hasActiveMediaOrRecommendation(); in hasVisibleNotifications()
DQuickSettingsControllerImpl.java2246 if (!hasNotifications && !mMediaDataManager.hasActiveMediaOrRecommendation()) { in setTransitionToFullShadeAmount()