Home
last modified time | relevance | path

Searched refs:mediaDataFilter (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DLegacyMediaDataFilterImplTest.kt83 private lateinit var mediaDataFilter: LegacyMediaDataFilterImpl variable in com.android.systemui.media.controls.domain.pipeline.LegacyMediaDataFilterImplTest
94 mediaDataFilter = in setup()
105 mediaDataFilter.mediaDataManager = mediaDataManager in setup()
106 mediaDataFilter.addListener(listener) in setup()
140 mediaDataFilter.handleUserSwitched() in setUser()
148 mediaDataFilter.handleProfileChanged() in setPrivateProfileUnavailable()
154 mediaDataFilter.onMediaDataLoaded(KEY, null, dataMain) in testOnDataLoadedForCurrentUser_callsListener()
164 mediaDataFilter.onMediaDataLoaded(KEY, null, dataGuest) in testOnDataLoadedForGuest_doesNotCallListener()
174 mediaDataFilter.onMediaDataLoaded(KEY, null, dataMain) in testOnRemovedForCurrent_callsListener()
175 mediaDataFilter.onMediaDataRemoved(KEY, false) in testOnRemovedForCurrent_callsListener()
[all …]
DMediaDataFilterImplTest.kt98 private lateinit var mediaDataFilter: MediaDataFilterImpl variable in com.android.systemui.media.controls.domain.pipeline.MediaDataFilterImplTest
113 mediaDataFilter = in setup()
126 mediaDataFilter.mediaDataProcessor = mediaDataProcessor in setup()
127 mediaDataFilter.addListener(listener) in setup()
161 mediaDataFilter.handleUserSwitched() in setUser()
169 mediaDataFilter.handleProfileChanged() in setPrivateProfileUnavailable()
179 mediaDataFilter.onMediaDataLoaded(KEY, null, dataMain) in onDataLoadedForCurrentUser_updatesLoadedStates()
195 mediaDataFilter.onMediaDataLoaded(KEY, null, dataGuest) in onDataLoadedForGuest_doesNotUpdateLoadedStates()
211 mediaDataFilter.onMediaDataLoaded(KEY, null, dataMain) in onRemovedForCurrent_updatesLoadedStates()
217 mediaDataFilter.onMediaDataRemoved(KEY, false) in onRemovedForCurrent_updatesLoadedStates()
[all …]
DMediaDataProcessorTest.kt149 @Mock lateinit var mediaDataFilter: MediaDataFilterImpl variable in com.android.systemui.media.controls.domain.pipeline.MediaDataProcessorTest
251 mediaDataFilter = mediaDataFilter, in setup()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/
DMediaRecommendationsInteractorTest.kt39 import com.android.systemui.media.controls.domain.pipeline.mediaDataFilter
65 private val mediaDataFilter: MediaDataFilterImpl = kosmos.mediaDataFilter constant in com.android.systemui.media.controls.domain.interactor.MediaRecommendationsInteractorTest
100 mediaDataFilter.onSmartspaceMediaDataLoaded(KEY_MEDIA_SMARTSPACE, smartspaceMediaData) in addRecommendation_smartspaceMediaDataUpdate()
111 mediaDataFilter.onSmartspaceMediaDataLoaded(KEY_MEDIA_SMARTSPACE, smartspaceMediaData) in setRecommendationInactive_isActiveUpdate()
114 mediaDataFilter.onSmartspaceMediaDataLoaded( in setRecommendationInactive_isActiveUpdate()
127 mediaDataFilter.onSmartspaceMediaDataLoaded(KEY_MEDIA_SMARTSPACE, smartspaceMediaData) in addInvalidRecommendation()
130 mediaDataFilter.onSmartspaceMediaDataLoaded(KEY_MEDIA_SMARTSPACE, inValidData) in addInvalidRecommendation()
DMediaControlInteractorTest.kt38 import com.android.systemui.media.controls.domain.pipeline.mediaDataFilter
66 private val mediaDataFilter: MediaDataFilterImpl = kosmos.mediaDataFilter constant in com.android.systemui.media.controls.domain.interactor.MediaControlInteractorTest
86 mediaDataFilter.onMediaDataLoaded(KEY, KEY, mediaData) in onMediaDataUpdated()
93 mediaDataFilter.onMediaDataLoaded(KEY, KEY, mediaData) in onMediaDataUpdated()
105 mediaDataFilter.onMediaDataLoaded(KEY, KEY, mediaData) in onMediaDataUpdated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaCarouselInteractor.kt62 private val mediaDataFilter: MediaDataFilterImpl, in <lambda>() constant
123 mediaDataCombineLatest.addListener(mediaDataFilter) in <lambda>()
136 mediaDataFilter.mediaDataProcessor = mediaDataProcessor in <lambda>()
140 mediaDataFilter.addListener(listener) in <lambda>()
144 mediaDataFilter.removeListener(listener) in <lambda>()
157 mediaDataCombineLatest.removeListener(mediaDataFilter) in <lambda>()
208 mediaDataFilter.onSwipeToDismiss() in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/domain/pipeline/interactor/
DMediaCarouselInteractorKosmos.kt23 import com.android.systemui.media.controls.domain.pipeline.mediaDataFilter
41 mediaDataFilter = mediaDataFilter, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaRecommendationsViewModelTest.kt30 import com.android.systemui.media.controls.domain.pipeline.mediaDataFilter
50 private val mediaDataFilter: MediaDataFilterImpl = kosmos.mediaDataFilter constant in com.android.systemui.media.controls.ui.viewmodel.MediaRecommendationsViewModelTest
77 mediaDataFilter.onSmartspaceMediaDataLoaded(KEY_MEDIA_SMARTSPACE, smartspaceMediaData) in loadRecommendations_recsCardViewModelIsLoaded()
DMediaControlViewModelTest.kt32 import com.android.systemui.media.controls.domain.pipeline.mediaDataFilter
55 private val mediaDataFilter: MediaDataFilterImpl = kosmos.mediaDataFilter constant in com.android.systemui.media.controls.ui.viewmodel.MediaControlViewModelTest
80 mediaDataFilter.onMediaDataLoaded(KEY, KEY, mediaData) in addMediaControl_mediaControlViewModelIsLoaded()
DMediaCarouselViewModelTest.kt35 import com.android.systemui.media.controls.domain.pipeline.mediaDataFilter
59 private val mediaDataFilter: MediaDataFilterImpl = kosmos.mediaDataFilter constant in com.android.systemui.media.controls.ui.viewmodel.MediaCarouselViewModelTest
181 mediaDataFilter.onMediaDataLoaded(key, key, mediaData) in loadMediaControl()
185 mediaDataFilter.onSmartspaceMediaDataLoaded(key, smartspaceMediaData) in loadMediaRecommendations()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DLegacyMediaDataManagerImpl.kt180 private val mediaDataFilter: LegacyMediaDataFilterImpl, constant
258 mediaDataFilter: LegacyMediaDataFilterImpl,
282 mediaDataFilter,
326 mediaDataCombineLatest.addListener(mediaDataFilter)
337 mediaDataFilter.mediaDataManager = this
508 mediaDataFilter.addListener(listener) in addListener()
515 mediaDataFilter.removeListener(listener) in removeListener()
1601 override fun onSwipeToDismiss() = mediaDataFilter.onSwipeToDismiss() in onSwipeToDismiss()
1604 override fun hasActiveMediaOrRecommendation() = mediaDataFilter.hasActiveMediaOrRecommendation() in onSwipeToDismiss()
1611 override fun hasAnyMediaOrRecommendation() = mediaDataFilter.hasAnyMediaOrRecommendation() in onSwipeToDismiss()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataFilterKosmos.kt31 val Kosmos.mediaDataFilter by constant