Home
last modified time | relevance | path

Searched refs:MEDIA_SOURCE_MODE_PLAYBACK (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java20 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
130 mCarMediaService.setMediaSource(MEDIA_COMPONENT, MEDIA_SOURCE_MODE_PLAYBACK); in testSetMediaSource_ModePlaybackIndependent()
132 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK)) in testSetMediaSource_ModePlaybackIndependent()
146 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK)) in testSetMediaSource_ModeBrowseIndependent()
155 mCarMediaService.setMediaSource(MEDIA_COMPONENT2, MEDIA_SOURCE_MODE_PLAYBACK); in testSetMediaSource_ModePlaybackAndBrowseIndependent()
159 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK)) in testSetMediaSource_ModePlaybackAndBrowseIndependent()
167 mCarMediaService.setMediaSource(MEDIA_COMPONENT, MEDIA_SOURCE_MODE_PLAYBACK); in testSetMediaSource_Dependent()
171 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK)) in testSetMediaSource_Dependent()
178 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK)) in testSetMediaSource_Dependent()
188 mCarMediaService.registerMediaSourceListener(listenerPlayback, MEDIA_SOURCE_MODE_PLAYBACK); in testMediaSourceListener_Independent()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
291 mMediaSourceListeners[MEDIA_SOURCE_MODE_PLAYBACK] = new RemoteCallbackList(); in CarMediaService()
347 mPrimaryMediaComponents[MEDIA_SOURCE_MODE_PLAYBACK] = isCurrentUserEphemeral() in initUser()
348 ? getDefaultMediaSource() : getLastMediaSource(MEDIA_SOURCE_MODE_PLAYBACK); in initUser()
354 notifyListeners(MEDIA_SOURCE_MODE_PLAYBACK); in initUser()
421 mPrimaryMediaComponents[MEDIA_SOURCE_MODE_PLAYBACK] == null ? "-" in dump()
422 : mPrimaryMediaComponents[MEDIA_SOURCE_MODE_PLAYBACK].flattenToString()); in dump()
438 for (ComponentName name : getLastMediaSources(MEDIA_SOURCE_MODE_PLAYBACK)) { in dump()
634 && !mediaSource.equals(mPrimaryMediaComponents[MEDIA_SOURCE_MODE_PLAYBACK]) in onPlaybackStateChanged()
639 setPrimaryMediaSource(mediaSource, MEDIA_SOURCE_MODE_PLAYBACK); in onPlaybackStateChanged()
[all …]
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DMusicFragment.java18 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
57 PlaybackViewModel.get(activity.getApplication(), MEDIA_SOURCE_MODE_PLAYBACK); in onCreateView()
59 activity.getApplication(), MEDIA_SOURCE_MODE_PLAYBACK); in onCreateView()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/audio/
DMediaViewModel.java19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
86 MEDIA_SOURCE_MODE_PLAYBACK); in onCreate()
90 MEDIA_SOURCE_MODE_PLAYBACK); in onCreate()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DPlaybackFragment.java19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
92 mPlaybackViewModel = PlaybackViewModel.get(application, MEDIA_SOURCE_MODE_PLAYBACK); in onCreateView()
93 mMediaSourceViewModel = MediaSourceViewModel.get(application, MEDIA_SOURCE_MODE_PLAYBACK); in onCreateView()
98 MediaItemsRepository.get(application, MEDIA_SOURCE_MODE_PLAYBACK)); in onCreateView()
/packages/apps/Car/Media/src/com/android/car/media/service/
DMediaConnectorService.java19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
72 MEDIA_SOURCE_MODE_PLAYBACK); in onStartCommand()
/packages/services/Car/car-lib/src/android/car/media/
DCarMediaManager.java43 public static final int MEDIA_SOURCE_MODE_PLAYBACK = 0; field in CarMediaManager
48 MEDIA_SOURCE_MODE_PLAYBACK,
/packages/apps/Car/libs/car-media-common/tests/robotests/src/com/android/car/media/common/source/
DMediaSourceViewModelTest.java19 import static android.car.media.CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK;
86 mViewModel = new MediaSourceViewModel(application, MEDIA_SOURCE_MODE_PLAYBACK, in initializeViewModel()
/packages/services/Car/car-lib/api/
Dsystem-current.txt1033 field public static final int MEDIA_SOURCE_MODE_PLAYBACK = 0; // 0x0