Home
last modified time | relevance | path

Searched refs:mediaStoreUri (Results 1 – 2 of 2) sorted by relevance

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java472 final Uri mediaStoreUri = updateMediaProvider(client, mediaValues); in addMediaStoreUris() local
473 if (mediaStoreUri != null) { in addMediaStoreUris()
476 mediaStoreUri.toString()); in addMediaStoreUris()
903 final Uri mediaStoreUri = updateMediaProvider(client, in insert() local
905 if (mediaStoreUri != null) { in insert()
907 mediaStoreUri.toString()); in insert()
909 mediaStoreUri.toString()); in insert()
962 Uri mediaStoreUri = getMediaStoreUri(mediaProvider, filePath); in updateMediaProvider() local
965 if (mediaStoreUri == null) { in updateMediaProvider()
966 mediaStoreUri = mediaProvider.insert( in updateMediaProvider()
[all …]
DDownloadStorageProvider.java781 final Uri mediaStoreUri = getMediaStoreUri(docId); in renameMediaStoreDownload() local
785 final int count = getContext().getContentResolver().update(mediaStoreUri, values, in renameMediaStoreDownload()
788 throw new IllegalStateException("Failed to update " + mediaStoreUri in renameMediaStoreDownload()
797 final Uri mediaStoreUri = getMediaStoreUri(docId); in getFileForMediaStoreDownload() local
799 try (Cursor cursor = queryForSingleItem(mediaStoreUri, in getFileForMediaStoreDownload()
803 throw new IllegalStateException("Missing _data for " + mediaStoreUri); in getFileForMediaStoreDownload()
814 final Uri mediaStoreUri = ContentUris.withAppendedId( in getRelativePathAndDisplayNameForDownload() local
817 try (Cursor cursor = queryForSingleItem(mediaStoreUri, in getRelativePathAndDisplayNameForDownload()
824 "relative_path and _display_name should not be null for " + mediaStoreUri); in getRelativePathAndDisplayNameForDownload()