Home
last modified time | relevance | path

Searched refs:mPlaybackViewModel (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/
DPlaybackViewModelTest.java80 private PlaybackViewModel mPlaybackViewModel; field in PlaybackViewModelTest
90 mPlaybackViewModel = new PlaybackViewModel(application, mMediaControllerLiveData); in setUp()
96 mPlaybackViewModel.getMetadata().observe(mLifecycleOwner, observer); in testGetMetadata()
111 mPlaybackViewModel.getPlaybackStateWrapper().observe(mLifecycleOwner, observer); in testGetPlaybackState()
129 mPlaybackViewModel.getQueue().observe(mLifecycleOwner, observer); in testGetSanitizedQueue()
147 mPlaybackViewModel.hasQueue().observe(mLifecycleOwner, observer); in testGetHasQueue_null()
162 mPlaybackViewModel.hasQueue().observe(mLifecycleOwner, observer); in testGetHasQueue_empty()
178 mPlaybackViewModel.hasQueue().observe(mLifecycleOwner, observer); in testGetHasQueue_true()
207 mPlaybackViewModel.getMetadata().observe(mLifecycleOwner, mediaItemMetadata -> { in testChangeMediaSource_consistentController()
208 if (mPlaybackViewModel.getMediaMetadata() == newMetadata) { in testChangeMediaSource_consistentController()
[all …]
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMinimizedPlaybackControlBar.java42 private PlaybackViewModel mPlaybackViewModel; field in MinimizedPlaybackControlBar
79 mPlaybackViewModel = model; in setModel()
81 ControlBarHelper.initProgressBar(getContext(), owner, mPlaybackViewModel, in setModel() local
83 ControlBarHelper.initProgressBar(getContext(), owner, mPlaybackViewModel, in setModel() local
DPlaybackFragment.java127 private PlaybackViewModel mPlaybackViewModel; field in PlaybackFragment.ViewModel
136 && mPlaybackViewModel == playbackViewModel) { in init()
139 mPlaybackViewModel = playbackViewModel; in init()
/packages/apps/Car/Media/src/com/android/car/media/
DMediaActivity.java794 private PlaybackViewModel mPlaybackViewModel; field in MediaActivity.ViewModel
804 if (mPlaybackViewModel == playbackViewModel) { in init()
807 mPlaybackViewModel = playbackViewModel; in init()