Home
last modified time | relevance | path

Searched refs:getMediaSource (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java132 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK)) in testSetMediaSource_ModePlaybackIndependent()
134 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE)) in testSetMediaSource_ModePlaybackIndependent()
144 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE)) in testSetMediaSource_ModeBrowseIndependent()
146 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK)) in testSetMediaSource_ModeBrowseIndependent()
157 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE)) in testSetMediaSource_ModePlaybackAndBrowseIndependent()
159 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK)) in testSetMediaSource_ModePlaybackAndBrowseIndependent()
169 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE)) in testSetMediaSource_Dependent()
171 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK)) in testSetMediaSource_Dependent()
176 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE)) in testSetMediaSource_Dependent()
178 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK)) in testSetMediaSource_Dependent()
[all …]
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSourceViewModel.java71 MediaSource getMediaSource(ComponentName componentName); in getMediaSource() method
107 public MediaSource getMediaSource(ComponentName componentName) { in MediaSourceViewModel()
130 () -> updateModelState(mInputFactory.getMediaSource(componentName))); in MediaSourceViewModel()
135 updateModelState(mInputFactory.getMediaSource(mCarMediaManager.getMediaSource(mode))); in MediaSourceViewModel()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/browse/
DMediaItemsRepository.java181 private MediaSource getMediaSource() { in getMediaSource() method in MediaItemsRepository
215 PerMediaSourceCache cache = mCaches.get(getMediaSource()); in getCache()
218 mCaches.put(getMediaSource(), cache); in getCache()
/packages/services/Car/car-lib/src/android/car/media/
DCarMediaManager.java89 public @NonNull ComponentName getMediaSource(@MediaSourceMode int mode) { in getMediaSource() method in CarMediaManager
91 return mService.getMediaSource(mode); in getMediaSource()
DICarMedia.aidl30 ComponentName getMediaSource(int mode); in getMediaSource() method
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java473 public ComponentName getMediaSource(@CarMediaManager.MediaSourceMode int mode) { in getMediaSource() method in CarMediaService
631 ComponentName mediaSource = getMediaSource(mMediaController.getPackageName(), in onPlaybackStateChanged()
811 ComponentName mediaSource = getMediaSource(newPackageName, newClassName); in updatePrimaryMediaSourceWithCurrentlyPlaying()
896 private ComponentName getMediaSource(@NonNull String packageName, @NonNull String className) { in getMediaSource() method in CarMediaService
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaSourceViewModelTest.java115 public MediaSource getMediaSource(ComponentName componentName) { in initializeViewModel()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppLauncherUtils.java134 static ComponentName getMediaSource(@NonNull PackageManager packageManager, in getMediaSource() method in AppLauncherUtils
DAppGridActivity.java330 ComponentName componentName = AppLauncherUtils.getMediaSource(mPackageManager, in getMostRecentApps()
/packages/services/Car/car-lib/api/
Dsystem-current.txt1029 …anifest.permission.MEDIA_CONTENT_CONTROL) public android.content.ComponentName getMediaSource(int);