Home
last modified time | relevance | path

Searched refs:targetUri (Results 1 – 12 of 12) 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/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DPublicVolumeTest.java74 final Uri targetUri = contentResolver.insert( in testIncludeRecentlyUnmountedVolumes() local
76 assertNotNull(targetUri); in testIncludeRecentlyUnmountedVolumes()
78 try (OutputStream out = contentResolver.openOutputStream(targetUri)) { in testIncludeRecentlyUnmountedVolumes()
/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.java877 Uri targetUri = target.derivedUri; in isRecursiveCopy() local
880 final Path targetPath = findDocumentPath(wrap(getClient(target)), targetUri); in isRecursiveCopy()
908 "Preventing copy from %s to %s", sourceUri, targetUri)); in isRecursiveCopy()
920 " for source %s and target %s", sourceUri, targetUri), t); in isRecursiveCopy()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/sip/
DSipUtils.java110 String targetUri, in buildInvite() argument
124 URI remoteUri = createUri(targetUri); in buildInvite()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java392 final Uri targetUri = MediaStore.Audio.Media in testBulkInsert() local
394 assertEquals(2, sIsolatedResolver.bulkInsert(targetUri, in testBulkInsert()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java7107 final Uri targetUri = ContentUris
7109 return ensureThumbnail(targetUri, signal);
7113 final Uri targetUri = ContentUris
7115 return ensureThumbnail(targetUri, signal);
7119 final Uri targetUri = ContentUris
7121 return ensureThumbnail(targetUri, signal);
7125 final Uri targetUri = ContentUris
7127 return ensureThumbnail(targetUri, signal);
7202 final Uri targetUri = ContentUris.withAppendedId(baseUri, audioId);
7203 return mAudioThumbnailer.ensureThumbnail(targetUri, signal);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java2825 final Uri targetUri = targetBuilder.build(); in testAddQueryParametersFromUri() local
2826 assertEquals(1, targetUri.getQueryParameters("a").size()); in testAddQueryParametersFromUri()
2827 assertEquals(0, targetUri.getQueryParameters("b").size()); in testAddQueryParametersFromUri()
2828 assertEquals(1, targetUri.getQueryParameters("c").size()); in testAddQueryParametersFromUri()