/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()
|
D | MessagePartData.java | 287 public final Uri getContentUri() { in getContentUri() method in MessagePartData 519 return getContentType() + " (" + getContentUri() + ")"; in toString()
|
/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/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/Messaging/src/com/android/messaging/datamodel/ |
D | BugleDatabaseOperations.java | 629 uriString = part.getContentUri().toString(); in addSnippetTextAndPreviewToContentValues() 758 uriString = part.getContentUri().toString(); in updateConversationDraftSnippetAndPreviewInTransaction() 1099 !UriUtil.isBugleAppResource(messagePartData.getContentUri())) { in readMessagePartsData() 1104 messagePartData.getContentUri(), "r"); in readMessagePartsData() 1114 LogUtil.d(LogUtil.BUGLE_TAG, "uri: " + messagePartData.getContentUri()); in readMessagePartsData() 1524 currentDraftParts.put(part.getContentUri(), part); in updateDraftMessageData() 1532 currentDraftParts.remove(part.getContentUri()); in updateDraftMessageData()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 310 totalLength += getDataLength(context, part.getContentUri()); in makePduBody() 312 totalLength += getMediaFileSize(part.getContentUri()); in makePduBody() 341 final boolean isGif = ImageUtils.isGif(contentType, part.getContentUri()); in makePduBody() 408 retriever.setDataSource(part.getContentUri()); in getMediaDurationMs() 412 … LogUtil.i(LogUtil.BUGLE_TAG, "Error extracting duration from " + part.getContentUri(), e); in getMediaDurationMs() 452 final Uri imageUri = messagePart.getContentUri(); in addPicturePart() 530 final Uri vcardUri = messagePart.getContentUri(); in addVCardPart() 553 final Uri attachmentUri = messagePart.getContentUri(); in addVideoPart() 570 final Uri attachmentUri = messagePart.getContentUri(); in addOtherPart()
|
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
D | EditFdnContactScreen.java | 298 Uri uri = FdnList.getContentUri(mSubscriptionInfoHelper); in addContact() 321 Uri uri = FdnList.getContentUri(mSubscriptionInfoHelper); in updateContact() 353 intent.setData(FdnList.getContentUri(mSubscriptionInfoHelper)); in authenticatePin2()
|
D | FdnList.java | 68 intent.setData(getContentUri(mSubscriptionInfoHelper)); in resolveIntent() 179 public static Uri getContentUri(SubscriptionInfoHelper subscriptionInfoHelper) { in getContentUri() method in FdnList
|
D | DeleteFdnContactScreen.java | 122 Uri uri = FdnList.getContentUri(mSubscriptionInfoHelper); in deleteContact() 132 intent.setData(FdnList.getContentUri(mSubscriptionInfoHelper)); in authenticatePin2()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 300 Audio.Media.getContentUri(EXTERNAL_VOLUME), null); 302 Images.Media.getContentUri(EXTERNAL_VOLUME), null); 304 Video.Media.getContentUri(EXTERNAL_VOLUME), null); 306 Files.getContentUri(EXTERNAL_VOLUME), null); 2257 Uri newUri = MediaStore.Audio.Media.getContentUri(uri.getPathSegments().get(0)); in uncanonicalize() 3371 Audio.Playlists.Members.getContentUri(EXTERNAL_VOLUME, playlistId), in setObjectReferences() 3383 Uri genresUri = MediaStore.Audio.Genres.getContentUri("external"); in updateGenre() 3460 Images.Media.getContentUri(volumeName), rowId); in insertInternal() 3473 getContentUri(volumeName), rowId); in insertInternal() 3486 getContentUri(volumeName), rowId); in insertInternal() [all …]
|
/packages/apps/FMRadio/src/com/android/fmradio/ |
D | FmRecorder.java | 426 MediaStore.Audio.Playlists.getContentUri("external"), in getPlaylistId() 453 MediaStore.Audio.Playlists.getContentUri("external"), cv); in createPlaylist() 500 Uri uri = MediaStore.Audio.Playlists.Members.getContentUri("external", playlistId); in addToPlaylist()
|
/packages/apps/Music/src/com/android/music/ |
D | TrackBrowserActivity.java | 570 Uri uri = MediaStore.Audio.Playlists.Members.getContentUri("external", in removePlaylistItem() 825 Uri uri = MediaStore.Audio.Playlists.Members.getContentUri("external", in removeItem() 861 Uri baseUri = MediaStore.Audio.Playlists.Members.getContentUri("external", 1020 Uri uri = MediaStore.Audio.Genres.Members.getContentUri("external", 1060 Uri uri = MediaStore.Audio.Playlists.Members.getContentUri("external",
|
/packages/apps/Gallery2/src/com/android/photos/shims/ |
D | MediaItemsLoader.java | 118 row[PhotoSetLoader.INDEX_DATA] = item.getContentUri().toString(); in loadInBackground() 164 return mi == null ? null : mi.getContentUri(); in uriForItem()
|
D | MediaSetLoader.java | 154 return ms == null ? null : ms.getContentUri(); in uriForItem() 167 result.add(item.getContentUri()); in urisForSubItems()
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalMergeAlbum.java | 94 public Uri getContentUri() { in getContentUri() method in LocalMergeAlbum 97 return MediaStore.Files.getContentUri("external").buildUpon() in getContentUri()
|
D | LocalVideo.java | 202 public Uri getContentUri() { in getContentUri() method in LocalVideo 209 return getContentUri(); in getPlayUri()
|
D | DataManager.java | 260 public Uri getContentUri(Path path) { in getContentUri() method in DataManager 261 return getMediaObject(path).getContentUri(); in getContentUri()
|
D | LocalImage.java | 270 SaveImage.deleteAuxFiles(contentResolver, getContentUri()); in delete() 309 public Uri getContentUri() { in getContentUri() method in LocalImage
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
D | SoundRecorder.java | 539 Uri uri = MediaStore.Audio.Playlists.Members.getContentUri("external", playlistId); in addToPlaylist() 554 Uri uri = MediaStore.Audio.Playlists.getContentUri("external"); in getPlaylistId() 579 Uri uri = resolver.insert(MediaStore.Audio.Playlists.getContentUri("external"), cv); in createPlaylist()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
D | Rfc822Output.java | 250 "cached file, falling back to: %s", attachment.getContentUri()); in writeOneAttachment() 256 final Uri fileUri = Uri.parse(attachment.getContentUri()); in writeOneAttachment()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | ConversationFragment.java | 315 saveAttachmentTask.addAttachmentToSave(part.getContentUri(), 394 Intent.EXTRA_STREAM, attachmentToShare.getContentUri()); 1262 displayPhoto(attachment.getContentUri(), imageBounds, false /* isDraft */); in onAttachmentClick() 1266 UIIntents.get().launchVCardDetailActivity(getActivity(), attachment.getContentUri()); in onAttachmentClick()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | ActionModeHandler.java | 330 uris.add(manager.getContentUri(path)); in computePanoramaSharingIntent() 366 uris.add(manager.getContentUri(path)); in computeSharingIntent()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | LauncherModel.java | 339 final Uri uri = LauncherSettings.Favorites.getContentUri(itemId, false); in updateItemInDatabaseHelper() 710 final Uri uriToDelete = LauncherSettings.Favorites.getContentUri(item.id, false); in deleteItemFromDatabase() 763 cr.delete(LauncherSettings.Favorites.getContentUri(info.id, false), null, null); in deleteFolderContentsFromDatabase() 1421 contentResolver.delete(LauncherSettings.Favorites.getContentUri( in loadWorkspace() 1517 client.delete(LauncherSettings.Favorites.getContentUri(id, false), in loadWorkspace()
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ReadWriteDraftMessageActionTest.java | 369 assertEquals(part.getContentUri(), mOutputUri); in testBugleDatabaseDraftOperations() 415 assertEquals(part.getContentUri(), mAnotherUri); in testBugleDatabaseDraftOperations()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ProviderTestUtils.java | 439 assertEquals(caller + " mContentUri", expect.getContentUri(), actual.getContentUri()); in assertAttachmentEqual()
|