Home
last modified time | relevance | path

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

12345678

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DUriTest.java50 u = u.buildUpon().build(); in parcelAndUnparcel()
57 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); in testBuildUpon()
67 Uri b = a.buildUpon().fragment("new").build(); in testBuildUpon()
76 b = a.buildUpon().fragment("new").build(); in testBuildUpon()
82 b = a.buildUpon().fragment("qux").build(); in testBuildUpon()
279 uri = uri.buildUpon().appendQueryParameter("a", "b").build(); in testQueryParameters()
282 uri = uri.buildUpon().appendQueryParameter("a", "b2").build(); in testQueryParameters()
285 uri = uri.buildUpon().appendQueryParameter("c", "d").build(); in testQueryParameters()
299 uri = uri.buildUpon().appendPath("c").build(); in testPathOperations()
323 Uri withC = Uri.parse("foo:/a/b/").buildUpon().appendPath("c").build(); in testPathOperations()
[all …]
DUri_BuilderTest.java26 Builder builder = uri.buildUpon(); in testBuilderOperations()
36 builder = uri.buildUpon(); in testBuilderOperations()
/packages/apps/TV/common/src/com/android/tv/common/support/tvprovider/
DTvContractCompatX.java38 Uri.Builder uri = TvContractCompat.Channels.CONTENT_URI.buildUpon(); in buildChannelUri()
57 Uri.Builder uri = TvContractCompat.Programs.CONTENT_URI.buildUpon(); in buildProgramsUriForChannel()
86 .buildUpon() in buildProgramsUriForChannel()
103 .buildUpon() in buildProgramsUri()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DItemsProvider.java77 final Uri media = PICKER_INTERNAL_URI.buildUpon()
79 URI_MEDIA_ALL = media.buildUpon().appendPath(PickerUriResolver.ALL_PATH).build();
80 URI_MEDIA_LOCAL = media.buildUpon().appendPath(PickerUriResolver.LOCAL_PATH).build();
82 final Uri albums = PICKER_INTERNAL_URI.buildUpon()
84 URI_ALBUMS_ALL = albums.buildUpon().appendPath(PickerUriResolver.ALL_PATH).build();
85 URI_ALBUMS_LOCAL = albums.buildUpon().appendPath(PickerUriResolver.LOCAL_PATH).build();
333 final Uri uri = PickerUriResolver.getMediaUri(authority).buildUpon() in getItemsUri()
372 Uri.Builder builder = uri.buildUpon(); in createContentUriForUserImpl()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/
DWallpaperClientImpl.kt143 LIST_RECENTS_URI.buildUpon().appendPath(destination.asString()).build(), in <lambda>()
210 GET_THUMBNAIL_BASE_URI.buildUpon().appendPath(wallpaperId).build(), in <lambda>()
288 private val SET_WALLPAPER_URI = BASE_URI.buildUpon().appendPath(PATH_SET_WALLPAPER).build() in <lambda>()
290 private val LIST_RECENTS_URI = BASE_URI.buildUpon().appendPath(PATH_LIST_RECENTS).build() in <lambda>()
295 BASE_URI.buildUpon().appendPath(PATH_GET_THUMBNAIL).build() in <lambda>()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/enterprise/
DEnterpriseContactsCursorWrapper.java150 Uri.Builder builder = Directory.ENTERPRISE_FILE_URI.buildUpon(); in getRemoteDirectoryFileUri()
178 return ContentUris.appendId(Contacts.CORP_CONTENT_URI.buildUpon(), contactId) in getCorpThumbnailUri()
203 return ContentUris.appendId(Contacts.CORP_CONTENT_URI.buildUpon(), contactId) in getCorpDisplayPhotoUri()
207 return ContentUris.appendId(Contacts.CORP_CONTENT_URI.buildUpon(), contactId) in getCorpDisplayPhotoUri()
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java1059 return setIncludePending(uri.buildUpon()).build(); in setIncludePending()
1091 return uri.buildUpon().appendQueryParameter(PARAM_REQUIRE_ORIGINAL, "1").build(); in setRequireOriginal()
1141 return uri.buildUpon().authority(MediaStore.AUTHORITY_LEGACY).build(); in rewriteToLegacy()
2004 return AUTHORITY_URI.buildUpon().appendPath(volumeName).appendPath("file").build(); in getContentUri()
2043 return AUTHORITY_URI.buildUpon().appendPath(volumeName).appendPath("dir").build(); in getDirectoryUri()
2396 return AUTHORITY_URI.buildUpon().appendPath(volumeName) in getContentUri()
2749 return AUTHORITY_URI.buildUpon().appendPath(volumeName).appendPath("images") in getContentUri()
2935 return AUTHORITY_URI.buildUpon().appendPath(volumeName).appendPath("images") in getContentUri()
3281 return AUTHORITY_URI.buildUpon().appendPath(volumeName).appendPath("audio") in getContentUri()
3381 return AUTHORITY_URI.buildUpon().appendPath(volumeName).appendPath("audio") in getContentUri()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DMessagingContentProvider.java122 final Uri.Builder builder = CONVERSATION_PARTICIPANTS_URI.buildUpon(); in buildConversationParticipantsUri()
176 final Uri.Builder builder = CONVERSATION_MESSAGES_URI.buildUpon(); in buildConversationMessagesUri()
196 final Uri.Builder builder = CONVERSATIONS_URI.buildUpon(); in buildConversationMetadataUri()
226 final Uri.Builder builder = CONVERSATION_IMAGES_URI.buildUpon(); in buildConversationImagesUri()
235 final Uri.Builder builder = DRAFT_IMAGES_URI.buildUpon(); in buildDraftImagesUri()
/packages/apps/Messaging/src/com/android/messaging/util/
DContactUtil.java234 final Uri uri = Phone.CONTENT_URI.buildUpon().appendQueryParameter( in getPhones()
333 final Uri uri = getPhoneLookupUri().buildUpon() in lookupPhone()
398 final Uri uri = getEmailContentLookupUri().buildUpon() in lookupEmail()
420 final Uri uri = ContactsContract.Contacts.CONTENT_URI.buildUpon() in lookupStructuredName()
551 return uri.buildUpon() in buildDirectorySearchUri()
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
DTestUtil.java48 return uri.buildUpon() in maybeAddAccountQueryParameters()
59 return uri.buildUpon() in maybeAddAccountWithDataSetQueryParameters()
DRawContactUtil.java53 .buildUpon() in delete()
125 .buildUpon() in createRawContactWithBackupId()
/packages/apps/Contacts/src/com/android/contacts/list/
DJoinContactListAdapter.java71 final Builder builder = Contacts.CONTENT_URI.buildUpon(); in configureLoader()
88 allContactsUri = buildSectionIndexerUri(Contacts.CONTENT_FILTER_URI).buildUpon() in configureLoader()
94 allContactsUri = buildSectionIndexerUri(Contacts.CONTENT_URI).buildUpon() in configureLoader()
DPhoneNumberListAdapter.java207 final Builder builder = Uri.parse(contentUri).buildUpon(); in configureLoader()
226 builder = baseUri.buildUpon(); in configureLoader()
236 builder = baseUri.buildUpon().appendQueryParameter( in configureLoader()
641 return Contacts.CONTENT_LOOKUP_URI.buildUpon() in getContactUri()
DEmailAddressListAdapter.java81 builder = Email.CONTENT_FILTER_URI.buildUpon(); in configureLoader()
85 builder = Email.CONTENT_URI.buildUpon(); in configureLoader()
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/data/events/
DEventUrlHelper.java54 return Uri.parse(BASE_URL).buildUpon().appendQueryParameter(URL_EVENT_KEY, in getEncryptedOdpEventUrl()
67 return Uri.parse(getEncryptedOdpEventUrl(event)).buildUpon().appendQueryParameter( in getEncryptedClickTrackingUrl()
/packages/apps/Dialer/java/com/android/dialer/contactsfragment/
DContactsCursorLoader.java100 baseUri = Contacts.CONTENT_URI.buildUpon(); in buildUri()
102 baseUri = Contacts.CONTENT_FILTER_URI.buildUpon().appendPath(query); in buildUri()
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DParametersTest.java86 Uri channelUri = Channels.CONTENT_URI.buildUpon() in verifyChannelCountWithPreview()
169 Uri ownPackageChannelsUri = Channels.CONTENT_URI.buildUpon() in testPackageNameOperateChannels()
171 Uri otherPackageChannelsUri = Channels.CONTENT_URI.buildUpon() in testPackageNameOperateChannels()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java380 Uri enterpriseUri = Phone.ENTERPRISE_CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri()
385 Uri expectedUri = Phone.CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithEnterpriseDirectoryToLocalUri()
397 Uri enterpriseUri = Phone.ENTERPRISE_CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri()
402 Uri expectedUri = Phone.CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithPersonalDirectoryToLocalUri()
413 Uri enterpriseUri = Phone.ENTERPRISE_CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithoutDirectoryToLocalUri()
417 Uri expectedUri = Phone.CONTENT_URI.buildUpon().appendPath(phoneNumber) in testConvertEnterpriseUriWithoutDirectoryToLocalUri()
508 assertProjection(Contacts.CONTENT_STREQUENT_URI.buildUpon() in testContactsStrequentPhoneOnlyProjection()
558 assertProjection(Contacts.CONTENT_FILTER_URI.buildUpon().appendPath("nothing").build(), in testContactsWithSnippetProjection()
731 assertProjection(Phone.CONTENT_FILTER_URI.buildUpon().appendPath("123").build(), in testDistinctDataProjection()
961 assertProjection(PhoneLookup.CONTENT_FILTER_URI.buildUpon().appendPath("123").build(), in testPhoneLookupProjection()
[all …]
DDirectoryTest.java88 Uri contentUri = Contacts.CONTENT_URI.buildUpon().appendQueryParameter( in testForwardingToLocalContacts()
113 Uri contentUri = Contacts.CONTENT_URI.buildUpon().appendQueryParameter( in testForwardingToLocalInvisibleContacts()
/packages/apps/Settings/src/com/android/settings/display/
DCustomizableLockScreenUtils.java45 static final Uri FLAGS_URI = BASE_URI.buildUpon()
49 static final Uri SELECTIONS_URI = BASE_URI.buildUpon()
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManager.java75 final Builder builder = DEFAULT_IMAGE_URI.buildUpon(); in getDefaultAvatarUriForContact()
108 Builder builder = uri.buildUpon(); in appendBusinessContactType()
122 Builder builder = photoUri.buildUpon(); in removeContactType()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalAlbum.java104 return MediaStore.Images.Media.EXTERNAL_CONTENT_URI.buildUpon() in getContentUri()
108 return MediaStore.Video.Media.EXTERNAL_CONTENT_URI.buildUpon() in getContentUri()
117 Uri uri = mBaseUri.buildUpon() in getMediaItem()
/packages/apps/Dialer/java/com/android/dialer/calllog/
DClearMissedCalls.java99 Uri callUri = Calls.CONTENT_URI.buildUpon().appendPath(Long.toString(id)).build(); in clearBySystemCallLogId()
144 .buildUpon()
/packages/providers/MediaProvider/src/com/android/providers/media/
DPickerUriResolver.java64 public static final Uri PICKER_URI = MediaStore.AUTHORITY_URI.buildUpon().
70 public static final Uri PICKER_INTERNAL_URI = MediaStore.AUTHORITY_URI.buildUpon().
278 final Uri.Builder builder = Uri.EMPTY.buildUpon(); in initializeUriBuilder()
/packages/modules/RemoteKeyProvisioning/util/src/com/android/rkpdapp/
DRkpRegistrationCheck.java190 final Uri uri = getBaseUri().buildUpon().appendEncodedPath(":fetchEekChain").build(); in fetchEek()
220 final Uri uri = getBaseUri().buildUpon() in signCertificates()
244 uri = uri.buildUpon().appendQueryParameter("requestId", mRequestId).build(); in httpPost()

12345678