Home
last modified time | relevance | path

Searched refs:MediaControl (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/data/repository/
DMediaFilterRepositoryTest.kt175 MediaCommonModel.MediaControl(MediaDataLoadingModel.Loaded(playingInstanceId)), in addMediaControlPlayingThenRemote()
176 MediaCommonModel.MediaControl(MediaDataLoadingModel.Loaded(remoteInstanceId)) in addMediaControlPlayingThenRemote()
198 MediaCommonModel.MediaControl(MediaDataLoadingModel.Loaded(playingInstanceId1)), in switchMediaControlsPlaying()
199 MediaCommonModel.MediaControl(MediaDataLoadingModel.Loaded(playingInstanceId2)) in switchMediaControlsPlaying()
216 MediaCommonModel.MediaControl(MediaDataLoadingModel.Loaded(playingInstanceId1)), in switchMediaControlsPlaying()
217 MediaCommonModel.MediaControl( in switchMediaControlsPlaying()
228 MediaCommonModel.MediaControl( in switchMediaControlsPlaying()
231 MediaCommonModel.MediaControl(MediaDataLoadingModel.Loaded(playingInstanceId1)) in switchMediaControlsPlaying()
282 MediaCommonModel.MediaControl(MediaDataLoadingModel.Loaded(instanceId1)), in fullOrderTest()
283 MediaCommonModel.MediaControl(MediaDataLoadingModel.Loaded(instanceId2)), in fullOrderTest()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/util/
DMediaViewModelCallback.kt40 oldItem is MediaCommonViewModel.MediaControl && in areItemsTheSame()
41 newItem is MediaCommonViewModel.MediaControl in areItemsTheSame()
54 oldItem is MediaCommonViewModel.MediaControl && in areContentsTheSame()
55 newItem is MediaCommonViewModel.MediaControl in areContentsTheSame()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaCarouselViewModelTest.kt99 var mediaControl2 = sortedMedia?.get(0) as MediaCommonViewModel.MediaControl in loadMediaControls_mediaItemsAreUpdated()
100 var mediaControl1 = sortedMedia?.get(1) as MediaCommonViewModel.MediaControl in loadMediaControls_mediaItemsAreUpdated()
107 mediaControl2 = sortedMedia?.get(0) as MediaCommonViewModel.MediaControl in loadMediaControls_mediaItemsAreUpdated()
108 mediaControl1 = sortedMedia?.get(1) as MediaCommonViewModel.MediaControl in loadMediaControls_mediaItemsAreUpdated()
114 mediaControl1 = sortedMedia?.get(0) as MediaCommonViewModel.MediaControl in loadMediaControls_mediaItemsAreUpdated()
115 mediaControl2 = sortedMedia?.get(1) as MediaCommonViewModel.MediaControl in loadMediaControls_mediaItemsAreUpdated()
132 val firstMediaControl = sortedMedia?.get(0) as MediaCommonViewModel.MediaControl in loadMediaControlsAndRecommendations_mediaItemsAreUpdated()
133 val secondMediaControl = sortedMedia?.get(1) as MediaCommonViewModel.MediaControl in loadMediaControlsAndRecommendations_mediaItemsAreUpdated()
163 val mediaControl = sortedMedia?.get(0) as MediaCommonViewModel.MediaControl in recommendationClicked_switchToPlayer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaCarouselViewModel.kt67 is MediaCommonModel.MediaControl -> add(toViewModel(commonModel)) in <lambda>()
93 mutableMapOf<InstanceId, MediaCommonViewModel.MediaControl>() in <lambda>()
112 commonModel: MediaCommonModel.MediaControl in <lambda>()
113 ): MediaCommonViewModel.MediaControl { in <lambda>()
118 ?: MediaCommonViewModel.MediaControl( in <lambda>()
176 commonModel: MediaCommonModel.MediaControl in <lambda>()
DMediaCommonViewModel.kt28 data class MediaControl( class in com.android.systemui.media.controls.ui.viewmodel.MediaCommonViewModel
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/shared/model/
DMediaCommonModel.kt21 data class MediaControl( dataClass
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataFilterImplTest.kt177 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()
250 assertThat(currentMedia).containsExactly(MediaCommonModel.MediaControl(mediaLoaded)) in onUserSwitched_removesOldUserControls()
296 .containsExactly(MediaCommonModel.MediaControl(guestLoadedStatesModel)) in onUserSwitched_addsNewUserControls()
298 .doesNotContain(MediaCommonModel.MediaControl(mainLoadedStatesModel)) in onUserSwitched_addsNewUserControls()
318 .containsExactly(MediaCommonModel.MediaControl(mediaLoadedStatesModel)) in onProfileChanged_profileUnavailable_updateStates()
616 MediaCommonModel.MediaControl( in onSmartspaceMediaDataLoaded_noRecentMedia_activeValidRec_prioritizesSmartspace()
692 MediaCommonModel.MediaControl( in onSmartspaceMediaDataLoaded_hasRecentMedia_inactiveRec_showsNothing()
744 MediaCommonModel.MediaControl( in onSmartspaceMediaDataLoaded_hasRecentMedia_activeInvalidRec_usesMedia()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/data/repository/
DMediaFilterRepository.kt187 commonModel !is MediaCommonModel.MediaControl || in <lambda>()
208 MediaCommonModel.MediaControl( in <lambda>()
229 mediaCommonModel is MediaCommonModel.MediaControl && in <lambda>()
249 commonModel !is MediaCommonModel.MediaControl || in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/ui/util/
DMediaDiffUtilTest.kt197 ): MediaCommonViewModel.MediaControl { in <lambda>()
198 return MediaCommonViewModel.MediaControl( in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/domain/interactor/
DMediaCarouselInteractorTest.kt153 MediaCommonModel.MediaControl(mediaLoadingModel, true) in addActiveRecommendation_inactiveMedia()
246 MediaCommonModel.MediaControl(mediaLoadingModel, isMediaFromRec = true), in loadMediaFromRec()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaCarouselController.kt734 is MediaCommonViewModel.MediaControl -> { in <lambda>()
772 commonViewModel is MediaCommonViewModel.MediaControl && commonViewModel.isMediaFromRec in <lambda>()
793 is MediaCommonViewModel.MediaControl -> { in <lambda>()
812 is MediaCommonViewModel.MediaControl -> { in <lambda>()
1143 is MediaCommonViewModel.MediaControl -> { in <lambda>()