Searched refs:getLastMediaSources (Results 1 – 12 of 12) sorted by relevance
/packages/apps/Car/Launcher/libs/car-launcher-common/tests/src/com/android/car/carlaunchercommon/shortcuts/ |
D | ForceStopShortcutItemTest.kt | 99 carMediaManagerMock.getLastMediaSources(eq(CarMediaManager.MEDIA_SOURCE_MODE_BROWSE)) in forceStop_activeBrowseMediaSrc_foundLastBrowseSrc_forceStopPackageCalled() 123 carMediaManagerMock.getLastMediaSources(eq(CarMediaManager.MEDIA_SOURCE_MODE_BROWSE)) in forceStop_activeBrowseMediaSrc_foundLastBrowseSrc_browseMediaSrcSet() 150 carMediaManagerMock.getLastMediaSources(eq(CarMediaManager.MEDIA_SOURCE_MODE_BROWSE)) in forceStop_activeBrowseMediaSrc_foundLastBrowseSrc_playbackMediaSrcNotSet() 176 carMediaManagerMock.getLastMediaSources(eq(CarMediaManager.MEDIA_SOURCE_MODE_BROWSE)) in forceStop_activeBrowseMediaSrc_noLastBrowseSrc_browseMediaSrcSet() 201 carMediaManagerMock.getLastMediaSources(eq(CarMediaManager.MEDIA_SOURCE_MODE_BROWSE)) in forceStop_activeBrowseMediaSrc_noLastBrowseSrc_noMediaService_browseMediaSrcNotSet() 228 carMediaManagerMock.getLastMediaSources(eq(CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK)) in forceStop_activePlaybackMediaSrc_lastPlaybackSrcFound_forceStopPackageCalled() 252 carMediaManagerMock.getLastMediaSources(eq(CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK)) in forceStop_activePlaybackMediaSrc_lastPlaybackSrcFound_playbackMediaSrcSet() 279 carMediaManagerMock.getLastMediaSources(eq(CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK)) in forceStop_activePlaybackMediaSrc_lastPlaybackSrcFound_browseMediaSrcNotSet() 305 carMediaManagerMock.getLastMediaSources(eq(CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK)) in forceStop_activePlaybackMediaSrc_noLastPlaybackSrc_playbackMediaSrcSet() 330 carMediaManagerMock.getLastMediaSources(eq(CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK)) in forceStop_activePlaybackMediaSrc_noLastPlaybackSrc_noMediaService_playbackMediaSrcNotSet() [all …]
|
/packages/services/Car/tests/CarLibUnitTest/src/android/car/media/ |
D | CarMediaManagerUnitTest.java | 177 when(mServiceMock.getLastMediaSources(TEST_MODE, TEST_USER_ID)) in testGetLastMediaSources() 180 expectWithMessage("Last media sources").that(mMediaManager.getLastMediaSources( in testGetLastMediaSources() 187 doThrow(mRemoteException).when(mServiceMock).getLastMediaSources(TEST_MODE, TEST_USER_ID); in testGetLastMediaSources_whenServiceThrowsRemoteException_returnsNull() 189 expectWithMessage("Last media sources").that(mMediaManager.getLastMediaSources( in testGetLastMediaSources_whenServiceThrowsRemoteException_returnsNull()
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | CarMediaManager.java | 175 public @NonNull List<ComponentName> getLastMediaSources(@MediaSourceMode int mode) { in getLastMediaSources() method in CarMediaManager 177 return mService.getLastMediaSources(mode, getContext().getUser().getIdentifier()); in getLastMediaSources()
|
D | ICarMedia.aidl | 38 List<ComponentName> getLastMediaSources(int mode, int userId); in getLastMediaSources() method
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/ |
D | CarMediaServiceTest.java | 583 assertThat(mCarMediaService.getLastMediaSources(MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID)) in testGetLastMediaSources() 592 assertThat(mCarMediaService.getLastMediaSources(MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID)) in testGetLastMediaSources_returnsDefaultWhenNothingIsStored() 594 assertThat(mCarMediaService.getLastMediaSources(MEDIA_SOURCE_MODE_BROWSE, TEST_USER_ID)) in testGetLastMediaSources_returnsDefaultWhenNothingIsStored() 605 assertThat(mCarMediaService.getLastMediaSources(MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID)) in testGetLastMediaSources_returnsDefaultWhenSharedPrefNotInitialized() 607 assertThat(mCarMediaService.getLastMediaSources(MEDIA_SOURCE_MODE_BROWSE, TEST_USER_ID)) in testGetLastMediaSources_returnsDefaultWhenSharedPrefNotInitialized() 616 () -> mCarMediaService.getLastMediaSources(MEDIA_SOURCE_MODE_BROWSE, in testGetLastMediaSources_throwsSecurityExceptionWhenUserDoesNotMatch() 626 assertThat(mCarMediaService.getLastMediaSources(MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID)) in testGetLastMediaSources_systemUserCanCallForOtherUser()
|
/packages/apps/Car/Launcher/libs/car-launcher-common/src/com/android/car/carlaunchercommon/shortcuts/ |
D | ForceStopShortcutItem.kt | 208 val mediaSources = carMediaManager?.getLastMediaSources(mode) in <lambda>()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarMediaService.java | 862 public List<ComponentName> getLastMediaSources(@CarMediaManager.MediaSourceMode int mode, in getLastMediaSources() method in CarMediaService
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 234 method TIRAMISU_0 List<ComponentName> getLastMediaSources(int mode);
|
/packages/services/Car/car-lib-module/api/ |
D | system-current.txt | 1753 …DIA_CONTENT_CONTROL) public java.util.List<android.content.ComponentName> getLastMediaSources(int);
|
/packages/services/Car/car-lib/api/ |
D | system-current.txt | 1753 …DIA_CONTENT_CONTROL) public java.util.List<android.content.ComponentName> getLastMediaSources(int);
|
D | test-current.txt | 1828 …DIA_CONTENT_CONTROL) public java.util.List<android.content.ComponentName> getLastMediaSources(int);
|
D | system-lint-baseline.txt | 3372 UnflaggedApi: android.car.media.CarMediaManager#getLastMediaSources(int): 3373 …must be flagged with @FlaggedApi: method android.car.media.CarMediaManager.getLastMediaSources(int)
|