Home
last modified time | relevance | path

Searched refs:hasAnyMedia (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/
DMediaCarouselInteractorTest.kt86 assertThat(underTest.hasAnyMedia()).isTrue() in addUserMediaEntry_activeThenInactivate()
92 assertThat(underTest.hasAnyMedia()).isTrue() in addUserMediaEntry_activeThenInactivate()
109 assertThat(underTest.hasAnyMedia()).isTrue() in addInactiveUserMediaEntry_thenRemove()
119 assertThat(underTest.hasAnyMedia()).isFalse() in addInactiveUserMediaEntry_thenRemove()
202 testScope.runTest { assertThat(underTest.hasAnyMedia()).isFalse() } in hasAnyMedia_noMediaSet_returnsFalse()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/data/repository/
DMediaFilterRepositoryTest.kt60 assertThat(underTest.hasAnyMedia()).isTrue() in addSelectedUserMediaEntry_activeThenInactivate()
67 assertThat(underTest.hasAnyMedia()).isTrue() in addSelectedUserMediaEntry_activeThenInactivate()
82 assertThat(underTest.hasAnyMedia()).isTrue() in addSelectedUserMediaEntry_thenRemove_returnsBoolean()
86 assertThat(underTest.hasAnyMedia()).isFalse() in addSelectedUserMediaEntry_thenRemove_returnsBoolean()
362 testScope.runTest { assertThat(underTest.hasAnyMedia()).isFalse() } in hasAnyMedia_noMediaSet_returnsFalse()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DLegacyMediaDataFilterImplTest.kt238 assertThat(mediaDataFilter.hasAnyMedia()).isFalse() in hasAnyMedia_noMediaSet_returnsFalse()
245 assertThat(mediaDataFilter.hasAnyMedia()).isTrue() in hasAnyMedia_mediaSet_returnsTrue()
252 assertThat(mediaDataFilter.hasAnyMedia()).isFalse() in hasAnyMedia_recommendationSet_returnsFalse()
347 assertThat(mediaDataFilter.hasAnyMedia()).isFalse() in testHasAnyMediaOrRecommendation_onlyCurrentUser()
357 assertThat(mediaDataFilter.hasAnyMedia()).isFalse() in testHasActiveMediaOrRecommendation_onlyCurrentUser()
365 assertThat(mediaDataFilter.hasAnyMedia()).isFalse() in testOnNotificationRemoved_doesntHaveMedia()
DMediaDataFilterImplTest.kt327 assertThat(hasAnyMedia(selectedUserEntries)).isTrue() in hasAnyMedia_mediaSet_returnsTrue()
336 assertThat(hasAnyMedia(selectedUserEntries)).isFalse() in hasAnyMedia_recommendationSet_returnsFalse()
489 assertThat(hasAnyMedia(selectedUserEntries)).isFalse() in hasAnyMediaOrRecommendation_onlyCurrentUser()
517 assertThat(hasAnyMedia(selectedUserEntries)).isFalse() in hasActiveMediaOrRecommendation_onlyCurrentUser()
530 assertThat(hasAnyMedia(selectedUserEntries)).isFalse() in onNotificationRemoved_doesNotHaveMedia()
1198 private fun hasAnyMedia(entries: Map<InstanceId, MediaData>?): Boolean { in hasAnyMedia() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataManager.kt92 fun hasAnyMedia(): Boolean in setInactive() method
DLegacyMediaDataFilterImpl.kt165 shouldTriggerResume && !hasActiveMedia() && hasAnyMedia() && data.isActive in <lambda>()
338 fun hasAnyMedia() = userEntries.isNotEmpty() in <lambda>() method in com.android.systemui.media.controls.domain.pipeline.LegacyMediaDataFilterImpl
DLegacyMediaDataManagerImpl.kt1621 override fun hasAnyMedia() = mediaDataFilter.hasAnyMedia() in onSwipeToDismiss() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaCarouselInteractor.kt217 override fun hasAnyMedia() = mediaFilterRepository.hasAnyMedia() in <lambda>() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/data/repository/
DMediaFilterRepository.kt303 fun hasAnyMedia(): Boolean { in <lambda>() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaCarouselController.kt530 mediaManager.hasAnyMedia() && in <lambda>()