Home
last modified time | relevance | path

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

/packages/apps/Car/Launcher/app/tests/src/com/android/car/carlauncher/homescreen/audio/
DMediaViewModelTest.java89 private MediaSource mMediaSource; field in MediaViewModelTest
151 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()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DMusicFragmentViewModel.java34 private LiveData<MediaSource> mMediaSource; field in MusicFragmentViewModel
49 mMediaSource = mMediaSourceViewModel.getPrimaryMediaSource(); in init()
50 mAppName = mapNonNull(mMediaSource, source -> source.getDisplayName(getApplication())); in init()
51 mAppIcon = mapNonNull(mMediaSource, MediaSource::getCroppedPackageIcon); in init()
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/actuators/
DMediaActuator.java190 Log.d(TAG, "playSongOnSource(): " + browsingState.mMediaSource in playSongOnSource()
325 Log.d(TAG, "onBrowserConnectionChanged: " + state.mMediaSource in onBrowserConnectionChanged()
DRadioActuator.java154 Log.d(TAG, "onBrowserConnectionChanged: " + state.mMediaSource in onBrowserConnectionChanged()