Home
last modified time | relevance | path

Searched refs:targetUri (Results 1 – 10 of 10) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/model/
DValuesDelta.java415 public ContentProviderOperation.Builder buildDiff(Uri targetUri) { in buildDiff() argument
416 return buildDiffHelper(targetUri); in buildDiff()
422 public BuilderWrapper buildDiffWrapper(Uri targetUri) { in buildDiffWrapper() argument
423 final ContentProviderOperation.Builder builder = buildDiffHelper(targetUri); in buildDiffWrapper()
435 private ContentProviderOperation.Builder buildDiffHelper(Uri targetUri) { in buildDiffHelper() argument
440 builder = ContentProviderOperation.newInsert(targetUri); in buildDiffHelper()
444 builder = ContentProviderOperation.newDelete(targetUri); in buildDiffHelper()
448 builder = ContentProviderOperation.newUpdate(targetUri); in buildDiffHelper()
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java249 final Uri targetUri = Uri.fromFile(FileUtil.getNewFile(outputDir, contentType)); in persistContent() local
250 return copyContent(context, inputStream, targetUri); in persistContent()
294 final Context context, final InputStream inputStream, final Uri targetUri) { in copyContent() argument
298 outputStream = context.getContentResolver().openOutputStream(targetUri); in copyContent()
319 return targetUri; in copyContent()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVCardRequest.java118 private boolean parseVCard(final Uri targetUri, final CountDownLatch signal) { in parseVCard() argument
127 result = readOneVCardFile(targetUri, VCardConfig.VCARD_TYPE_UNKNOWN, in parseVCard()
134 result = readOneVCardFile(targetUri, estimatedVCardType, in parseVCard()
147 return doActuallyReadOneVCard(targetUri, true, detector, null, signal); in parseVCard()
/packages/apps/Gallery/src/com/android/camera/
DGalleryPicker.java234 Uri targetUri = item.mFirstImageUri; in onSlideShowClicked() local
236 if (targetUri != null && item.mBucketId != null) { in onSlideShowClicked()
237 targetUri = targetUri.buildUpon() in onSlideShowClicked()
241 Intent intent = new Intent(Intent.ACTION_VIEW, targetUri); in onSlideShowClicked()
DImageGallery.java188 Uri targetUri = img.fullSizeImageUri();
193 targetUri = targetUri.buildUpon()
198 Intent intent = new Intent(Intent.ACTION_VIEW, targetUri);
/packages/services/BuiltInPrintService/src/com/android/bips/discovery/
DManualDiscovery.java114 Uri targetUri = uri.buildUpon().scheme(scheme).encodedAuthority(authority).path(path) in addManualPrinter() local
116 uris.add(targetUri); in addManualPrinter()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java876 Uri targetUri = target.derivedUri; in isRecursiveCopy() local
879 final Path targetPath = findDocumentPath(wrap(getClient(target)), targetUri); in isRecursiveCopy()
907 "Preventing copy from %s to %s", sourceUri, targetUri)); in isRecursiveCopy()
919 " for source %s and target %s", sourceUri, targetUri), t); in isRecursiveCopy()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java330 final Uri targetUri = MediaStore.Audio.Media in testBulkInsert() local
332 assertEquals(2, sIsolatedResolver.bulkInsert(targetUri, in testBulkInsert()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java5643 final Uri targetUri = ContentUris
5645 return ensureThumbnail(targetUri, signal);
5649 final Uri targetUri = ContentUris
5651 return ensureThumbnail(targetUri, signal);
5655 final Uri targetUri = ContentUris
5657 return ensureThumbnail(targetUri, signal);
5661 final Uri targetUri = ContentUris
5663 return ensureThumbnail(targetUri, signal);
5718 final Uri targetUri = ContentUris.withAppendedId(baseUri, audioId);
5719 return mAudioThumbnailer.ensureThumbnail(targetUri, signal);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java2832 final Uri targetUri = targetBuilder.build(); in testAddQueryParametersFromUri() local
2833 assertEquals(1, targetUri.getQueryParameters("a").size()); in testAddQueryParametersFromUri()
2834 assertEquals(0, targetUri.getQueryParameters("b").size()); in testAddQueryParametersFromUri()
2835 assertEquals(1, targetUri.getQueryParameters("c").size()); in testAddQueryParametersFromUri()