Home
last modified time | relevance | path

Searched refs:mediaModel (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/data/repository/
DCommunalMediaRepositoryImplTest.kt73 val mediaModel = collectLastValue(underTest.mediaModel) in hasAnyMediaOrRecommendation_defaultsToFalse() constant
75 assertThat(mediaModel()?.hasActiveMediaOrRecommendation).isFalse() in hasAnyMediaOrRecommendation_defaultsToFalse()
85 val mediaModel = collectLastValue(underTest.mediaModel) in mediaModel_updatesWhenMediaDataLoaded() constant
87 assertThat(mediaModel()?.hasActiveMediaOrRecommendation).isFalse() in mediaModel_updatesWhenMediaDataLoaded()
96 assertThat(mediaModel()?.hasActiveMediaOrRecommendation).isTrue() in mediaModel_updatesWhenMediaDataLoaded()
97 assertThat(mediaModel()?.createdTimestampMillis).isEqualTo(1234L) in mediaModel_updatesWhenMediaDataLoaded()
112 val mediaModel = collectLastValue(underTest.mediaModel) in mediaModel_updatesWhenMediaDataRemoved() constant
113 assertThat(mediaModel()?.hasActiveMediaOrRecommendation).isTrue() in mediaModel_updatesWhenMediaDataRemoved()
121 assertThat(mediaModel()?.hasActiveMediaOrRecommendation).isFalse() in mediaModel_updatesWhenMediaDataRemoved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/
DCommunalMediaRepository.kt32 val mediaModel: Flow<CommunalMediaModel> constant
68 override val mediaModel: Flow<CommunalMediaModel> = constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/communal/data/repository/
DFakeCommunalMediaRepository.kt26 override val mediaModel: Flow<CommunalMediaModel> = _mediaModel constant in com.android.systemui.communal.data.repository.FakeCommunalMediaRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalInteractor.kt486 combine(smartspaceTargets, mediaRepository.mediaModel) { smartspace, media -> in <lambda>()