Searched refs:mMediaSource (Results 1 – 4 of 4) sorted by relevance
76 private MediaSource mMediaSource; field in MediaSourceViewModelTest86 mMediaSource = null; in setUp()123 return mMediaSource; in initializeViewModel()142 mMediaSource = mock(MediaSource.class); in testGetMediaController_connectedBrowser()143 when(mMediaSource.getBrowseServiceComponentName()).thenReturn(testComponent); in testGetMediaController_connectedBrowser()158 mMediaSource = mock(MediaSource.class); in testGetMediaController_noActiveSession_notConnected()159 when(mMediaSource.getBrowseServiceComponentName()).thenReturn(testComponent); in testGetMediaController_noActiveSession_notConnected()
34 private LiveData<MediaSource> mMediaSource; field in MusicFragmentViewModel49 mMediaSource = mMediaSourceViewModel.getPrimaryMediaSource(); in init()50 mAppName = mapNonNull(mMediaSource, MediaSource::getDisplayName); in init()51 mAppIcon = mapNonNull(mMediaSource, MediaSource::getRoundPackageIcon); in init()
121 private LiveData<MediaSource> mMediaSource; field in PlaybackFragment.ViewModel141 mMediaSource = mMediaSourceViewModel.getPrimaryMediaSource(); in init()142 mAppName = mapNonNull(mMediaSource, MediaSource::getDisplayName); in init()143 mAppIcon = mapNonNull(mMediaSource, MediaSource::getRoundPackageIcon); in init()
795 private ComponentName mMediaSource; field in MediaActivity.ViewModel824 MediaServiceState state = mStates.get(mMediaSource); in getSavedState()827 mStates.put(mMediaSource, state); in getSavedState()854 mMediaSource = mediaSource; in saveMediaSource()858 return mMediaSource; in getSavedMediaSource()