Home
last modified time | relevance | path

Searched refs:MediaDataLoadingModel (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/data/repository/
DMediaFilterRepositoryTest.kt30 import com.android.systemui.media.controls.shared.model.MediaDataLoadingModel
168 underTest.addMediaDataLoadingState(MediaDataLoadingModel.Loaded(playingInstanceId)) in addMediaControlPlayingThenRemote()
170 underTest.addMediaDataLoadingState(MediaDataLoadingModel.Loaded(remoteInstanceId)) in addMediaControlPlayingThenRemote()
175 MediaCommonModel.MediaControl(MediaDataLoadingModel.Loaded(playingInstanceId)), in addMediaControlPlayingThenRemote()
176 MediaCommonModel.MediaControl(MediaDataLoadingModel.Loaded(remoteInstanceId)) in addMediaControlPlayingThenRemote()
191 underTest.addMediaDataLoadingState(MediaDataLoadingModel.Loaded(playingInstanceId1)) in switchMediaControlsPlaying()
193 underTest.addMediaDataLoadingState(MediaDataLoadingModel.Loaded(playingInstanceId2)) in switchMediaControlsPlaying()
198 MediaCommonModel.MediaControl(MediaDataLoadingModel.Loaded(playingInstanceId1)), in switchMediaControlsPlaying()
199 MediaCommonModel.MediaControl(MediaDataLoadingModel.Loaded(playingInstanceId2)) in switchMediaControlsPlaying()
207 underTest.addMediaDataLoadingState(MediaDataLoadingModel.Loaded(playingInstanceId1)) in switchMediaControlsPlaying()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/shared/model/
DMediaDataLoadingModel.kt22 sealed class MediaDataLoadingModel { class
30 ) : MediaDataLoadingModel()
35 ) : MediaDataLoadingModel()
DMediaCommonModel.kt22 val mediaLoadedModel: MediaDataLoadingModel.Loaded,
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataFilterImpl.kt32 import com.android.systemui.media.controls.shared.model.MediaDataLoadingModel in <lambda>()
123 MediaDataLoadingModel.Loaded(data.instanceId) in <lambda>()
183 MediaDataLoadingModel.Loaded(lastActiveId) in <lambda>()
231 MediaDataLoadingModel.Removed(instanceId) in <lambda>()
247 MediaDataLoadingModel.Loaded(lastActiveId, immediately) in <lambda>()
290 MediaDataLoadingModel.Removed(data.instanceId) in <lambda>()
310 MediaDataLoadingModel.Removed(instanceId) in <lambda>()
322 MediaDataLoadingModel.Loaded(data.instanceId) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/
DMediaCarouselInteractorTest.kt38 import com.android.systemui.media.controls.shared.model.MediaDataLoadingModel
105 mediaFilterRepository.addMediaDataLoadingState(MediaDataLoadingModel.Loaded(instanceId)) in addInactiveUserMediaEntry_thenRemove()
114 MediaDataLoadingModel.Removed(instanceId) in addInactiveUserMediaEntry_thenRemove()
134 val mediaLoadingModel = MediaDataLoadingModel.Loaded(userMedia.instanceId) in addActiveRecommendation_inactiveMedia()
229 val mediaLoadingModel = MediaDataLoadingModel.Loaded(instanceId) in loadMediaFromRec()
242 mediaFilterRepository.addMediaDataLoadingState(MediaDataLoadingModel.Loaded(instanceId)) in loadMediaFromRec()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataFilterImplTest.kt34 import com.android.systemui.media.controls.shared.model.MediaDataLoadingModel
177 MediaCommonModel.MediaControl(MediaDataLoadingModel.Loaded(dataMain.instanceId)) in onDataLoadedForCurrentUser_updatesLoadedStates()
193 MediaCommonModel.MediaControl(MediaDataLoadingModel.Loaded(dataMain.instanceId)) in onDataLoadedForGuest_doesNotUpdateLoadedStates()
208 MediaCommonModel.MediaControl(MediaDataLoadingModel.Loaded(dataMain.instanceId)) in onRemovedForCurrent_updatesLoadedStates()
243 val mediaLoaded = MediaDataLoadingModel.Loaded(dataMain.instanceId) in onUserSwitched_removesOldUserControls()
265 val guestLoadedStatesModel = MediaDataLoadingModel.Loaded(dataGuest.instanceId) in onUserSwitched_addsNewUserControls()
266 val mainLoadedStatesModel = MediaDataLoadingModel.Loaded(dataMain.instanceId) in onUserSwitched_addsNewUserControls()
313 val mediaLoadedStatesModel = MediaDataLoadingModel.Loaded(dataMain.instanceId) in onProfileChanged_profileUnavailable_updateStates()
617 MediaDataLoadingModel.Loaded(dataMain.instanceId), in onSmartspaceMediaDataLoaded_noRecentMedia_activeValidRec_prioritizesSmartspace()
693 MediaDataLoadingModel.Loaded(dataMain.instanceId), in onSmartspaceMediaDataLoaded_hasRecentMedia_inactiveRec_showsNothing()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/data/repository/
DMediaFilterRepository.kt26 import com.android.systemui.media.controls.shared.model.MediaDataLoadingModel in <lambda>()
183 fun addMediaDataLoadingState(mediaDataLoadingModel: MediaDataLoadingModel) { in <lambda>()
206 if (mediaDataLoadingModel is MediaDataLoadingModel.Loaded) { in <lambda>()
246 if (mediaDataLoadingModel is MediaDataLoadingModel.Removed) { in <lambda>()