/packages/providers/MediaProvider/apex/framework/java/android/provider/ |
D | MediaStore.java | 1535 public static final Uri EXTERNAL_CONTENT_URI = getContentUri(VOLUME_EXTERNAL); 1544 public static Uri getContentUri(String volumeName) { in getContentUri() method in MediaStore.Files 1556 public static final Uri getContentUri(String volumeName, in getContentUri() method in MediaStore.Files 1558 return ContentUris.withAppendedId(getContentUri(volumeName), rowId); in getContentUri() 1564 return MediaStore.Files.getContentUri(volumeName); in getMtpObjectsUri() 1570 return MediaStore.Files.getContentUri(volumeName, fileId); in getMtpObjectsUri() 1576 return MediaStore.Files.getContentUri(volumeName, fileId); in getMtpReferencesUri() 1589 return getContentUri(getVolumeName(new File(path))); in getContentUriForPath() 1751 getContentUri("internal"); 1759 getContentUri("external"); [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/src/com/android/providers/media/ |
D | MediaProviderTest.java | 294 MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY, 42)); in testCreateRequest() 310 MediaStore.Audio.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), values); in testCheckUriPermission() 333 .getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBulkInsert() 451 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_Simple() 462 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_Primary() 470 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_Secondary() 477 final Uri uri = MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testBuildData_InvalidNames() 491 … buildFile(MediaStore.Audio.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), in testBuildData_InvalidTypes() 497 … buildFile(MediaStore.Video.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), in testBuildData_InvalidTypes() 503 … buildFile(MediaStore.Images.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), in testBuildData_InvalidTypes() [all …]
|
/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() 343 if (reachedLimit || containsAttachment(attachment.getContentUri())) { in addOneAttachmentNoNotify() 410 if (reachedLimit || containsAttachment(pendingAttachment.getContentUri())) { in addOnePendingAttachmentNoNotify() 468 if (existingAttachment.getContentUri().equals(attachment.getContentUri())) { in removeAttachment() 496 if (existingAttachment.getContentUri().equals(pendingAttachment.getContentUri())) { in removePendingAttachment() 508 if (existingAttachment.getContentUri().equals(pendingAttachment.getContentUri())) { in updatePendingAttachment()
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
D | AlarmInstance.java | 116 return new Intent(action).setData(getContentUri(instanceId)); in createIntent() 120 return new Intent(context, cls).setData(getContentUri(instanceId)); in createIntent() 130 public static Uri getContentUri(long instanceId) { in getContentUri() method in AlarmInstance 142 try (Cursor cursor = cr.query(getContentUri(instanceId), QUERY_COLUMNS, null, null, null)) { in getInstance() 265 long rowsUpdated = contentResolver.update(getContentUri(instance.mId), values, null, null); in updateInstance() 271 int deletedRows = contentResolver.delete(getContentUri(instanceId), "", null); in deleteInstance() 364 public Uri getContentUri() { in getContentUri() method in AlarmInstance 365 return getContentUri(mId); in getContentUri()
|
D | Alarm.java | 137 return new Intent(context, cls).setData(getContentUri(alarmId)); in createIntent() 140 public static Uri getContentUri(long alarmId) { in getContentUri() method in Alarm 191 try (Cursor cursor = cr.query(getContentUri(alarmId), QUERY_COLUMNS, null, null, null)) { 256 long rowsUpdated = contentResolver.update(getContentUri(alarm.id), values, null, null); 262 int deletedRows = contentResolver.delete(getContentUri(alarmId), "", null); 345 public Uri getContentUri() { 346 return getContentUri(id);
|
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | ClientPlaylistTest.java | 70 .getContentUri(VOLUME_EXTERNAL_PRIMARY); 72 .getContentUri(VOLUME_EXTERNAL_PRIMARY); 122 .getContentUri(VOLUME_EXTERNAL_PRIMARY, ContentUris.parseId(playlist)); in testAdd() 148 final Uri members = Playlists.Members.getContentUri(VOLUME_EXTERNAL_PRIMARY, playlistId); in testMove() 184 final Uri members = Playlists.Members.getContentUri(VOLUME_EXTERNAL_PRIMARY, playlistId); in testRemove() 211 .getContentUri(VOLUME_EXTERNAL_PRIMARY, ContentUris.parseId(playlist)); in testVolumeName() 251 .getContentUri(VOLUME_EXTERNAL_PRIMARY, ContentUris.parseId(playlist)); in createPlaylist()
|
D | LegacyProviderMigrationTest.java | 105 mExternalAudio = MediaStore.Audio.Media.getContentUri(mVolumeName); in setUp() 106 mExternalVideo = MediaStore.Video.Media.getContentUri(mVolumeName); in setUp() 107 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 108 mExternalDownloads = MediaStore.Downloads.getContentUri(mVolumeName); in setUp() 115 .getStorageVolume(MediaStore.Files.getContentUri(mVolumeName)).getDirectory(); in generateValues()
|
/packages/providers/MediaProvider/apex/framework/api/ |
D | current.txt | 92 method public static android.net.Uri getContentUri(String); 109 method public static android.net.Uri getContentUri(String); 119 method public static android.net.Uri getContentUri(String, long); 145 method public static android.net.Uri getContentUri(String); 156 method public static android.net.Uri getContentUri(String, long); 169 method public static android.net.Uri getContentUri(String); 170 method @NonNull public static android.net.Uri getContentUri(@NonNull String, long); 183 method public static android.net.Uri getContentUri(String); 193 method public static android.net.Uri getContentUri(String, long); 220 method @NonNull public static android.net.Uri getContentUri(@NonNull String); [all …]
|
/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/Car/Cluster/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/providers/MediaProvider/tools/dialogs/src/com/android/providers/media/tools/dialogs/ |
D | DialogsActivity.java | 110 MediaStore.Files.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), in doInBackground() 118 .getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY, id)); in doInBackground() 122 .getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY, id)); in doInBackground() 126 .getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY, id)); in doInBackground()
|
/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/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/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/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 335 final Uri uri = MediaStore.Files.getContentUri(volumeName); in updateVolumes() 612 Uri fileUri = MediaStore.Files.getContentUri(volumeName, id); 627 final Uri fileUri = MediaStore.Files.getContentUri(volumeName, oldId); 668 invalidateThumbnails(MediaStore.Files.getContentUri(volumeName, id)); 715 consumer.accept(MediaStore.Audio.Media.getContentUri(volumeName, id)); in acceptWithExpansion() 719 consumer.accept(Audio.Genres.getContentUri(volumeName)); in acceptWithExpansion() 720 consumer.accept(Audio.Playlists.getContentUri(volumeName)); in acceptWithExpansion() 721 consumer.accept(Audio.Artists.getContentUri(volumeName)); in acceptWithExpansion() 722 consumer.accept(Audio.Albums.getContentUri(volumeName)); in acceptWithExpansion() 726 consumer.accept(MediaStore.Video.Media.getContentUri(volumeName, id)); in acceptWithExpansion() [all …]
|
/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/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | MediaScannerTest.java | 237 getCount(context, MediaStore.Files.getContentUri(VOLUME_EXTERNAL)), in getCounts() 238 getCount(context, MediaStore.Audio.Media.getContentUri(VOLUME_EXTERNAL)), in getCounts() 239 getCount(context, MediaStore.Video.Media.getContentUri(VOLUME_EXTERNAL)), in getCounts() 240 getCount(context, MediaStore.Images.Media.getContentUri(VOLUME_EXTERNAL)), in getCounts()
|
D | DrmTest.java | 152 MediaStore.Downloads.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), values); in testForwardLock_130680734() 164 final Uri filesUri = MediaStore.Files.getContentUri(MediaStore.getVolumeName(uri), in testForwardLock_130680734() 208 final Uri fileUri = MediaStore.Files.getContentUri(MediaStore.getVolumeName(flUri), in doForwardLock()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | ModelWriter.java | 276 final Uri uri = Favorites.getContentUri(item.id); in deleteItemsFromDatabase() 298 cr.delete(LauncherSettings.Favorites.getContentUri(info.id), null, null); in deleteFolderAndContentsFromDatabase() 377 Uri uri = Favorites.getContentUri(mItemId); in run() 400 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()
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | ModernMediaScanner.java | 313 mFilesUri = MediaStore.Files.getContentUri(mVolumeName); in Scan() 428 final Uri uri = MediaStore.Files.getContentUri(mVolumeName, id).buildUpon() in reconcileAndClean() 446 final Uri playlistsUri = MediaStore.Audio.Playlists.getContentUri(mVolumeName); in resolvePlaylists() 734 final Uri fileUri = MediaStore.Files.getContentUri(mVolumeName, mFirstId); in getFirstResult() 740 return MediaStore.Audio.Media.getContentUri(mVolumeName, mFirstId); in getFirstResult() 742 return MediaStore.Video.Media.getContentUri(mVolumeName, mFirstId); in getFirstResult() 744 return MediaStore.Images.Media.getContentUri(mVolumeName, mFirstId); in getFirstResult() 747 MediaStore.Audio.Playlists.getContentUri(mVolumeName), in getFirstResult() 1138 final Uri uri = MediaStore.Files.getContentUri(volumeName); in newUpsert()
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
D | DeleteFdnContactScreen.java | 122 Uri uri = FdnList.getContentUri(mSubscriptionInfoHelper); in deleteContact() 132 intent.setData(FdnList.getContentUri(mSubscriptionInfoHelper)); in authenticatePin2()
|
D | EditFdnContactScreen.java | 325 Uri uri = FdnList.getContentUri(mSubscriptionInfoHelper); in addContact() 348 Uri uri = FdnList.getContentUri(mSubscriptionInfoHelper); in updateContact() 380 intent.setData(FdnList.getContentUri(mSubscriptionInfoHelper)); in authenticatePin2()
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
D | MediaSetLoader.java | 154 return ms == null ? null : ms.getContentUri(); in uriForItem() 167 result.add(item.getContentUri()); in urisForSubItems()
|