Home
last modified time | relevance | path

Searched refs:buildUpon (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSliceClientPermissionsTest.java66 client.grantUri(base.buildUpon() in testRemoveBasic()
69 client.revokeUri(base.buildUpon() in testRemoveBasic()
73 assertFalse(client.hasPermission(base.buildUpon() in testRemoveBasic()
92 client.grantUri(base.buildUpon() in testRemoveSubtrees()
96 client.grantUri(base.buildUpon() in testRemoveSubtrees()
100 client.revokeUri(base.buildUpon() in testRemoveSubtrees()
104 assertFalse(client.hasPermission(base.buildUpon() in testRemoveSubtrees()
123 client.grantUri(base.buildUpon() in testAddConsolidate_addFirst()
126 client.grantUri(base.buildUpon() in testAddConsolidate_addFirst()
131 assertTrue(client.hasPermission(base.buildUpon() in testAddConsolidate_addFirst()
[all …]
/frameworks/base/core/tests/coretests/src/android/net/
DUriTest.java68 u = u.buildUpon().build(); in parcelAndUnparcel()
80 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); in testBuildUponOpaqueStringUri()
209 Uri b = a.buildUpon().fragment("new").build(); in testBuildUponOpaqueUri()
222 Uri b = a.buildUpon().fragment("new").build(); in testBuildUponEncodedOpaqueUri()
238 Uri appended = base.buildUpon() in testSms()
288 uri = uri.buildUpon().appendQueryParameter("a", "b").build(); in testQueryParameters()
292 uri = uri.buildUpon().appendQueryParameter("a", "b2").build(); in testQueryParameters()
296 uri = uri.buildUpon().appendQueryParameter("c", "d").build(); in testQueryParameters()
332 uri = uri.buildUpon().appendPath("c").build(); in testPathOperations()
356 Uri withC = Uri.parse("foo:/a/b/").buildUpon().appendPath("c").build(); in testPathOperations()
[all …]
/frameworks/base/core/java/android/content/
DContentUris.java113 return appendId(contentUri.buildUpon(), id).build(); in withAppendedId()
134 final Uri.Builder builder = contentUri.buildUpon(); in removeId()
DContentProvider.java1432 return uri.buildUpon().appendPath("0").build(); in rejectInsert()
2229 final Uri normalized = uri.buildUpon() in validateIncomingUri()
2292 Uri.Builder builder = uri.buildUpon(); in getUriWithoutUserId()
2311 Uri.Builder builder = uri.buildUpon(); in maybeAddUserId()
/frameworks/base/core/java/android/provider/
DMediaStore.java559 return setIncludePending(uri.buildUpon()).build(); in setIncludePending()
581 return uri.buildUpon().appendQueryParameter(PARAM_INCLUDE_TRASHED, "1").build(); in setIncludeTrashed()
599 return uri.buildUpon().appendQueryParameter(PARAM_REQUIRE_ORIGINAL, "1").build(); in setRequireOriginal()
791 final Uri withProgress = mUri.buildUpon() in notifyProgress()
1236 return AUTHORITY_URI.buildUpon().appendPath(volumeName).appendPath("file").build(); in getContentUri()
1258 return AUTHORITY_URI.buildUpon().appendPath(volumeName).appendPath("object").build(); in getMtpObjectsUri()
1278 return getMtpObjectsUri(volumeName, fileId).buildUpon().appendPath("references") in getMtpReferencesUri()
1287 return AUTHORITY_URI.buildUpon().appendPath(volumeName).appendPath("dir").build(); in getDirectoryUri()
1469 return AUTHORITY_URI.buildUpon().appendPath(volumeName) in getContentUri()
1794 return AUTHORITY_URI.buildUpon().appendPath(volumeName).appendPath("images") in getContentUri()
[all …]
DVoicemailContract.java396 return Voicemails.CONTENT_URI.buildUpon() in buildSourceUri()
697 return Status.CONTENT_URI.buildUpon() in buildSourceUri()
DTelephony.java2162 Uri.Builder uriBuilder = THREAD_ID_CONTENT_URI.buildUpon(); in getOrCreateThreadId()
2819 Uri.Builder uriBuilder = CONTENT_AND_AUTHORITY.buildUpon(); in getOrCreateCanonicalAddressId()
3103 Uri addrUri = Mms.CONTENT_URI.buildUpon() in getAddrUriForMessage()
3223 Uri partUri = Mms.CONTENT_URI.buildUpon() in getPartUriForMessage()
4515 return CONTENT_URI.buildUpon().appendEncodedPath(String.valueOf(subscriptionId)) in getUriForSubscriptionIdAndField()
4535 … return CONTENT_URI.buildUpon().appendEncodedPath(String.valueOf(subscriptionId)).build(); in getUriForSubscriptionId()
4792 return CONTENT_URI.buildUpon().appendEncodedPath( in getUriForSubscriptionId()
DBrowserContract.java417 AUTHORITY_URI.buildUpon().appendPath("accounts").build();
DCallLog.java148 public static final Uri CONTENT_URI_WITH_VOICEMAIL = CONTENT_URI.buildUpon()
1020 final Uri feedbackUri = DataUsageFeedback.FEEDBACK_URI.buildUpon() in updateDataUsageStatForData()
DCalendarContract.java1917 Uri.Builder builder = CONTENT_URI.buildUpon(); in query()
1946 Uri.Builder builder = CONTENT_SEARCH_URI.buildUpon(); in query()
2260 Uri.Builder builder = CONTENT_URI.buildUpon(); in query()
DDeviceConfig.java702 return CONTENT_URI.buildUpon().appendPath(namespace).build(); in createNamespaceUri()
/frameworks/base/core/tests/coretests/src/android/content/
DContentProviderOperationTest.java61 return uri.buildUpon().appendPath("19").build(); in testInsert()
64 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); in testInsert()
74 return uri.buildUpon().appendPath("19").build(); in testInsertNoValues()
77 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); in testInsertNoValues()
116 return uri.buildUpon().appendPath("19").build(); in testInsertWithBackRefs()
119 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); in testInsertWithBackRefs()
131 return uri.buildUpon().appendPath("19").build(); in testUpdate()
134 assertEquals(sTestUri1.buildUpon().appendPath("19").toString(), result.uri.toString()); in testUpdate()
/frameworks/opt/photoviewer/src/com/android/ex/photo/loaders/
DPhotoPagerLoader.java45 final Uri loaderUri = mPhotosUri.buildUpon().appendQueryParameter( in loadInBackground()
/frameworks/base/media/java/android/media/tv/
DTvContract.java535 Uri.Builder builder = Channels.CONTENT_URI.buildUpon(); in buildChannelsUriForInput()
564 return buildChannelsUriForInput(inputId, browsableOnly).buildUpon() in buildChannelsUriForInput()
583 return Programs.CONTENT_URI.buildUpon() in buildProgramsUriForChannel()
614 return uri.buildUpon().appendQueryParameter(PARAM_START_TIME, String.valueOf(startTime)) in buildProgramsUriForChannel()
660 return PreviewPrograms.CONTENT_URI.buildUpon() in buildPreviewProgramsUriForChannel()
/frameworks/base/core/java/android/net/
DUri.java432 public abstract Builder buildUpon(); in buildUpon() method in Uri
812 public Builder buildUpon() { in buildUpon() method in Uri.StringUri
992 public Builder buildUpon() { in buildUpon() method in Uri.OpaqueUri
1334 public Builder buildUpon() { in buildUpon() method in Uri.HierarchicalUri
1797 return buildUpon().scheme(lowerScheme).build(); in normalizeScheme()
2345 Builder builder = baseUri.buildUpon(); in withAppendedPath()
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientAlternatesAdapter.java353 .buildUpon() in doQuery()
408 .buildUpon() in getCursorForConstruction()
423 .buildUpon() in getCursorForConstruction()
/frameworks/base/core/java/android/app/slice/
DSliceProvider.java499 parent.addSubSlice(new Slice.Builder(sliceUri.buildUpon().appendPath("permission").build()) in createPermissionSlice()
524 intent.setData(sliceUri.buildUpon().appendQueryParameter("package", callingPackage) in createPermissionIntent()
DSlice.java389 mUri = parent.mUri.buildUpon().appendPath("_gen") in Builder()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java603 currentPhotoUri = Uri.parse(mCurrentPhotoUri).buildUpon() in onLoadFinished()
606 currentPhotoUri = Uri.parse(mCurrentPhotoUri).buildUpon() in onLoadFinished()
615 uri = Uri.parse(uriString).buildUpon().clearQuery().build(); in onLoadFinished()
617 uri = Uri.parse(uriString).buildUpon().query(null).build(); in onLoadFinished()
/frameworks/ex/common/java/com/android/common/contacts/
DBaseEmailAddressAdapter.java176 Uri.Builder builder = Email.CONTENT_FILTER_URI.buildUpon() in performFiltering()
232 Uri uri = Email.CONTENT_FILTER_URI.buildUpon() in performFiltering()
/frameworks/base/packages/SettingsLib/HelpUtils/src/com/android/settingslib/
DHelpUtils.java218 Uri.Builder builder = baseUri.buildUpon(); in uriWithAddedParameters()
/frameworks/base/services/core/java/com/android/server/notification/
DCalendarTracker.java117 final Uri.Builder uriBuilder = Instances.CONTENT_URI.buildUpon(); in checkEvent()
/frameworks/base/core/java/android/view/textclassifier/intent/
DLegacyClassificationIntentFactory.java236 Uri.Builder builder = CalendarContract.CONTENT_URI.buildUpon(); in createCalendarViewIntent()
/frameworks/base/telecomm/java/android/telecom/
DCallerInfoAsyncQuery.java457 final Uri contactRef = PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in startQuery()
/frameworks/base/media/java/android/media/
DMediaScanner.java456 Uri filesFullUri = mFilesUri.buildUpon().appendQueryParameter("nonotify", "1").build(); in MediaScanner()
1275 Uri.Builder builder = mFilesUri.buildUpon();
1287 Uri limitUri = mFilesUri.buildUpon()

12