/packages/apps/Car/Launcher/libs/car-launcher-common/tests/src/com/android/car/carlaunchercommon/shortcuts/ |
D | ForceStopShortcutItemTest.kt | 96 whenever(carMediaManagerMock.getMediaSource(eq(CarMediaManager.MEDIA_SOURCE_MODE_BROWSE))) in forceStop_activeBrowseMediaSrc_foundLastBrowseSrc_forceStopPackageCalled() 101 whenever(carMediaManagerMock.getMediaSource(eq(CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK))) in forceStop_activeBrowseMediaSrc_foundLastBrowseSrc_forceStopPackageCalled() 120 whenever(carMediaManagerMock.getMediaSource(eq(CarMediaManager.MEDIA_SOURCE_MODE_BROWSE))) in forceStop_activeBrowseMediaSrc_foundLastBrowseSrc_browseMediaSrcSet() 125 whenever(carMediaManagerMock.getMediaSource(eq(CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK))) in forceStop_activeBrowseMediaSrc_foundLastBrowseSrc_browseMediaSrcSet() 147 whenever(carMediaManagerMock.getMediaSource(eq(CarMediaManager.MEDIA_SOURCE_MODE_BROWSE))) in forceStop_activeBrowseMediaSrc_foundLastBrowseSrc_playbackMediaSrcNotSet() 152 whenever(carMediaManagerMock.getMediaSource(eq(CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK))) in forceStop_activeBrowseMediaSrc_foundLastBrowseSrc_playbackMediaSrcNotSet() 173 whenever(carMediaManagerMock.getMediaSource(eq(CarMediaManager.MEDIA_SOURCE_MODE_BROWSE))) in forceStop_activeBrowseMediaSrc_noLastBrowseSrc_browseMediaSrcSet() 178 whenever(carMediaManagerMock.getMediaSource(eq(CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK))) in forceStop_activeBrowseMediaSrc_noLastBrowseSrc_browseMediaSrcSet() 198 whenever(carMediaManagerMock.getMediaSource(eq(CarMediaManager.MEDIA_SOURCE_MODE_BROWSE))) in forceStop_activeBrowseMediaSrc_noLastBrowseSrc_noMediaService_browseMediaSrcNotSet() 203 whenever(carMediaManagerMock.getMediaSource(eq(CarMediaManager.MEDIA_SOURCE_MODE_PLAYBACK))) in forceStop_activeBrowseMediaSrc_noLastBrowseSrc_noMediaService_browseMediaSrcNotSet() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/media/ |
D | CarMediaServiceTest.java | 234 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID)) in testSetMediaSource_ModePlaybackIndependent() 236 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE, TEST_USER_ID)) in testSetMediaSource_ModePlaybackIndependent() 247 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE, TEST_USER_ID)) in testSetMediaSource_ModeBrowseIndependent() 249 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID)) in testSetMediaSource_ModeBrowseIndependent() 261 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE, TEST_USER_ID)) in testSetMediaSource_ModePlaybackAndBrowseIndependent() 263 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID)) in testSetMediaSource_ModePlaybackAndBrowseIndependent() 274 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE, TEST_USER_ID)) in testSetMediaSource_Dependent() 276 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID)) in testSetMediaSource_Dependent() 281 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_BROWSE, TEST_USER_ID)) in testSetMediaSource_Dependent() 283 assertThat(mCarMediaService.getMediaSource(MEDIA_SOURCE_MODE_PLAYBACK, TEST_USER_ID)) in testSetMediaSource_Dependent() [all …]
|
/packages/services/Car/tests/CarLibUnitTest/src/android/car/media/ |
D | CarMediaManagerUnitTest.java | 87 when(mServiceMock.getMediaSource(TEST_MODE, TEST_USER_ID)).thenReturn(mComponentNameMock1); in testGetMediaSource() 89 expectWithMessage("Media source for browse mode").that(mMediaManager.getMediaSource( in testGetMediaSource() 95 doThrow(mRemoteException).when(mServiceMock).getMediaSource(TEST_MODE, TEST_USER_ID); in testGetMediaSource_whenServiceThrowsRemoteException_returnsNull() 98 .that(mMediaManager.getMediaSource(TEST_MODE)).isNull(); in testGetMediaSource_whenServiceThrowsRemoteException_returnsNull()
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | CarMediaManager.java | 91 public @NonNull ComponentName getMediaSource(@MediaSourceMode int mode) { in getMediaSource() method in CarMediaManager 93 return mService.getMediaSource(mode, getContext().getUser().getIdentifier()); in getMediaSource()
|
D | ICarMedia.aidl | 30 ComponentName getMediaSource(int mode, int userId); in getMediaSource() method
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/v2/ |
D | PickerSQLConstants.java | 209 getMediaSource(), in getProjection() 230 private String getMediaSource() { in getMediaSource() method in PickerSQLConstants.MediaResponse
|
/packages/apps/Car/Launcher/libs/car-launcher-common/src/com/android/car/carlaunchercommon/shortcuts/ |
D | ForceStopShortcutItem.kt | 222 val componentName = carMediaManager?.getMediaSource(mode) in <lambda>()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarMediaService.java | 808 public ComponentName getMediaSource(@CarMediaManager.MediaSourceMode int mode, in getMediaSource() method in CarMediaService 1203 ComponentName mediaSource = getMediaSource(mMediaController.getPackageName(), in onPlaybackStateChanged() 1417 getMediaSource(newPackageName, newClassName, userId); in updatePrimaryMediaSourceWithCurrentlyPlaying() 1502 private ComponentName getMediaSource(String packageName, String className, in getMediaSource() method in CarMediaService
|
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/actuators/ |
D | MediaActuator.java | 82 onMediaSourceChanged(mCarMediaManager.getMediaSource( in onCreate()
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitLauncher/src/com/android/car/portraitlauncher/controlbar/ |
D | ControlBarMediaController.java | 91 MediaSource mediaSource = mDataModel.getMediaSource().getValue(); in ControlBarMediaController()
|
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/audio/media/ |
D | MediaCardController.java | 122 MediaSource mediaSource = mDataModel.getMediaSource().getValue(); in MediaCardController()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/ |
D | AppLauncherUtils.java | 177 static ComponentName getMediaSource(@NonNull PackageManager packageManager, in getMediaSource() method in AppLauncherUtils
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_api_list.txt | 230 method TIRAMISU_0 ComponentName getMediaSource(int mode);
|
/packages/services/Car/car-lib-module/api/ |
D | system-current.txt | 1754 …anifest.permission.MEDIA_CONTENT_CONTROL) public android.content.ComponentName getMediaSource(int);
|
/packages/services/Car/car-lib/api/ |
D | system-current.txt | 1754 …anifest.permission.MEDIA_CONTENT_CONTROL) public android.content.ComponentName getMediaSource(int);
|
D | test-current.txt | 1829 …anifest.permission.MEDIA_CONTENT_CONTROL) public android.content.ComponentName getMediaSource(int);
|
D | system-lint-baseline.txt | 3374 UnflaggedApi: android.car.media.CarMediaManager#getMediaSource(int): 3375 … API must be flagged with @FlaggedApi: method android.car.media.CarMediaManager.getMediaSource(int)
|