Home
last modified time | relevance | path

Searched refs:setMediaSource (Results 1 – 14 of 14) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/
DCarMediaServiceTest.java232 mCarMediaService.setMediaSource(MEDIA_COMPONENT, MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID); in testSetMediaSource_ModePlaybackIndependent()
245 mCarMediaService.setMediaSource(MEDIA_COMPONENT, MEDIA_SOURCE_MODE_BROWSE, TEST_USER_ID); in testSetMediaSource_ModeBrowseIndependent()
258 mCarMediaService.setMediaSource(MEDIA_COMPONENT, MEDIA_SOURCE_MODE_BROWSE, TEST_USER_ID); in testSetMediaSource_ModePlaybackAndBrowseIndependent()
259 mCarMediaService.setMediaSource(MEDIA_COMPONENT2, MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID); in testSetMediaSource_ModePlaybackAndBrowseIndependent()
272 mCarMediaService.setMediaSource(MEDIA_COMPONENT, MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID); in testSetMediaSource_Dependent()
279 mCarMediaService.setMediaSource(MEDIA_COMPONENT2, MEDIA_SOURCE_MODE_BROWSE, TEST_USER_ID); in testSetMediaSource_Dependent()
300 mCarMediaService.setMediaSource(MEDIA_COMPONENT, MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID); in testSetMediaSource_settingPlaybackSourcePausesAndStopsPreviousMedia()
301 mCarMediaService.setMediaSource(MEDIA_COMPONENT2, MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID); in testSetMediaSource_settingPlaybackSourcePausesAndStopsPreviousMedia()
313 mCarMediaService.setMediaSource(MEDIA_COMPONENT, MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID); in testSetMediaSource_multiUsers()
321 mCarMediaService.setMediaSource(MEDIA_COMPONENT2, MEDIA_SOURCE_MODE_PLAYBACK, in testSetMediaSource_multiUsers()
[all …]
/packages/apps/Car/Launcher/libs/car-launcher-common/tests/src/com/android/car/carlaunchercommon/shortcuts/
DForceStopShortcutItemTest.kt87 .setMediaSource(any<ComponentName>(), anyInt()) in forceStop_nonMediaApp_shouldNotChangeMediaSource()
135 Mockito.verify(carMediaManagerMock).setMediaSource( in forceStop_activeBrowseMediaSrc_foundLastBrowseSrc_browseMediaSrcSet()
162 Mockito.verify(carMediaManagerMock, never()).setMediaSource( in forceStop_activeBrowseMediaSrc_foundLastBrowseSrc_playbackMediaSrcNotSet()
188 Mockito.verify(carMediaManagerMock).setMediaSource( in forceStop_activeBrowseMediaSrc_noLastBrowseSrc_browseMediaSrcSet()
213 Mockito.verify(carMediaManagerMock, Mockito.never()).setMediaSource( in forceStop_activeBrowseMediaSrc_noLastBrowseSrc_noMediaService_browseMediaSrcNotSet()
264 Mockito.verify(carMediaManagerMock).setMediaSource( in forceStop_activePlaybackMediaSrc_lastPlaybackSrcFound_playbackMediaSrcSet()
291 Mockito.verify(carMediaManagerMock, never()).setMediaSource( in forceStop_activePlaybackMediaSrc_lastPlaybackSrcFound_browseMediaSrcNotSet()
317 Mockito.verify(carMediaManagerMock).setMediaSource( in forceStop_activePlaybackMediaSrc_noLastPlaybackSrc_playbackMediaSrcSet()
342 Mockito.verify(carMediaManagerMock, Mockito.never()).setMediaSource( in forceStop_activePlaybackMediaSrc_noLastPlaybackSrc_noMediaService_playbackMediaSrcNotSet()
372 Mockito.verify(carMediaManagerMock).setMediaSource( in forceStop_activeBrowseAndPlaybackMediaSrc_foundLastSrcs_browseAndPlaybackMediaSrcSet()
[all …]
/packages/services/Car/tests/CarLibUnitTest/src/android/car/media/
DCarMediaManagerUnitTest.java104 mMediaManager.setMediaSource(mComponentNameMock1, TEST_MODE); in testSetMediaSource()
106 verify(mServiceMock).setMediaSource(mComponentNameMock1, TEST_MODE, TEST_USER_ID); in testSetMediaSource()
112 .setMediaSource(mComponentNameMock1, TEST_MODE, TEST_USER_ID); in testSetMediaSource_whenServiceThrowsRemoteException()
114 mMediaManager.setMediaSource(mComponentNameMock1, TEST_MODE); in testSetMediaSource_whenServiceThrowsRemoteException()
/packages/services/Car/car-lib/src/android/car/media/
DCarMediaManager.java105 public void setMediaSource(@NonNull ComponentName componentName, @MediaSourceMode int mode) { in setMediaSource() method in CarMediaManager
107 mService.setMediaSource(componentName, mode, getContext().getUser().getIdentifier()); in setMediaSource()
DICarMedia.aidl32 void setMediaSource(in ComponentName mediaSource, int mode, int userId); in setMediaSource() method
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/repositories/appactions/
DAppLaunchProvider.kt104 carMediaManager.setMediaSource(componentName, CarMediaManager.MEDIA_SOURCE_MODE_BROWSE) in launch()
/packages/apps/Car/Launcher/libs/car-launcher-common/src/com/android/car/carlaunchercommon/shortcuts/
DForceStopShortcutItem.kt218 carMediaManager?.setMediaSource(componentName, mode) in <lambda>()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DAppLauncherUtils.java572 carMediaManager.setMediaSource(componentName, CarMediaManager.MEDIA_SOURCE_MODE_BROWSE); in selectMediaSourceAndFinish()
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java792 public void setMediaSource(@NonNull ComponentName componentName, in setMediaSource() method in CarMediaService
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt231 method TIRAMISU_0 void setMediaSource(ComponentName componentName, int mode);
/packages/services/Car/car-lib-module/api/
Dsystem-current.txt1756 …ssion(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void setMediaSource(@NonNull andro…
/packages/services/Car/car-lib/api/
Dsystem-current.txt1756 …ssion(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void setMediaSource(@NonNull andro…
Dtest-current.txt1833 …ssion(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void setMediaSource(@NonNull andro…
Dsystem-lint-baseline.txt3378 UnflaggedApi: android.car.media.CarMediaManager#setMediaSource(android.content.ComponentName, int):
3379 …e flagged with @FlaggedApi: method android.car.media.CarMediaManager.setMediaSource(android.conten…