/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/ |
D | MediaCarouselInteractorTest.kt | 77 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/ |
D | CommunalMediaModel.kt | 24 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/ |
D | CommunalMediaRepositoryImplTest.kt | 75 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/ |
D | LegacyMediaDataFilterImplTest.kt | 297 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 …]
|
D | MediaDataFilterImplTest.kt | 392 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/ |
D | CommunalMediaRepository.kt | 76 if (mediaDataManager.hasActiveMediaOrRecommendation()) { in updateMediaModel() 79 hasActiveMediaOrRecommendation = true, in updateMediaModel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | KeyguardMediaViewModel.kt | 24 val isMediaVisible: StateFlow<Boolean> = mediaCarouselInteractor.hasActiveMediaOrRecommendation
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/communal/data/repository/ |
D | FakeCommunalMediaRepository.kt | 31 hasActiveMediaOrRecommendation = true, in mediaActive()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/ |
D | MediaCarouselInteractor.kt | 68 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/ |
D | MediaDataManager.kt | 83 fun hasActiveMediaOrRecommendation(): Boolean in setInactive() method
|
D | LegacyMediaDataFilterImpl.kt | 318 fun hasActiveMediaOrRecommendation() = in <lambda>() method
|
D | LegacyMediaDataManagerImpl.kt | 1604 override fun hasActiveMediaOrRecommendation() = mediaDataFilter.hasActiveMediaOrRecommendation() in onSwipeToDismiss() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaHierarchyManager.kt | 259 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()
|
D | MediaCarouselController.kt | 1363 !mediaManager.hasActiveMediaOrRecommendation() && in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaHierarchyManagerTest.kt | 476 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/ |
D | KeyguardClockInteractor.kt | 82 mediaCarouselInteractor.hasActiveMediaOrRecommendation, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ui/viewmodel/ |
D | ShadeSceneViewModel.kt | 110 val isMediaVisible: StateFlow<Boolean> = mediaCarouselInteractor.hasActiveMediaOrRecommendation in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/ |
D | MediaHost.kt | 209 mediaDataManager.hasActiveMediaOrRecommendation() in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/ |
D | NotificationPanelViewControllerTest.java | 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() 991 when(mMediaDataManager.hasActiveMediaOrRecommendation()).thenReturn(true); in testDisplaysSmallClockOnLockscreenInSplitShadeWhenMediaIsPlaying()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationStackSizeCalculator.kt | 191 val isMediaShowing = mediaDataManager.hasActiveMediaOrRecommendation() in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/ |
D | CommunalInteractor.kt | 501 if (mediaHostVisible && media.hasActiveMediaOrRecommendation) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NotificationPanelViewController.java | 1764 mMediaDataManager.hasActiveMediaOrRecommendation() && !isOnAod(); in computeDesiredClockSizeForSplitShade() 1854 || mMediaDataManager.hasActiveMediaOrRecommendation(); in hasVisibleNotifications() 1858 || mMediaDataManager.hasActiveMediaOrRecommendation(); in hasVisibleNotifications()
|
D | QuickSettingsControllerImpl.java | 2246 if (!hasNotifications && !mMediaDataManager.hasActiveMediaOrRecommendation()) { in setTransitionToFullShadeAmount()
|