Home
last modified time | relevance | path

Searched refs:targetUri (Results 1 – 8 of 8) 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/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java5154 final Uri targetUri = ContentUris in openFileCommon() local
5156 return ParcelFileDescriptor.open(ensureThumbnail(targetUri, signal), in openFileCommon()
5162 final Uri targetUri = ContentUris in openFileCommon() local
5164 return ParcelFileDescriptor.open(ensureThumbnail(targetUri, signal), in openFileCommon()
5169 final Uri targetUri = ContentUris in openFileCommon() local
5171 return ParcelFileDescriptor.open(ensureThumbnail(targetUri, signal), in openFileCommon()
5176 final Uri targetUri = ContentUris in openFileCommon() local
5178 return ParcelFileDescriptor.open(ensureThumbnail(targetUri, signal), in openFileCommon()
5236 final Uri targetUri = ContentUris.withAppendedId(baseUri, audioId); in ensureThumbnail() local
5237 return mAudioThumbnailer.ensureThumbnail(targetUri, signal); in ensureThumbnail()
/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()