Searched refs:selectedUserEntries (Results 1 – 6 of 6) sorted by relevance
324 val selectedUserEntries by collectLastValue(repository.selectedUserEntries) in hasAnyMedia_mediaSet_returnsTrue() constant327 assertThat(hasAnyMedia(selectedUserEntries)).isTrue() in hasAnyMedia_mediaSet_returnsTrue()333 val selectedUserEntries by collectLastValue(repository.selectedUserEntries) in hasAnyMedia_recommendationSet_returnsFalse() constant336 assertThat(hasAnyMedia(selectedUserEntries)).isFalse() in hasAnyMedia_recommendationSet_returnsFalse()342 val selectedUserEntries by collectLastValue(repository.selectedUserEntries) in hasAnyMediaOrRecommendation_mediaSet_returnsTrue() constant346 assertThat(hasAnyMediaOrRecommendation(selectedUserEntries, smartspaceMediaData)) in hasAnyMediaOrRecommendation_mediaSet_returnsTrue()353 val selectedUserEntries by collectLastValue(repository.selectedUserEntries) in hasAnyMediaOrRecommendation_recommendationSet_returnsTrue() constant357 assertThat(hasAnyMediaOrRecommendation(selectedUserEntries, smartspaceMediaData)) in hasAnyMediaOrRecommendation_recommendationSet_returnsTrue()364 val selectedUserEntries by collectLastValue(repository.selectedUserEntries) in hasActiveMedia_inactiveMediaSet_returnsFalse() constant369 assertThat(hasActiveMedia(selectedUserEntries)).isFalse() in hasActiveMedia_inactiveMediaSet_returnsFalse()[all …]
51 val selectedUserEntries by collectLastValue(underTest.selectedUserEntries) in addSelectedUserMediaEntry_activeThenInactivate() constant58 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() constant80 assertThat(selectedUserEntries?.get(instanceId)).isEqualTo(userMedia) in addSelectedUserMediaEntry_thenRemove_returnsBoolean()92 val selectedUserEntries by collectLastValue(underTest.selectedUserEntries) in addSelectedUserMediaEntry_thenRemove_returnsValue() constant99 assertThat(selectedUserEntries?.get(instanceId)).isEqualTo(userMedia) in addSelectedUserMediaEntry_thenRemove_returnsValue()
147 val selectedUserEntries = mediaFilterRepository.selectedUserEntries.value in <lambda>() constant149 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>()
70 mediaFilterRepository.selectedUserEntries, in <lambda>()87 mediaFilterRepository.selectedUserEntries, in <lambda>()
66 repository.selectedUserEntries in <lambda>()
88 val selectedUserEntries: StateFlow<Map<InstanceId, MediaData>> = in <lambda>() constant