Home
last modified time | relevance | path

Searched refs:selectedUserEntries (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataFilterImplTest.kt324 val selectedUserEntries by collectLastValue(repository.selectedUserEntries) in hasAnyMedia_mediaSet_returnsTrue() constant
327 assertThat(hasAnyMedia(selectedUserEntries)).isTrue() in hasAnyMedia_mediaSet_returnsTrue()
333 val selectedUserEntries by collectLastValue(repository.selectedUserEntries) in hasAnyMedia_recommendationSet_returnsFalse() constant
336 assertThat(hasAnyMedia(selectedUserEntries)).isFalse() in hasAnyMedia_recommendationSet_returnsFalse()
342 val selectedUserEntries by collectLastValue(repository.selectedUserEntries) in hasAnyMediaOrRecommendation_mediaSet_returnsTrue() constant
346 assertThat(hasAnyMediaOrRecommendation(selectedUserEntries, smartspaceMediaData)) in hasAnyMediaOrRecommendation_mediaSet_returnsTrue()
353 val selectedUserEntries by collectLastValue(repository.selectedUserEntries) in hasAnyMediaOrRecommendation_recommendationSet_returnsTrue() constant
357 assertThat(hasAnyMediaOrRecommendation(selectedUserEntries, smartspaceMediaData)) in hasAnyMediaOrRecommendation_recommendationSet_returnsTrue()
364 val selectedUserEntries by collectLastValue(repository.selectedUserEntries) in hasActiveMedia_inactiveMediaSet_returnsFalse() constant
369 assertThat(hasActiveMedia(selectedUserEntries)).isFalse() in hasActiveMedia_inactiveMediaSet_returnsFalse()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/data/repository/
DMediaFilterRepositoryTest.kt51 val selectedUserEntries by collectLastValue(underTest.selectedUserEntries) in addSelectedUserMediaEntry_activeThenInactivate() constant
58 assertThat(selectedUserEntries?.get(instanceId)).isEqualTo(userMedia) in addSelectedUserMediaEntry_activeThenInactivate()
64 assertThat(selectedUserEntries?.get(instanceId)).isNotEqualTo(userMedia) in addSelectedUserMediaEntry_activeThenInactivate()
65 assertThat(selectedUserEntries?.get(instanceId)?.active).isFalse() in addSelectedUserMediaEntry_activeThenInactivate()
73 val selectedUserEntries by collectLastValue(underTest.selectedUserEntries) in addSelectedUserMediaEntry_thenRemove_returnsBoolean() constant
80 assertThat(selectedUserEntries?.get(instanceId)).isEqualTo(userMedia) in addSelectedUserMediaEntry_thenRemove_returnsBoolean()
92 val selectedUserEntries by collectLastValue(underTest.selectedUserEntries) in addSelectedUserMediaEntry_thenRemove_returnsValue() constant
99 assertThat(selectedUserEntries?.get(instanceId)).isEqualTo(userMedia) in addSelectedUserMediaEntry_thenRemove_returnsValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataFilterImpl.kt147 val selectedUserEntries = mediaFilterRepository.selectedUserEntries.value in <lambda>() constant
149 selectedUserEntries.toSortedMap(compareBy { selectedUserEntries[it]?.lastActive ?: -1 }) in <lambda>()
165 !selectedUserEntries.any { it.value.active } && in <lambda>()
166 selectedUserEntries.isNotEmpty() && in <lambda>()
245 mediaFilterRepository.selectedUserEntries.value[lastActiveId]?.let { in <lambda>()
305 val keyCopy = mediaFilterRepository.selectedUserEntries.value.keys.toMutableList() in <lambda>()
339 if (mediaFilterRepository.selectedUserEntries.value.containsKey(data.instanceId)) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaCarouselInteractor.kt70 mediaFilterRepository.selectedUserEntries, in <lambda>()
87 mediaFilterRepository.selectedUserEntries, in <lambda>()
DMediaControlInteractor.kt66 repository.selectedUserEntries in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/data/repository/
DMediaFilterRepository.kt88 val selectedUserEntries: StateFlow<Map<InstanceId, MediaData>> = in <lambda>() constant