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/ |
D | PlaybackViewModelTest.java | 80 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/ |
D | MinimizedPlaybackControlBar.java | 42 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
|
D | PlaybackFragment.java | 127 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/ |
D | MediaActivity.java | 794 private PlaybackViewModel mPlaybackViewModel; field in MediaActivity.ViewModel 804 if (mPlaybackViewModel == playbackViewModel) { in init() 807 mPlaybackViewModel = playbackViewModel; in init()
|