/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/audio/ |
D | MediaViewModel.java | 202 MediaSource mediaSource = getMediaSourceViewModel().getPrimaryMediaSource().getValue(); in getIntent() local 204 return mediaSource != null ? mediaSource.getIntent() : null; in getIntent() 254 MediaSource mediaSource = mSourceViewModel.getPrimaryMediaSource().getValue(); in updateModel() local 256 if (mediaSource != null) { in updateModel() 259 + mediaSource.getDisplayName(mContext)); in updateModel() 261 mAppName = mediaSource.getDisplayName(mContext); in updateModel() 262 mAppIcon = mediaSource.getIcon(); in updateModel() 357 MediaSource mediaSource = mSourceViewModel.getPrimaryMediaSource().getValue(); 358 if (mediaSource == null && (mAppName != null || mAppIcon != null)) { 364 if (mediaSource != null && (mAppName != mediaSource.getDisplayName(mContext) [all …]
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/ |
D | DataServiceImplTest.kt | 186 Provider(authority = "local_authority", mediaSource = MediaSource.LOCAL, uid = 0), in <lambda>() 187 Provider(authority = "cloud_authority", mediaSource = MediaSource.REMOTE, uid = 0), in <lambda>() 236 Provider(authority = "local_authority", mediaSource = MediaSource.LOCAL, uid = 0), in <lambda>() 237 Provider(authority = "cloud_authority", mediaSource = MediaSource.REMOTE, uid = 0), in <lambda>() 294 Provider(authority = "local_authority", mediaSource = MediaSource.LOCAL, uid = 0), in <lambda>() 295 Provider(authority = "cloud_authority", mediaSource = MediaSource.REMOTE, uid = 0), in <lambda>() 388 Provider(authority = "local_authority", mediaSource = MediaSource.LOCAL, uid = 0), in <lambda>() 389 Provider(authority = "cloud_authority", mediaSource = MediaSource.REMOTE, uid = 0), in <lambda>() 463 Provider(authority = "local_authority", mediaSource = MediaSource.LOCAL, uid = 0), in <lambda>() 464 Provider(authority = "cloud_authority", mediaSource = MediaSource.REMOTE, uid = 0), in <lambda>() [all …]
|
D | TestMediaProvider.kt | 43 mediaSource = MediaSource.LOCAL, in <lambda>() 73 mediaSource = MediaSource.LOCAL, in <lambda>() 154 provider.mediaSource.name, in getAvailableProviders() 185 mediaItem.mediaSource.toString(), in getMedia()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/model/ |
D | Media.kt | 35 val mediaSource: MediaSource constant 53 return when (mediaSource) { in getDataSource() 73 out.writeString(mediaSource.toString()) in writeToParcel() 87 override val mediaSource: MediaSource, constant in com.android.photopicker.data.model.Media.Image 132 override val mediaSource: MediaSource, constant in com.android.photopicker.data.model.Media.Video
|
D | Provider.kt | 29 val mediaSource: MediaSource, constant in com.android.photopicker.data.model.Provider
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/paging/ |
D | MediaProviderClientTest.kt | 88 Provider(authority = "local_authority", mediaSource = MediaSource.LOCAL, uid = 0), in <lambda>() 89 Provider(authority = "cloud_authority", mediaSource = MediaSource.REMOTE, uid = 1), in <lambda>() 92 mediaSource = MediaSource.LOCAL, in <lambda>() 121 Provider(authority = "local_authority", mediaSource = MediaSource.LOCAL, uid = 0), in testRefreshLocalOnlyMedia() 124 mediaSource = MediaSource.LOCAL, in testRefreshLocalOnlyMedia() 160 Provider(authority = "local_authority", mediaSource = MediaSource.LOCAL, uid = 0), in <lambda>() 163 mediaSource = MediaSource.LOCAL, in <lambda>()
|
D | FakeInMemoryMediaPagingSource.kt | 50 mediaSource = MediaSource.LOCAL, in <lambda>()
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/ |
D | MediaProviderClient.kt | 305 providers.all { provider -> (provider.mediaSource == MediaSource.LOCAL) } in <lambda>() 327 mediaSource = in <lambda>() 360 val mediaSource: MediaSource = in <lambda>() constant 381 mediaSource = mediaSource, in <lambda>() 396 mediaSource = mediaSource, in <lambda>()
|
D | DataServiceImpl.kt | 220 providers.filter { it.mediaSource != MediaSource.REMOTE } in <lambda>()
|
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/actuators/ |
D | MediaActuator.java | 183 MediaSource mediaSource = mAvailableMediaSources.get(source.toLowerCase()); in playSongOnSource() local 184 if (mediaSource == null) { in playSongOnSource() 198 if (!executePlaybackAction(controller, mediaSource, in playSongOnSource() 203 mediaSource.getDisplayName(mContext)); in playSongOnSource() 219 Log.d(TAG, "playSongOnSource(): connecting to: " + mediaSource); in playSongOnSource() 220 mediaBrowserConnector.connectTo(mediaSource); in playSongOnSource()
|
/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() 92 Intent intent = mediaSource != null ? mediaSource.getIntent() : null; in ControlBarMediaController() 187 protected void updateMediaSource(MediaSource mediaSource) { in updateMediaSource() argument 188 super.updateMediaSource(mediaSource); in updateMediaSource()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/model/ |
D | MediaParcelableTest.kt | 41 mediaSource = MediaSource.LOCAL, in testMediaImageIsParcelable() 86 mediaSource = MediaSource.LOCAL, in testMediaVideoIsParcelable()
|
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/audio/media/ |
D | MediaCardController.java | 122 MediaSource mediaSource = mDataModel.getMediaSource().getValue(); in MediaCardController() 123 Intent intent = mediaSource != null ? mediaSource.getIntent() : null; in MediaCardController() 242 protected void updateMediaSource(MediaSource mediaSource) { in updateMediaSource() argument 243 super.updateMediaSource(mediaSource); in updateMediaSource()
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | ICarMedia.aidl | 32 void setMediaSource(in ComponentName mediaSource, int mode, int userId); in setMediaSource() argument
|
/packages/services/Car/service/src/com/android/car/ |
D | CarMediaService.java | 1203 ComponentName mediaSource = getMediaSource(mMediaController.getPackageName(), in onPlaybackStateChanged() local 1205 if (mediaSource != null && Slogf.isLoggable(TAG, Log.INFO)) { in onPlaybackStateChanged() 1207 if (!mediaSource.equals(getPrimaryMediaComponentsForUserLocked(mUserId) in onPlaybackStateChanged() 1210 + "change: %s", mUserId, mediaSource.flattenToString()); in onPlaybackStateChanged() 1214 setPrimaryMediaSource(mediaSource, MEDIA_SOURCE_MODE_PLAYBACK, mUserId); in onPlaybackStateChanged() 1416 ComponentName mediaSource = in updatePrimaryMediaSourceWithCurrentlyPlaying() local 1419 if (mediaSource != null) { in updatePrimaryMediaSourceWithCurrentlyPlaying() 1422 + "to: %s", userId, mediaSource.flattenToString()); in updatePrimaryMediaSourceWithCurrentlyPlaying() 1432 setPrimaryMediaSource(mediaSource, MEDIA_SOURCE_MODE_PLAYBACK, userId); in updatePrimaryMediaSourceWithCurrentlyPlaying()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/utils/ |
D | StubProvider.kt | 54 mediaSource = MediaSource.LOCAL, in getTestMediaFromStubProvider()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/ |
D | MpegTsPlayerV2.java | 228 public void prepare(TsDataSource dataSource, MediaSource mediaSource) { in prepare() argument 230 mPlayer.prepare(mediaSource, false, false); in prepare()
|
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/ |
D | ZappingTimeTestExoV2.java | 238 MediaSource mediaSource = new MpegTsMediaSource(extractor); in handleMessageStartPlayback() local 239 mPlayer.prepare(source, mediaSource); in handleMessageStartPlayback()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/photogrid/ |
D | PhotoGridViewModelTest.kt | 52 mediaSource = MediaSource.LOCAL,
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/albumgrid/ |
D | AlbumGridViewModelTest.kt | 52 mediaSource = MediaSource.LOCAL,
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/preview/ |
D | PreviewViewModelTest.kt | 118 mediaSource = MediaSource.LOCAL, 148 mediaSource = MediaSource.LOCAL,
|
D | PreviewFeatureTest.kt | 173 mediaSource = MediaSource.LOCAL, 203 mediaSource = MediaSource.LOCAL,
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/cloudmedia/ |
D | MediaPreloaderViewModel.kt | 201 for (item in selection.filter { it.mediaSource == MediaSource.REMOTE }) { in startPreload()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/profileselector/ |
D | ProfileSelectorViewModelTest.kt | 93 mediaSource = MediaSource.LOCAL,
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/selectionbar/ |
D | SelectionBarFeatureTest.kt | 132 mediaSource = MediaSource.LOCAL,
|