Home
last modified time | relevance | path

Searched refs:EXTERNAL_CONTENT_URI (Results 1 – 25 of 49) sorted by relevance

12

/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java419 Images.Media.EXTERNAL_CONTENT_URI, ident.id); in getUriForDocumentId()
422 Video.Media.EXTERNAL_CONTENT_URI, ident.id); in getUriForDocumentId()
425 Audio.Media.EXTERNAL_CONTENT_URI, ident.id); in getUriForDocumentId()
428 Files.EXTERNAL_CONTENT_URI, ident.id); in getUriForDocumentId()
489 query = Images.Media.EXTERNAL_CONTENT_URI; in getDocumentMetadataFromIndex()
494 query = Video.Media.EXTERNAL_CONTENT_URI; in getDocumentMetadataFromIndex()
499 query = Audio.Media.EXTERNAL_CONTENT_URI; in getDocumentMetadataFromIndex()
618 cursor = resolver.query(Images.Media.EXTERNAL_CONTENT_URI, in queryDocument()
621 result.setNotificationUri(resolver, Images.Media.EXTERNAL_CONTENT_URI); in queryDocument()
627 cursor = resolver.query(Images.Media.EXTERNAL_CONTENT_URI, in queryDocument()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DModernMediaScannerTest.java558 assertQueryCount(1, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter()
560 assertQueryCount(1, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter()
562 assertQueryCount(1, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter()
566 assertQueryCount(1, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter()
570 assertQueryCount(0, MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI in testFilter()
574 assertQueryCount(0, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter()
576 assertQueryCount(0, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter()
590 .query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, null, null, null, null)) { in testScan_Common()
593 uri = ContentUris.withAppendedId(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, in testScan_Common()
611 .query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, null, null, null, null)) { in testScan_Common()
[all …]
DMediaScannerTest.java174 MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in testCorrectness()
175 MediaStore.Video.Media.EXTERNAL_CONTENT_URI, in testCorrectness()
176 MediaStore.Images.Media.EXTERNAL_CONTENT_URI, in testCorrectness()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DAudioStore.java65 mContentResolver.registerContentObserver(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in AudioStore()
82 Uri contentUri = MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI; in load()
106 Uri contentUri = MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI; in load()
140 Uri contentUri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI; in load()
187 Uri contentUri = MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI; in load()
211 Uri contentUri = MediaStore.Audio.Genres.EXTERNAL_CONTENT_URI; in load()
243 Uri contentUri = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI; in loadData()
288 Uri contentUri = MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI; in loadData()
317 Uri contentUri = MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI; in loadData()
362 Uri contentUri = MediaStore.Audio.Genres.EXTERNAL_CONTENT_URI; in loadData()
[all …]
DVideoStore.java76 mContentResolver.registerContentObserver(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, in VideoStore()
103 Uri contentUri = MediaStore.Video.Media.EXTERNAL_CONTENT_URI; in load()
227 Uri contentUri = MediaStore.Video.Media.EXTERNAL_CONTENT_URI; in loadData()
281 return ContentUris.withAppendedId(MediaStore.Video.Media.EXTERNAL_CONTENT_URI, id) in getThumbnailUri()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DSecureAlbum.java49 {Images.Media.EXTERNAL_CONTENT_URI, Video.Media.EXTERNAL_CONTENT_URI};
62 mShowUnlockItem = (!isCameraBucketEmpty(Images.Media.EXTERNAL_CONTENT_URI) in SecureAlbum()
63 || !isCameraBucketEmpty(Video.Media.EXTERNAL_CONTENT_URI)); in SecureAlbum()
170 Images.Media.EXTERNAL_CONTENT_URI, mMinImageId, mMaxImageId); in updateExistingItems()
172 Video.Media.EXTERNAL_CONTENT_URI, mMinVideoId, mMaxVideoId); in updateExistingItems()
DLocalAlbum.java74 mBaseUri = Images.Media.EXTERNAL_CONTENT_URI; in LocalAlbum()
81 mBaseUri = Video.Media.EXTERNAL_CONTENT_URI; in LocalAlbum()
104 return MediaStore.Images.Media.EXTERNAL_CONTENT_URI.buildUpon() in getContentUri()
108 return MediaStore.Video.Media.EXTERNAL_CONTENT_URI.buildUpon() in getContentUri()
175 baseUri = Images.Media.EXTERNAL_CONTENT_URI; in getMediaItemById()
179 baseUri = Video.Media.EXTERNAL_CONTENT_URI; in getMediaItemById()
DBucketHelper.java114 jc, resolver, Images.Media.EXTERNAL_CONTENT_URI, buckets); in loadBucketEntriesFromImagesAndVideoTable()
118 jc, resolver, Video.Media.EXTERNAL_CONTENT_URI, buckets); in loadBucketEntriesFromImagesAndVideoTable()
195 resolver, Images.Media.EXTERNAL_CONTENT_URI, bucketId); in getBucketName()
198 resolver, Video.Media.EXTERNAL_CONTENT_URI, bucketId); in getBucketName()
DLocalImage.java117 Uri uri = Images.Media.EXTERNAL_CONTENT_URI; in LocalImage()
268 Uri baseUri = Images.Media.EXTERNAL_CONTENT_URI; in delete()
278 Uri baseUri = Images.Media.EXTERNAL_CONTENT_URI; in rotate()
310 Uri baseUri = Images.Media.EXTERNAL_CONTENT_URI; in getContentUri()
DLocalVideo.java85 Uri uri = Video.Media.EXTERNAL_CONTENT_URI; in LocalVideo()
191 Uri baseUri = Video.Media.EXTERNAL_CONTENT_URI; in delete()
203 Uri baseUri = Video.Media.EXTERNAL_CONTENT_URI; in getContentUri()
DLocalAlbumSet.java48 {Images.Media.EXTERNAL_CONTENT_URI, Video.Media.EXTERNAL_CONTENT_URI};
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DAudioPlayerActivity.java53 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in start()
63 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI, in start()
74 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI, in start()
85 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Genres.EXTERNAL_CONTENT_URI, in start()
96 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, in start()
107 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, in start()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java930 return context.getContentResolver().openTypedAssetFileDescriptor(Files.EXTERNAL_CONTENT_URI, in getOriginalMediaFormatFileDescriptor()
1701 public static final Uri EXTERNAL_CONTENT_URI = getContentUri(VOLUME_EXTERNAL); field in MediaStore.Files
2036 public static final Uri EXTERNAL_CONTENT_URI = field in MediaStore.Downloads
2379 final Uri uri = cr.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); in insertImage()
2431 public static final Uri EXTERNAL_CONTENT_URI = field in MediaStore.Images.Media
2487 return cr.query(EXTERNAL_CONTENT_URI, projection, in queryMiniThumbnail()
2508 Images.Media.EXTERNAL_CONTENT_URI, origId); in cancelThumbnailRequest()
2535 Images.Media.EXTERNAL_CONTENT_URI, imageId); in getThumbnail()
2605 public static final Uri EXTERNAL_CONTENT_URI = field in MediaStore.Images.Thumbnails
3014 public static final Uri EXTERNAL_CONTENT_URI = field in MediaStore.Audio.Media
[all …]
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DPublicVolumeTest.java90 try (Cursor c = contentResolver.query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, in testIncludeRecentlyUnmountedVolumes()
98 try (Cursor c = contentResolver.query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, in testIncludeRecentlyUnmountedVolumes()
106 try (Cursor c = contentResolver.query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, in testIncludeRecentlyUnmountedVolumes()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoader.java89 result.imagesSize = getFilesSize(info.id, MediaStore.Images.Media.EXTERNAL_CONTENT_URI, in getStorageResultsForUsers()
91 result.videosSize = getFilesSize(info.id, MediaStore.Video.Media.EXTERNAL_CONTENT_URI, in getStorageResultsForUsers()
93 result.audioSize = getFilesSize(info.id, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in getStorageResultsForUsers()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DImageCategory.java79 MediaStore.Images.Media.EXTERNAL_CONTENT_URI, in getThumbnail()
89 … Uri.parse(MediaStore.Images.Media.EXTERNAL_CONTENT_URI + "/" + cursor.getString(0))); in getThumbnail()
/packages/providers/MediaProvider/apex/framework/api/
Dcurrent.txt105 field public static final android.net.Uri EXTERNAL_CONTENT_URI;
122 field public static final android.net.Uri EXTERNAL_CONTENT_URI;
160 field public static final android.net.Uri EXTERNAL_CONTENT_URI;
185 field public static final android.net.Uri EXTERNAL_CONTENT_URI;
197 field @Deprecated public static final android.net.Uri EXTERNAL_CONTENT_URI;
233 field @NonNull public static final android.net.Uri EXTERNAL_CONTENT_URI;
285 field public static final android.net.Uri EXTERNAL_CONTENT_URI;
302 field @Deprecated public static final android.net.Uri EXTERNAL_CONTENT_URI;
373 field public static final android.net.Uri EXTERNAL_CONTENT_URI;
387 field @Deprecated public static final android.net.Uri EXTERNAL_CONTENT_URI;
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DDataModel.java50 MediaStore.Audio.Media.EXTERNAL_CONTENT_URI
55 MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI
60 MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI
65 MediaStore.Audio.Genres.EXTERNAL_CONTENT_URI
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/
DPhotoPickerActivity.java75 MediaStore.Images.Media.EXTERNAL_CONTENT_URI, in onCreate()
89 MediaStore.Images.Media.EXTERNAL_CONTENT_URI, in respondPhoto()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DMyPhotosViewHolder.java82 MediaStore.Images.Media.EXTERNAL_CONTENT_URI, in fetchThumbnail()
92 … MediaStore.Images.Media.EXTERNAL_CONTENT_URI + "/" + cursor.getString(0))); in fetchThumbnail()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DResolvePlaylistTest.java224 final Uri playlistUri = MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI; in testPlaylistDeletion()
258 final Uri playlistUri = MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI; in testPlaylistMembersDeletion()
267 MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, null); in testPlaylistMembersDeletion()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DDatabaseUtilsTest.java209 final Uri uri = MediaStore.Images.Media.EXTERNAL_CONTENT_URI.buildUpon() in testRecoverAbusiveLimit_Uri()
218 final Uri uri = MediaStore.Images.Media.EXTERNAL_CONTENT_URI; in testRecoverAbusiveLimit_Args()
227 final Uri uri = MediaStore.Images.Media.EXTERNAL_CONTENT_URI.buildUpon() in testRecoverAbusiveLimit_Both()
/packages/apps/Gallery/src/com/android/camera/
DImageManager.java59 private static final Uri STORAGE_URI = Images.Media.EXTERNAL_CONTENT_URI;
61 = Images.Thumbnails.EXTERNAL_CONTENT_URI;
358 MediaStore.Images.Media.EXTERNAL_CONTENT_URI.toString()) in isSingleImageMode()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DLocalSource.java72 : MediaStore.Images.Media.EXTERNAL_CONTENT_URI; in findAlbums()
190 : MediaStore.Images.Media.EXTERNAL_CONTENT_URI; in findImages()
/packages/apps/LegacyCamera/src/com/android/camera/
DThumbnail.java196 Uri baseUri = Images.Media.EXTERNAL_CONTENT_URI; in getLastImageThumbnail()
222 Uri baseUri = Video.Media.EXTERNAL_CONTENT_URI; in getLastVideoThumbnail()

12