Searched refs:mMediaSource (Results 1 – 4 of 4) sorted by relevance
89 private MediaSource mMediaSource; field in MediaViewModelTest151 when(mMediaSource.getDisplayName(any())).thenReturn(APP_NAME); in changeSourceAndMetadata_updatesModel()152 when(mMediaSource.getIcon()).thenReturn(APP_ICON); in changeSourceAndMetadata_updatesModel()156 when(mMediaSource.getBrowseServiceComponentName()) in changeSourceAndMetadata_updatesModel()159 mLiveMediaSource.setValue(mMediaSource); in changeSourceAndMetadata_updatesModel()176 when(mMediaSource.getDisplayName(any())).thenReturn(APP_NAME); in changeSourceOnly_updatesModel()177 when(mMediaSource.getIcon()).thenReturn(APP_ICON); in changeSourceOnly_updatesModel()179 when(mMediaSource.getBrowseServiceComponentName()) in changeSourceOnly_updatesModel()182 mLiveMediaSource.setValue(mMediaSource); in changeSourceOnly_updatesModel()
34 private LiveData<MediaSource> mMediaSource; field in MusicFragmentViewModel49 mMediaSource = mMediaSourceViewModel.getPrimaryMediaSource(); in init()50 mAppName = mapNonNull(mMediaSource, source -> source.getDisplayName(getApplication())); in init()51 mAppIcon = mapNonNull(mMediaSource, MediaSource::getCroppedPackageIcon); in init()
190 Log.d(TAG, "playSongOnSource(): " + browsingState.mMediaSource in playSongOnSource()325 Log.d(TAG, "onBrowserConnectionChanged: " + state.mMediaSource in onBrowserConnectionChanged()
154 Log.d(TAG, "onBrowserConnectionChanged: " + state.mMediaSource in onBrowserConnectionChanged()