Home
last modified time | relevance | path

Searched refs:mediaSource (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/audio/
DMediaViewModel.java202 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/
DDataServiceImplTest.kt186 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 …]
DTestMediaProvider.kt43 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/
DMedia.kt35 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
DProvider.kt29 val mediaSource: MediaSource, constant in com.android.photopicker.data.model.Provider
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/paging/
DMediaProviderClientTest.kt88 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>()
DFakeInMemoryMediaPagingSource.kt50 mediaSource = MediaSource.LOCAL, in <lambda>()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/data/
DMediaProviderClient.kt305 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>()
DDataServiceImpl.kt220 providers.filter { it.mediaSource != MediaSource.REMOTE } in <lambda>()
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/actuators/
DMediaActuator.java183 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/
DControlBarMediaController.java91 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/
DMediaParcelableTest.kt41 mediaSource = MediaSource.LOCAL, in testMediaImageIsParcelable()
86 mediaSource = MediaSource.LOCAL, in testMediaVideoIsParcelable()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/audio/media/
DMediaCardController.java122 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/
DICarMedia.aidl32 void setMediaSource(in ComponentName mediaSource, int mode, int userId); in setMediaSource() argument
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java1203 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/
DStubProvider.kt54 mediaSource = MediaSource.LOCAL, in getTestMediaFromStubProvider()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DMpegTsPlayerV2.java228 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/
DZappingTimeTestExoV2.java238 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/
DPhotoGridViewModelTest.kt52 mediaSource = MediaSource.LOCAL,
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/albumgrid/
DAlbumGridViewModelTest.kt52 mediaSource = MediaSource.LOCAL,
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/preview/
DPreviewViewModelTest.kt118 mediaSource = MediaSource.LOCAL,
148 mediaSource = MediaSource.LOCAL,
DPreviewFeatureTest.kt173 mediaSource = MediaSource.LOCAL,
203 mediaSource = MediaSource.LOCAL,
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/cloudmedia/
DMediaPreloaderViewModel.kt201 for (item in selection.filter { it.mediaSource == MediaSource.REMOTE }) { in startPreload()
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/profileselector/
DProfileSelectorViewModelTest.kt93 mediaSource = MediaSource.LOCAL,
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/features/selectionbar/
DSelectionBarFeatureTest.kt132 mediaSource = MediaSource.LOCAL,

12