Home
last modified time | relevance | path

Searched refs:hasQueue (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Media/src/com/android/car/media/
DPlaybackFragment.java534 getPlaybackViewModel().hasQueue().observe(getViewLifecycleOwner(), hasQueue -> { in initQueue()
535 boolean enableQueue = (hasQueue != null) && hasQueue; in initQueue()
613 private void setHasQueue(boolean hasQueue) { in setHasQueue() argument
614 mHasQueue = hasQueue; in setHasQueue()
615 setQueueVisible(hasQueue && mQueueIsVisible); in setHasQueue()
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/playback/
DPlaybackViewModelTest.java147 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()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/
DPlaybackViewModel.java187 public LiveData<Boolean> hasQueue() { in hasQueue() method in PlaybackViewModel