Home
last modified time | relevance | path

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

12

/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContract_SearchSnippetsTest.java82 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_NoMatch()
90 final Uri uri = ContactsContract.Contacts.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testEnterpriseSearchSnippets_NoMatch()
99 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_MatchEmailAddressCorrectSnippet()
110 final Uri uri = ContactsContract.Contacts.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testEnterpriseSearchSnippets_MatchEmailAddressCorrectSnippet()
122 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_MatchPhoneNumberCorrectSnippet()
133 final Uri uri = ContactsContract.Contacts.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testEnterpriseSearchSnippets_MatchPhoneNumberCorrectSnippet()
145 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_MatchPostalAddressCorrectSnippet()
156 final Uri uri = ContactsContract.Contacts.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testEnterpriseSearchSnippets_MatchPostalAddressCorrectSnippet()
168 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_LongMatchTruncation()
179 final Uri uri = ContactsContract.Contacts.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testEnterpriseSearchSnippets_LongMatchTruncation()
[all …]
DContactsContract_PhoneLookup.java130 final Uri uri = PhoneLookup.CONTENT_FILTER_URI.buildUpon() in testPhoneLookup_nomatch()
141 final Uri uri = PhoneLookup.CONTENT_FILTER_URI.buildUpon() in testPhoneLookup_found1()
158 final Uri uri = PhoneLookup.CONTENT_FILTER_URI.buildUpon() in testPhoneLookup_found2()
172 final Uri uri = PhoneLookup.CONTENT_FILTER_URI.buildUpon() in testPhoneLookup_sip_found()
190 final Uri uri = PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testPhoneLookupEnterprise_nomatch()
201 final Uri uri = PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testPhoneLookupEnterprise_found1()
218 final Uri uri = PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testPhoneLookupEnterprise_found2()
232 final Uri uri = PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testPhoneLookupEnterprise_sip_found()
DContactsContract_FrequentsStrequentsTest.java238 Uri uri = Contacts.CONTENT_STREQUENT_FILTER_URI.buildUpon().appendEncodedPath("ta").build(); in testStrequents_withFilter()
260 Contacts.CONTENT_STREQUENT_FILTER_URI.buildUpon() in testStrequents_projection()
276 Uri uri = Contacts.CONTENT_STREQUENT_URI.buildUpon(). in testStrequents_phoneOnly()
298 Uri uri = Contacts.CONTENT_STREQUENT_URI.buildUpon(). in testStrequents_phoneOnlyFrequentsOrder()
313 Uri uri = Contacts.CONTENT_STREQUENT_URI.buildUpon(). in testStrequents_phoneOnly_projection()
406 Uri uri = ContactsContract.DataUsageFeedback.FEEDBACK_URI.buildUpon(). in markDataAsUsed()
DContactsContract_DirectoryTest.java102 Directory.CONTENT_URI.buildUpon().appendPath("1").build())); in testQueryParameters()
108 final Uri queryUri = Contacts.CONTENT_FILTER_URI.buildUpon() in testQueryParameters()
DContactsContract_DataUsageTest.java104 Uri uri = DataUsageFeedback.FEEDBACK_URI.buildUpon().appendPath(TextUtils.join(",", ids)) in updateMultipleAndAssertUpdateSuccess()
112 Uri uri = DataUsageFeedback.FEEDBACK_URI.buildUpon().appendPath(String.valueOf(dataId)) in updateDataUsageAndAssert()
DContactsContract_DataTest.java318 DatabaseAsserts.checkProjection(mResolver, Contacts.CONTENT_URI.buildUpon().appendPath( in testEntityProjection()
542 Uri uri = Uri.withAppendedPath(Callable.ENTERPRISE_CONTENT_FILTER_URI, "doe").buildUpon() in testEnterpriseCallableFilterByNameOrOrganization_returnsCorrectDataRows()
553 Uri uri = Uri.withAppendedPath(Callable.ENTERPRISE_CONTENT_FILTER_URI, "510").buildUpon() in testEnterpriseCallableFilterByNumber_returnsCorrectDataRows()
563 Uri uri = Uri.withAppendedPath(Callable.ENTERPRISE_CONTENT_FILTER_URI, "mysip").buildUpon() in testEnterpriseCallableFilterBySipAddress_returnsCorrectDataRows()
627 Uri uri = Phone.CONTENT_URI.buildUpon(). in testPhoneQuery_removeDuplicateEntries()
659 Uri uri = Email.CONTENT_URI.buildUpon(). in testEmailQuery_removeDuplicateEntries()
/cts/tests/tests/slice/src/android/slice/cts/
DSliceBindingTest.java65 mSliceManager.bindSlice(BASE_URI.buildUpon().appendPath("set_flag").build(), in testProcess()
87 Uri uri = BASE_URI.buildUpon().appendPath("subslice").build(); in testSubSlice()
103 Uri uri = BASE_URI.buildUpon().appendPath("text").build(); in testText()
118 Uri uri = BASE_URI.buildUpon().appendPath("icon").build(); in testIcon()
144 Uri uri = BASE_URI.buildUpon().appendPath("action").build(); in testAction()
168 Uri uri = BASE_URI.buildUpon().appendPath("int").build(); in testInt()
181 Uri uri = BASE_URI.buildUpon().appendPath("timestamp").build(); in testTimestamp()
197 Uri uri = BASE_URI.buildUpon().appendPath("hints").build(); in testHints()
210 Uri uri = BASE_URI.buildUpon().appendPath("hints").build(); in testHasHints()
220 Uri uri = BASE_URI.buildUpon().appendPath("bundle").build(); in testBundle()
[all …]
DSlicePermissionsTest.java81 Uri uri = BASE_URI.buildUpon() in testGrantParent()
97 Uri uri = BASE_URI.buildUpon() in testGrantParentExpands()
124 Uri uri = BASE_URI.buildUpon() in testGrantChild()
158 Uri uri = BASE_URI.buildUpon() in testRevokeParent()
179 Uri uri = BASE_URI.buildUpon() in testRevokeChild()
DSliceManagerTest.java107 Uri longerUri = uri.buildUpon().appendPath("something").build(); in testPinList()
131 (Answer<Uri>) invocation -> BASE_URI.buildUpon().path( in testMapIntentToUri()
136 assertEquals(BASE_URI.buildUpon().path("intent").build(), uri); in testMapIntentToUri()
147 Uri uri = BASE_URI.buildUpon().path("permission").build(); in testOnCreatePermissionSlice()
/cts/tests/tests/net/src/android/net/cts/
DUriTest.java47 u = u.buildUpon().build(); in parcelAndUnparcel()
54 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); in testBuildUpon()
64 Uri b = a.buildUpon().fragment("new").build(); in testBuildUpon()
73 b = a.buildUpon().fragment("new").build(); in testBuildUpon()
79 b = a.buildUpon().fragment("qux").build(); in testBuildUpon()
276 uri = uri.buildUpon().appendQueryParameter("a", "b").build(); in testQueryParameters()
279 uri = uri.buildUpon().appendQueryParameter("a", "b2").build(); in testQueryParameters()
282 uri = uri.buildUpon().appendQueryParameter("c", "d").build(); in testQueryParameters()
296 uri = uri.buildUpon().appendPath("c").build(); in testPathOperations()
320 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()
/cts/tests/tests/netsecpolicy/src/android/security/
DNetworkSecurityPolicyTestBase.java87 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertCleartextHttpURLConnectionSucceeds()
110 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertCleartextHttpURLConnectionBlocked()
131 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertAndroidHttpClientCleartextRequestSucceeds()
148 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertAndroidHttpClientCleartextRequestBlocked()
174 uri = uri.buildUpon().scheme(null).authority(null).build(); in assertMediaPlayerCleartextRequestSucceeds()
192 uri = uri.buildUpon().scheme(null).authority(null).build(); in assertMediaPlayerCleartextRequestBlocked()
201 uri = uri.buildUpon().scheme(null).authority(null).build(); in testDownloadManager()
/cts/tests/tests/keystore/src/android/keystore/cts/
DCipherTest.java1079 TestUtils.buildUpon(good, KeyProperties.PURPOSE_ENCRYPT).build()); in testInitDecryptFailsWhenNotAuthorizedToDecrypt()
1098 TestUtils.buildUpon(good, KeyProperties.PURPOSE_DECRYPT).build()); in testInitEncryptSymmetricFailsWhenNotAuthorizedToEncrypt()
1117 TestUtils.buildUpon(good, 0).build()); in testInitEncryptAsymmetricIgnoresAuthorizedPurposes()
1142 TestUtils.buildUpon(good).setBlockModes(badBlockMode).build()); in testInitDecryptFailsWhenBlockModeNotAuthorized()
1175 TestUtils.buildUpon(good).setBlockModes(badBlockMode).build()); in testInitEncryptSymmetricFailsWhenBlockModeNotAuthorized()
1198 TestUtils.buildUpon(good).setBlockModes().build()); in testInitEncryptAsymmetricIgnoresAuthorizedBlockModes()
1222 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitDecryptFailsWhenDigestNotAuthorized()
1228 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitDecryptFailsWhenDigestNotAuthorized()
1259 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitEncryptSymmetricFailsWhenDigestNotAuthorized()
1265 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitEncryptSymmetricFailsWhenDigestNotAuthorized()
[all …]
DKeyGeneratorTest.java268 spec = TestUtils.buildUpon( in testAesKeySupportedSizesHelper()
272 spec = TestUtils.buildUpon( in testAesKeySupportedSizesHelper()
311 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testDESKeySupportedSizes()
314 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testDESKeySupportedSizes()
438 keyGenerator.init(TestUtils.buildUpon(goodSpec) in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
448 keyGenerator.init(TestUtils.buildUpon(goodSpec) in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
458 keyGenerator.init(TestUtils.buildUpon(goodSpec) in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
465 keyGenerator.init(TestUtils.buildUpon(goodSpec) in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
DSignatureTest.java849 TestUtils.buildUpon(good, badPurposes).build()); in testInitSignFailsWhenNotAuthorizedToSign()
865 TestUtils.buildUpon(good, badPurposes).build()); in testInitVerifyIgnoresThatNotAuthorizedToVerify()
883 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitSignFailsWhenDigestNotAuthorized()
888 TestUtils.buildUpon(good) in testInitSignFailsWhenDigestNotAuthorized()
909 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitVerifyIgnoresThatDigestNotAuthorized()
937 TestUtils.buildUpon(good).setSignaturePaddings(badPaddingScheme).build()); in testInitSignFailsWhenPaddingNotAuthorized()
965 TestUtils.buildUpon(good).setSignaturePaddings(badPaddingScheme).build()); in testInitVerifyIgnoresThatPaddingNotAuthorized()
979 TestUtils.buildUpon(good).setKeyValidityStart(badStartDate).build()); in testInitSignFailsWhenKeyNotYetValid()
993 TestUtils.buildUpon(good).setKeyValidityStart(badStartDate).build()); in testInitVerifyIgnoresThatKeyNotYetValid()
1007 TestUtils.buildUpon(good) in testInitSignFailsWhenKeyNoLongerValidForOrigination()
[all …]
DMacTest.java379 TestUtils.buildUpon(good, badPurposes).build()); in testInitFailsWhenNotAuthorizedToSign()
404 KeyProtection good = TestUtils.buildUpon(getWorkingImportParams(algorithm)) in testInitFailsWhenKeyNotYetValid()
411 TestUtils.buildUpon(good).setKeyValidityStart(badStartDate).build()); in testInitFailsWhenKeyNotYetValid()
421 KeyProtection good = TestUtils.buildUpon(getWorkingImportParams(algorithm)) in testInitFailsWhenKeyNoLongerValidForOrigination()
429 TestUtils.buildUpon(good) in testInitFailsWhenKeyNoLongerValidForOrigination()
441 KeyProtection good = TestUtils.buildUpon(getWorkingImportParams(algorithm)) in testInitIgnoresThatKeyNoLongerValidForConsumption()
449 TestUtils.buildUpon(good) in testInitIgnoresThatKeyNoLongerValidForConsumption()
DTestUtils.java488 static KeyProtection.Builder buildUpon(KeyProtection params) { in buildUpon() method in TestUtils
492 static KeyProtection.Builder buildUpon(KeyProtection params, int newPurposes) { in buildUpon() method in TestUtils
496 static KeyProtection.Builder buildUpon( in buildUpon() method in TestUtils
501 static KeyProtection.Builder buildUpon( in buildUpon() method in TestUtils
527 static KeyGenParameterSpec.Builder buildUpon(KeyGenParameterSpec spec) { in buildUpon() method in TestUtils
531 static KeyGenParameterSpec.Builder buildUpon(KeyGenParameterSpec spec, int newPurposes) { in buildUpon() method in TestUtils
535 static KeyGenParameterSpec.Builder buildUpon( in buildUpon() method in TestUtils
540 static KeyGenParameterSpec.Builder buildUpon( in buildUpon() method in TestUtils
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Audio_AlbumsTest.java142 Uri filterUri = audioAlbumsUri.buildUpon() in testStoreAudioAlbums()
151 filterUri = audioAlbumsUri.buildUpon().appendQueryParameter("filter", "xyzfoo").build(); in testStoreAudioAlbums()
194 final Uri byMedia = MediaStore.AUTHORITY_URI.buildUpon().appendPath(mVolumeName) in testAlbumArt()
197 final Uri byAlbum = MediaStore.AUTHORITY_URI.buildUpon().appendPath(mVolumeName) in testAlbumArt()
DSmsBackupRestoreTest.java119 final Uri partUri = Telephony.Mms.CONTENT_URI.buildUpon() in clearMessages()
176 final Uri partUri = Telephony.Mms.CONTENT_URI.buildUpon() in testSmsBackupRestore()
208 Uri.Builder builder = Telephony.Mms.CONTENT_URI.buildUpon(); in getMmsAddrUri()
225 final Uri partUri = Telephony.Mms.CONTENT_URI.buildUpon() in addMms()
DMediaStore_Audio_ArtistsTest.java125 Uri filterUri = artistsUri.buildUpon() in testStoreAudioArtists()
134 filterUri = artistsUri.buildUpon().appendQueryParameter("filter", "xyzfoo").build(); in testStoreAudioArtists()
/cts/tests/tests/content/src/android/content/cts/
DContentUrisTest.java93 Builder b = uri1.buildUpon(); in testAppendId()
99 b = uri2.buildUpon(); in testAppendId()
/cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/
DCtsDownloadService.java101 DOWNLOAD_SOURCE_URI_ROOT.buildUpon().appendPath("file1.txt").build(),
104 DOWNLOAD_SOURCE_URI_ROOT.buildUpon().appendPath("sub_dir1")
112 public static final Uri SOURCE_URI_1 = DOWNLOAD_SOURCE_URI_ROOT.buildUpon()
114 public static final Uri SOURCE_URI_2 = DOWNLOAD_SOURCE_URI_ROOT.buildUpon()
116 public static final Uri SOURCE_URI_3 = DOWNLOAD_SOURCE_URI_ROOT.buildUpon()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DUtils.java28 Uri.Builder builder = uri.buildUpon(); in getUriWithoutUserId()
DContactsTest.java946 phoneLookupUri.buildUpon().appendQueryParameter(ContactsContract.DIRECTORY_PARAM_KEY, in showQuickContactInternal()
1153 Uri uri = baseUri.buildUpon().appendPath(phoneNumber).build(); in getContactInfoFromPhoneLookupUri()
1169 Uri uri = baseUri.buildUpon().appendPath(sipAddress) in getContactInfoFromEnterprisePhoneLookupUriWithSipAddress()
1177 Uri uri = PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI.buildUpon().appendPath(phoneNumber) in getContactInfoFromEnterprisePhoneLookupUriInDirectory()
1194 Uri uri = Email.ENTERPRISE_CONTENT_LOOKUP_URI.buildUpon().appendPath(email) in getContactInfoFromEnterpriseEmailLookupUriInDirectory()
1204 .buildUpon().appendQueryParameter(ContactsContract.DIRECTORY_PARAM_KEY, in getContactInfoFromEnterpriseCallableFilterUriInDirectory()
1213 .buildUpon().appendQueryParameter(ContactsContract.DIRECTORY_PARAM_KEY, in getContactInfoFromEnterpriseEmailFilterUriInDirectory()
1222 .buildUpon().appendQueryParameter(ContactsContract.DIRECTORY_PARAM_KEY, in getContactInfoFromEnterpriseContactFilterUriInDirectory()
1231 .buildUpon().appendQueryParameter(ContactsContract.DIRECTORY_PARAM_KEY, in getContactInfoFromEnterprisePhoneFilterUriInDirectory()
/cts/tests/tests/os/src/android/os/image/cts/
DDynamicSystemClientTest.java70 Uri uri = Uri.parse("https://www.google.com/").buildUpon().build(); in testDynamicSystemClient()

12