/packages/providers/MediaProvider/apex/framework/java/android/provider/ |
D | MediaStore.java | 1701 public static final Uri EXTERNAL_CONTENT_URI = getContentUri(VOLUME_EXTERNAL); 1710 public static Uri getContentUri(String volumeName) { in getContentUri() method in MediaStore.Files 1722 public static final Uri getContentUri(String volumeName, in getContentUri() method in MediaStore.Files 1724 return ContentUris.withAppendedId(getContentUri(volumeName), rowId); in getContentUri() 1730 return MediaStore.Files.getContentUri(volumeName); in getMtpObjectsUri() 1736 return MediaStore.Files.getContentUri(volumeName, fileId); in getMtpObjectsUri() 1742 return MediaStore.Files.getContentUri(volumeName, fileId); in getMtpReferencesUri() 1755 return getContentUri(getVolumeName(new File(path))); in getContentUriForPath() 2029 getContentUri("internal"); 2037 getContentUri("external"); [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaProviderTest.java | 301 MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY, 42)); in testCreateRequest() 317 MediaStore.Audio.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), values); in testCheckUriPermission() 393 .getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBulkInsert() 509 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_Simple() 520 final Uri uri = MediaStore.Files.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_withUserId() 538 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_Primary() 546 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_Secondary() 553 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_InvalidNames() 567 … buildFile(MediaStore.Audio.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), in testBuildData_InvalidTypes() 573 … buildFile(MediaStore.Video.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), in testBuildData_InvalidTypes() [all …]
|
D | ResolvePlaylistTest.java | 115 MediaStore.Files.getContentUri(MediaStore.VOLUME_EXTERNAL), in doPlaylist() 124 .getContentUri(MediaStore.VOLUME_EXTERNAL, playlistId); in doPlaylist() 194 MediaStore.Files.getContentUri(MediaStore.VOLUME_EXTERNAL), in testBrokenPlaylistM3u() 203 .getContentUri(MediaStore.VOLUME_EXTERNAL, playlistId); in testBrokenPlaylistM3u() 239 .getContentUri(MediaStore.VOLUME_EXTERNAL, playlistId); in testPlaylistDeletion() 273 .getContentUri(MediaStore.VOLUME_EXTERNAL, playlistId); in testPlaylistMembersDeletion()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | SimPhonebookProviderTest.java | 240 Uri contentAdn = SimRecords.getContentUri(1, EF_ADN); in query_adnRecords_returnsCursorWithMatchingProjection() 282 try (Cursor cursor = mResolver.query(SimRecords.getContentUri(1, EF_ADN), null, null, in query_adnRecords_noRecords_returnsEmptyCursor() 298 try (Cursor adnCursor = mResolver.query(SimRecords.getContentUri(1, EF_ADN), null, null, in query_simRecords_nullRecordList_returnsEmptyCursor() 300 Cursor fdnCursor = mResolver.query(SimRecords.getContentUri(1, EF_FDN), null, null, in query_simRecords_nullRecordList_returnsEmptyCursor() 302 Cursor sdnCursor = mResolver.query(SimRecords.getContentUri(1, EF_SDN), null, null, in query_simRecords_nullRecordList_returnsEmptyCursor() 327 try (Cursor adnCursor = mResolver.query(SimRecords.getContentUri(1, EF_ADN), in query_simRecords_singleSim_returnsDataForCorrectEf() 329 Cursor fdnCursor = mResolver.query(SimRecords.getContentUri(1, EF_FDN), in query_simRecords_singleSim_returnsDataForCorrectEf() 331 Cursor sdnCursor = mResolver.query(SimRecords.getContentUri(1, EF_SDN), in query_simRecords_singleSim_returnsDataForCorrectEf() 368 try (Cursor cursorSim1 = mResolver.query(SimRecords.getContentUri(1, EF_ADN), in query_adnRecords_returnsAdnData() 370 Cursor cursorSim2 = mResolver.query(SimRecords.getContentUri(2, EF_ADN), in query_adnRecords_returnsAdnData() [all …]
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/provider/ |
D | OmdbApi.java | 70 JSONObject root = (JSONObject) getContent(getContentUri(movie)); in populateMovie() 84 JSONObject root = (JSONObject) getContent(getContentUri(series)); in populateSeries() 97 JSONObject root = (JSONObject) getContent(getContentUri(episode)); in populateEpisode() 106 private static @NonNull Uri getContentUri(@NonNull Movie movie) { in getContentUri() method in OmdbApi 107 Uri.Builder ub = getContentUri(movie.getTitle()); in getContentUri() 115 private static @NonNull Uri getContentUri(@NonNull Series series) { in getContentUri() method in OmdbApi 116 Uri.Builder ub = getContentUri(series.getTitle()); in getContentUri() 124 private static @NonNull Uri getContentUri(@NonNull Episode episode) { in getContentUri() method in OmdbApi 126 Uri.Builder ub = getContentUri(series.getTitle()); in getContentUri() 136 private static @NonNull Uri.Builder getContentUri(@NonNull String title) { in getContentUri() method in OmdbApi
|
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | ClientPlaylistTest.java | 75 .getContentUri(VOLUME_EXTERNAL_PRIMARY); 77 .getContentUri(VOLUME_EXTERNAL_PRIMARY); 133 .getContentUri(VOLUME_EXTERNAL_PRIMARY, ContentUris.parseId(playlistUri)); in testAdd() 166 MediaStore.Audio.Playlists.getContentUri(VOLUME_EXTERNAL), playlistId); in testMove() 168 final Uri membersUri = Playlists.Members.getContentUri(VOLUME_EXTERNAL_PRIMARY, playlistId); in testMove() 221 final Uri membersUri = Playlists.Members.getContentUri(VOLUME_EXTERNAL_PRIMARY, playlistId); in testRemove() 224 MediaStore.Audio.Playlists.getContentUri(VOLUME_EXTERNAL_PRIMARY), playlistId); in testRemove() 261 .getContentUri(VOLUME_EXTERNAL_PRIMARY, ContentUris.parseId(playlist)); in testVolumeName() 299 .getContentUri(VOLUME_EXTERNAL_PRIMARY); in createPlaylist() 308 .getContentUri(VOLUME_EXTERNAL_PRIMARY, ContentUris.parseId(playlist)); in createPlaylist() [all …]
|
D | LegacyProviderMigrationTest.java | 115 mExternalAudio = MediaStore.Audio.Media.getContentUri(mVolumeName); in setUp() 116 mExternalVideo = MediaStore.Video.Media.getContentUri(mVolumeName); in setUp() 117 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 118 mExternalDownloads = MediaStore.Downloads.getContentUri(mVolumeName); in setUp() 120 Uri playlists = MediaStore.Audio.Playlists.getContentUri(mVolumeName); in setUp() 135 .getStorageVolume(MediaStore.Files.getContentUri(mVolumeName)).getDirectory(); in generateValues() 290 MediaStore.Audio.Playlists.Members.getContentUri(mVolumeName, playlistId) in testLegacy_PlaylistMap() 327 .getStorageVolume(MediaStore.Files.getContentUri(mVolumeName)).getDirectory(), in testLegacy_PlaylistMap() 346 Uri playlists = MediaStore.Audio.Playlists.getContentUri(mVolumeName); in testLegacy_PlaylistMap() 364 Uri members = MediaStore.Audio.Playlists.Members.getContentUri( in testLegacy_PlaylistMap() [all …]
|
D | PlaylistPerformanceTest.java | 54 .getContentUri(VOLUME_EXTERNAL_PRIMARY); 56 .getContentUri(VOLUME_EXTERNAL_PRIMARY); 89 .getContentUri(VOLUME_EXTERNAL_PRIMARY, ContentUris.parseId(playlistUri)); in testBulkInsertPlaylistMembers() 110 .getContentUri(VOLUME_EXTERNAL_PRIMARY, ContentUris.parseId(playlistUri)); in testDeletePlaylistMembers()
|
D | PublicVolumePlaylistTest.java | 80 .getContentUri(VOLUME_EXTERNAL_PRIMARY); in testEjectedVolume() 86 .getContentUri(VOLUME_EXTERNAL, ContentUris.parseId(playlist)); in testEjectedVolume() 97 MediaStore.Audio.Media.getContentUri(volumeName), values); in testEjectedVolume()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | DraftMessageData.java | 322 if (existingAttachment.getContentUri().equals(contentUri)) { in containsAttachment() 328 if (pendingAttachment.getContentUri().equals(contentUri)) { in containsAttachment() 344 if (existingAttachment.getContentUri().equals(attachment.getContentUri())) { in addOneAttachmentNoNotify() 422 if (reachedLimit || containsAttachment(pendingAttachment.getContentUri())) { in addOnePendingAttachmentNoNotify() 480 if (existingAttachment.getContentUri().equals(attachment.getContentUri())) { in removeAttachment() 508 if (existingAttachment.getContentUri().equals(pendingAttachment.getContentUri())) { in removePendingAttachment() 520 if (existingAttachment.getContentUri().equals(pendingAttachment.getContentUri())) { in updatePendingAttachment()
|
/packages/apps/Gallery2/src/com/android/gallery3d/gadget/ |
D | MediaSetSource.java | 70 public Uri getContentUri(int index) { in getContentUri() method in MediaSetSource 71 return mSource.getContentUri(index); in getContentUri() 162 public synchronized Uri getContentUri(int index) { in getContentUri() method in MediaSetSource.CheckedMediaSetSource 165 return mCache[index - mCacheStart].getContentUri(); in getContentUri() 220 public Uri getContentUri(int index) { in getContentUri() method in MediaSetSource.EmptySource
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | AlarmInstance.kt | 130 get() = getContentUri(mId) 321 return Intent(action).setData(getContentUri(instanceId)) in createIntent() 326 return Intent(context, cls).setData(getContentUri(instanceId)) in createIntent() 337 fun getContentUri(instanceId: Long): Uri { in getContentUri() method 351 cr.query(getContentUri(instanceId), QUERY_COLUMNS, null, null, null) in getInstance() 500 contentResolver.update(getContentUri(instance.mId), values, null, null).toLong() in updateInstance() 507 val deletedRows: Int = contentResolver.delete(getContentUri(instanceId), "", null) in deleteInstance()
|
D | Alarm.kt | 130 get() = getContentUri(id) 344 return Intent(context, cls).setData(getContentUri(alarmId)) in createIntent() 347 fun getContentUri(alarmId: Long): Uri { in getContentUri() method 398 val cursor: Cursor? = cr.query(getContentUri(alarmId), QUERY_COLUMNS, null, null, null) in getAlarm() 465 contentResolver.update(getContentUri(alarm.id), values, null, null).toLong() in updateAlarm() 472 val deletedRows: Int = contentResolver.delete(getContentUri(alarmId), "", null) in deleteAlarm()
|
/packages/providers/MediaProvider/apex/framework/api/ |
D | current.txt | 101 method public static android.net.Uri getContentUri(String); 118 method public static android.net.Uri getContentUri(String); 128 method public static android.net.Uri getContentUri(String, long); 155 method public static android.net.Uri getContentUri(String); 166 method public static android.net.Uri getContentUri(String, long); 179 method public static android.net.Uri getContentUri(String); 180 method @NonNull public static android.net.Uri getContentUri(@NonNull String, long); 193 method @Deprecated public static android.net.Uri getContentUri(String); 203 method @Deprecated public static android.net.Uri getContentUri(String, long); 230 method @NonNull public static android.net.Uri getContentUri(@NonNull String); [all …]
|
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/ |
D | ImageResolver.java | 90 img.getContentUri(), width, height)); in getBitmap() 97 Log.e(TAG, "The provided image has no aspect ratio: " + img.getContentUri()); in getBitmap() 101 Uri uri = Uri.parse(img.getContentUri()); in getBitmap() 117 img.getContentUri(), width, height)); in getBitmap()
|
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/ |
D | ImageResolver.java | 75 img.getContentUri(), width, height)); in getBitmap() 82 Log.e(TAG, "The provided image has no aspect ratio: " + img.getContentUri()); in getBitmap() 86 Uri uri = Uri.parse(img.getContentUri()); in getBitmap() 102 img.getContentUri(), width, height)); in getBitmap()
|
/packages/providers/MediaProvider/tools/dialogs/src/com/android/providers/media/tools/dialogs/ |
D | DialogsActivity.java | 118 MediaStore.Files.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), in doInBackground() 126 .getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY, id)); in doInBackground() 130 .getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY, id)); in doInBackground() 134 .getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY, id)); in doInBackground()
|
/packages/apps/Dialer/java/com/android/dialer/searchfragment/nearbyplaces/ |
D | NearbyPlacesCursorLoader.java | 43 super(context, getContentUri(context, query), Projections.DATA_PROJECTION, null, null, null); in NearbyPlacesCursorLoader() 56 private static Uri getContentUri(Context context, String query) { in getContentUri() method in NearbyPlacesCursorLoader 58 .getContentUri() in getContentUri()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | BindWidgetTest.java | 132 mCursor = mResolver.query(LauncherSettings.Favorites.getContentUri(item.id), in testUnboundWidget_removed() 166 mCursor = mResolver.query(LauncherSettings.Favorites.getContentUri(item.id), in testPendingWidget_withConfigScreen() 209 mCursor = mResolver.query(LauncherSettings.Favorites.getContentUri(item.id), in testPendingWidget_notRestored_removed() 227 mCursor = mResolver.query(LauncherSettings.Favorites.getContentUri(item.id), in testPendingWidget_notRestored_brokenInstall() 255 mCursor = mResolver.query(LauncherSettings.Favorites.getContentUri(item.id), in testPendingWidget_notRestored_activeInstall()
|
/packages/apps/Dialer/java/com/android/dialer/blocking/ |
D | FilteredNumberAsyncQueryHandler.java | 104 FilteredNumberCompat.getContentUri(context, null), in hasBlockedNumbers() 186 FilteredNumberCompat.getContentUri(context, null), in isBlockedNumber() 229 FilteredNumberCompat.getContentUri(context, null), in getBlockedIdSynchronous() 314 FilteredNumberCompat.getContentUri(context, null), in blockNumber() 329 unblock(listener, FilteredNumberCompat.getContentUri(context, id)); in unblock()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 672 Uri fileUri = MediaStore.Files.getContentUri(volumeName, id); 687 final Uri fileUri = MediaStore.Files.getContentUri(volumeName, oldId); 739 invalidateThumbnails(MediaStore.Files.getContentUri(volumeName, id)); 786 consumer.accept(MediaStore.Audio.Media.getContentUri(volumeName, id)); in acceptWithExpansion() 790 consumer.accept(Audio.Genres.getContentUri(volumeName)); in acceptWithExpansion() 791 consumer.accept(Audio.Playlists.getContentUri(volumeName)); in acceptWithExpansion() 792 consumer.accept(Audio.Artists.getContentUri(volumeName)); in acceptWithExpansion() 793 consumer.accept(Audio.Albums.getContentUri(volumeName)); in acceptWithExpansion() 797 consumer.accept(MediaStore.Video.Media.getContentUri(volumeName, id)); in acceptWithExpansion() 801 consumer.accept(MediaStore.Images.Media.getContentUri(volumeName, id)); in acceptWithExpansion() [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | MediaScannerTest.java | 261 getCount(context, MediaStore.Files.getContentUri(VOLUME_EXTERNAL)), in getCounts() 262 getCount(context, MediaStore.Audio.Media.getContentUri(VOLUME_EXTERNAL)), in getCounts() 263 getCount(context, MediaStore.Video.Media.getContentUri(VOLUME_EXTERNAL)), in getCounts() 264 getCount(context, MediaStore.Images.Media.getContentUri(VOLUME_EXTERNAL)), in getCounts()
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | PhotoPage.java | 359 Uri contentUri = mCurrentPhoto.getContentUri(); in onCreate() 610 .showPanorama(mCurrentPhoto.getContentUri()); in onBottomControlClicked() 644 .putExtra(Intent.EXTRA_STREAM, mediaObject.getContentUri()) in createShareIntent() 665 intent.setDataAndType(current.getContentUri(), current.getMimeType()) in launchTinyPlanet() 687 intent.setDataAndType(current.getContentUri(), current.getMimeType()) in launchPhotoEditor() 709 intent.setDataAndType(current.getContentUri(), current.getMimeType()) in launchSimpleEditor() 1049 intent.setDataAndType(manager.getContentUri(path), current.getMimeType()) in onItemSelected() 1058 intent.setData(manager.getContentUri(path)); in onItemSelected() 1066 manager.getContentUri(path), mActivity); in onItemSelected() 1087 mActivity.printSelectedImage(manager.getContentUri(path)); in onItemSelected()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | ModelWriter.java | 279 final Uri uri = Favorites.getContentUri(item.id); in deleteItemsFromDatabase() 301 cr.delete(LauncherSettings.Favorites.getContentUri(info.id), null, null); in deleteFolderAndContentsFromDatabase() 380 Uri uri = Favorites.getContentUri(mItemId); in run() 403 final Uri uri = Favorites.getContentUri(itemId); in run()
|
/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/ |
D | AudioStore.java | 421 Uri contentUri = MediaStore.Audio.Artists.Albums.getContentUri("external", artist.getId()); in loadAlbums() 455 Uri contentUri = MediaStore.Audio.Genres.Members.getContentUri("external", genre.getId()); in loadAudios() 481 Uri contentUri = MediaStore.Audio.Playlists.Members.getContentUri( in loadAudios() 538 Uri contentUri = MediaStore.Audio.Playlists.Members.getContentUri( in addToPlaylist() 552 Uri contentUri = MediaStore.Audio.Playlists.Members.getContentUri( in getLastPlayOrder()
|