Home
last modified time | relevance | path

Searched refs:hasAnyMediaOrRecommendation (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/
DMediaCarouselInteractorTest.kt127 val hasAnyMediaOrRecommendation by in addActiveRecommendation_inactiveMedia() constant
128 collectLastValue(underTest.hasAnyMediaOrRecommendation) in addActiveRecommendation_inactiveMedia()
140 assertThat(hasAnyMediaOrRecommendation).isTrue() in addActiveRecommendation_inactiveMedia()
149 assertThat(hasAnyMediaOrRecommendation).isTrue() in addActiveRecommendation_inactiveMedia()
163 val hasAnyMediaOrRecommendation by in addActiveRecommendation_thenInactive() constant
164 collectLastValue(underTest.hasAnyMediaOrRecommendation) in addActiveRecommendation_thenInactive()
170 assertThat(hasAnyMediaOrRecommendation).isTrue() in addActiveRecommendation_thenInactive()
175 assertThat(hasAnyMediaOrRecommendation).isFalse() in addActiveRecommendation_thenInactive()
183 val hasAnyMediaOrRecommendation by in addActiveRecommendation_thenInvalid() constant
184 collectLastValue(underTest.hasAnyMediaOrRecommendation) in addActiveRecommendation_thenInvalid()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DLegacyMediaDataFilterImplTest.kt257 assertThat(mediaDataFilter.hasAnyMediaOrRecommendation()).isFalse() in hasAnyMediaOrRecommendation_noMediaSet_returnsFalse()
264 assertThat(mediaDataFilter.hasAnyMediaOrRecommendation()).isTrue() in hasAnyMediaOrRecommendation_mediaSet_returnsTrue()
271 assertThat(mediaDataFilter.hasAnyMediaOrRecommendation()).isTrue() in hasAnyMediaOrRecommendation_recommendationSet_returnsTrue()
343 assertThat(mediaDataFilter.hasAnyMediaOrRecommendation()).isFalse() in testHasAnyMediaOrRecommendation_onlyCurrentUser()
346 assertThat(mediaDataFilter.hasAnyMediaOrRecommendation()).isFalse() in testHasAnyMediaOrRecommendation_onlyCurrentUser()
364 assertThat(mediaDataFilter.hasAnyMediaOrRecommendation()).isFalse() in testOnNotificationRemoved_doesntHaveMedia()
565 assertThat(mediaDataFilter.hasAnyMediaOrRecommendation()).isTrue() in testOnSmartspaceLoaded_persistentEnabled_isInactive_notifiesListeners()
588 assertThat(mediaDataFilter.hasAnyMediaOrRecommendation()).isTrue() in testOnSmartspaceLoaded_persistentEnabled_inactive_hasRecentMedia_staysInactive()
DMediaDataFilterImplTest.kt346 assertThat(hasAnyMediaOrRecommendation(selectedUserEntries, smartspaceMediaData)) in hasAnyMediaOrRecommendation_mediaSet_returnsTrue()
357 assertThat(hasAnyMediaOrRecommendation(selectedUserEntries, smartspaceMediaData)) in hasAnyMediaOrRecommendation_recommendationSet_returnsTrue()
483 assertThat(hasAnyMediaOrRecommendation(selectedUserEntries, smartspaceMediaData)) in hasAnyMediaOrRecommendation_onlyCurrentUser()
487 assertThat(hasAnyMediaOrRecommendation(selectedUserEntries, smartspaceMediaData)) in hasAnyMediaOrRecommendation_onlyCurrentUser()
528 assertThat(hasAnyMediaOrRecommendation(selectedUserEntries, smartspaceMediaData)) in onNotificationRemoved_doesNotHaveMedia()
975 assertThat(hasAnyMediaOrRecommendation(selectedUserEntries, smartspaceMediaData)) in onSmartspaceLoaded_persistentEnabled_isInactive()
1032 assertThat(hasAnyMediaOrRecommendation(selectedUserEntries, smartspaceMediaData)) in onSmartspaceLoaded_persistentEnabled_inactive_hasRecentMedia_staysInactive()
1183 private fun hasAnyMediaOrRecommendation( in hasAnyMediaOrRecommendation() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaCarouselInteractor.kt85 val hasAnyMediaOrRecommendation: StateFlow<Boolean> = in <lambda>() constant
213 override fun hasAnyMediaOrRecommendation() = hasAnyMediaOrRecommendation.value in <lambda>() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataManager.kt86 fun hasAnyMediaOrRecommendation(): Boolean in setInactive() method
DLegacyMediaDataFilterImpl.kt324 fun hasAnyMediaOrRecommendation(): Boolean { in <lambda>() method
DLegacyMediaDataManagerImpl.kt1611 override fun hasAnyMediaOrRecommendation() = mediaDataFilter.hasAnyMediaOrRecommendation() in onSwipeToDismiss() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ui/viewmodel/
DQuickSettingsSceneViewModel.kt90 val isMediaVisible: StateFlow<Boolean> = mediaCarouselInteractor.hasAnyMediaOrRecommendation
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaHost.kt211 mediaDataManager.hasAnyMediaOrRecommendation() in <lambda>()