Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
134 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE)) in testSetMediaSource_ModePlaybackIndependent()
142 mCarMediaService.setMediaSource(MEDIA_COMPONENT, MEDIA_SOURCE_MODE_BROWSE); in testSetMediaSource_ModeBrowseIndependent()
144 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE)) in testSetMediaSource_ModeBrowseIndependent()
154 mCarMediaService.setMediaSource(MEDIA_COMPONENT, MEDIA_SOURCE_MODE_BROWSE); in testSetMediaSource_ModePlaybackAndBrowseIndependent()
157 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE)) in testSetMediaSource_ModePlaybackAndBrowseIndependent()
169 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE)) in testSetMediaSource_Dependent()
174 mCarMediaService.setMediaSource(MEDIA_COMPONENT2, MEDIA_SOURCE_MODE_BROWSE); in testSetMediaSource_Dependent()
176 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE)) in testSetMediaSource_Dependent()
189 mCarMediaService.registerMediaSourceListener(listenerBrowse, MEDIA_SOURCE_MODE_BROWSE); in testMediaSourceListener_Independent()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java18 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
292 mMediaSourceListeners[MEDIA_SOURCE_MODE_BROWSE] = new RemoteCallbackList(); in CarMediaService()
349 mPrimaryMediaComponents[MEDIA_SOURCE_MODE_BROWSE] = isCurrentUserEphemeral() in initUser()
350 ? getDefaultMediaSource() : getLastMediaSource(MEDIA_SOURCE_MODE_BROWSE); in initUser()
355 notifyListeners(MEDIA_SOURCE_MODE_BROWSE); in initUser()
424 mPrimaryMediaComponents[MEDIA_SOURCE_MODE_BROWSE] == null ? "-" in dump()
425 : mPrimaryMediaComponents[MEDIA_SOURCE_MODE_BROWSE].flattenToString()); in dump()
444 for (ComponentName name : getLastMediaSources(MEDIA_SOURCE_MODE_BROWSE)) { in dump()
718 } else if (mode == MEDIA_SOURCE_MODE_BROWSE) { in setPrimaryMediaSource()
759 mPrimaryMediaComponents[MEDIA_SOURCE_MODE_BROWSE] = browseMediaSource; in setBrowseMediaSource()
[all …]
/packages/apps/Car/Media/src/com/android/car/media/
DMediaDispatcherActivity.java3 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
42 MEDIA_SOURCE_MODE_BROWSE); in onCreate()
51 mediaSrcVM.setPrimaryMediaSource(mediaSrc, MEDIA_SOURCE_MODE_BROWSE); in onCreate()
DViewControllerBase.java20 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
91 MEDIA_SOURCE_MODE_BROWSE); in ViewControllerBase()
DMediaActivity.java18 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
497 return MediaItemsRepository.get(getApplication(), MEDIA_SOURCE_MODE_BROWSE); in getMediaItemsRepository()
501 return PlaybackViewModel.get(getApplication(), MEDIA_SOURCE_MODE_BROWSE); in getPlaybackViewModel()
DPlaybackFragment.java19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
762 return PlaybackViewModel.get(getActivity().getApplication(), MEDIA_SOURCE_MODE_BROWSE); in getPlaybackViewModel()
766 return MediaSourceViewModel.get(getActivity().getApplication(), MEDIA_SOURCE_MODE_BROWSE); in getMediaSourceViewModel()
/packages/services/Car/car-lib/src/android/car/media/
DCarMediaManager.java44 public static final int MEDIA_SOURCE_MODE_BROWSE = 1; field in CarMediaManager
49 MEDIA_SOURCE_MODE_BROWSE
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioActivity.java19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_BROWSE;
117 MediaSourceViewModel.get(getApplication(), MEDIA_SOURCE_MODE_BROWSE); in onCreate()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DAppLauncherUtils.java297 carMediaManager.setMediaSource(componentName, CarMediaManager.MEDIA_SOURCE_MODE_BROWSE); in selectMediaSourceAndFinish()
/packages/services/Car/car-lib/api/
Dsystem-current.txt1032 field public static final int MEDIA_SOURCE_MODE_BROWSE = 1; // 0x1