/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/ |
D | CarMediaServiceTest.java | 232 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/ |
D | ForceStopShortcutItemTest.kt | 87 .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/ |
D | CarMediaManagerUnitTest.java | 104 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/ |
D | CarMediaManager.java | 105 public void setMediaSource(@NonNull ComponentName componentName, @MediaSourceMode int mode) { in setMediaSource() method in CarMediaManager 107 mService.setMediaSource(componentName, mode, getContext().getUser().getIdentifier()); in setMediaSource()
|
D | ICarMedia.aidl | 32 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/ |
D | AppLaunchProvider.kt | 104 carMediaManager.setMediaSource(componentName, CarMediaManager.MEDIA_SOURCE_MODE_BROWSE) in launch()
|
/packages/apps/Car/Launcher/libs/car-launcher-common/src/com/android/car/carlaunchercommon/shortcuts/ |
D | ForceStopShortcutItem.kt | 218 carMediaManager?.setMediaSource(componentName, mode) in <lambda>()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/ |
D | AppLauncherUtils.java | 572 carMediaManager.setMediaSource(componentName, CarMediaManager.MEDIA_SOURCE_MODE_BROWSE); in selectMediaSourceAndFinish()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarMediaService.java | 792 public void setMediaSource(@NonNull ComponentName componentName, in setMediaSource() method in CarMediaService
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 231 method TIRAMISU_0 void setMediaSource(ComponentName componentName, int mode);
|
/packages/services/Car/car-lib-module/api/ |
D | system-current.txt | 1756 …ssion(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void setMediaSource(@NonNull andro…
|
/packages/services/Car/car-lib/api/ |
D | system-current.txt | 1756 …ssion(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void setMediaSource(@NonNull andro…
|
D | test-current.txt | 1833 …ssion(android.Manifest.permission.MEDIA_CONTENT_CONTROL) public void setMediaSource(@NonNull andro…
|
D | system-lint-baseline.txt | 3378 UnflaggedApi: android.car.media.CarMediaManager#setMediaSource(android.content.ComponentName, int): 3379 …e flagged with @FlaggedApi: method android.car.media.CarMediaManager.setMediaSource(android.conten…
|