Home
last modified time | relevance | path

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

123

/cts/tests/tests/contactsprovider/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.java106 Directory.CONTENT_URI.buildUpon().appendPath("1").build())); in testQueryParameters()
112 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()
/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/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DAccessPermissionWithDiffSigTest.java182 final Uri test = PERM_URI_PATH_RESTRICTING.buildUpon().appendPath("fo").build(); in testRestrictingProviderNoMatchingPath()
194 final Uri test1 = PERM_URI_PATH_RESTRICTING.buildUpon().appendPath("foo").build(); in testRestrictingProviderMatchingPathDenied()
199 final Uri test2 = PERM_URI_PATH_RESTRICTING.buildUpon() in testRestrictingProviderMatchingPathDenied()
233 final Uri test1 = PERM_URI_PATH_RESTRICTING.buildUpon() in testRestrictingProviderMultipleMatchingPath()
239 final Uri test2 = PERM_URI_PATH_RESTRICTING.buildUpon() in testRestrictingProviderMultipleMatchingPath()
/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.java1180 TestUtils.buildUpon(good, KeyProperties.PURPOSE_ENCRYPT).build()); in testInitDecryptFailsWhenNotAuthorizedToDecrypt()
1199 TestUtils.buildUpon(good, KeyProperties.PURPOSE_DECRYPT).build()); in testInitEncryptSymmetricFailsWhenNotAuthorizedToEncrypt()
1218 TestUtils.buildUpon(good, 0).build()); in testInitEncryptAsymmetricIgnoresAuthorizedPurposes()
1243 TestUtils.buildUpon(good).setBlockModes(badBlockMode).build()); in testInitDecryptFailsWhenBlockModeNotAuthorized()
1276 TestUtils.buildUpon(good).setBlockModes(badBlockMode).build()); in testInitEncryptSymmetricFailsWhenBlockModeNotAuthorized()
1299 TestUtils.buildUpon(good).setBlockModes().build()); in testInitEncryptAsymmetricIgnoresAuthorizedBlockModes()
1323 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitDecryptFailsWhenDigestNotAuthorized()
1329 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitDecryptFailsWhenDigestNotAuthorized()
1360 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitEncryptSymmetricFailsWhenDigestNotAuthorized()
1366 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitEncryptSymmetricFailsWhenDigestNotAuthorized()
[all …]
DKeyGeneratorTest.java269 spec = TestUtils.buildUpon( in testAesKeySupportedSizesHelper()
273 spec = TestUtils.buildUpon( in testAesKeySupportedSizesHelper()
316 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testDESKeySupportedSizes()
319 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testDESKeySupportedSizes()
443 keyGenerator.init(TestUtils.buildUpon(goodSpec) in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
453 keyGenerator.init(TestUtils.buildUpon(goodSpec) in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
463 keyGenerator.init(TestUtils.buildUpon(goodSpec) in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
470 keyGenerator.init(TestUtils.buildUpon(goodSpec) in testHmacKeyOnlyOneDigestCanBeAuthorizedHelper()
DSignatureTest.java856 TestUtils.buildUpon(good, badPurposes).build()); in testInitSignFailsWhenNotAuthorizedToSign()
872 TestUtils.buildUpon(good, badPurposes).build()); in testInitVerifyIgnoresThatNotAuthorizedToVerify()
890 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitSignFailsWhenDigestNotAuthorized()
895 TestUtils.buildUpon(good) in testInitSignFailsWhenDigestNotAuthorized()
916 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitVerifyIgnoresThatDigestNotAuthorized()
944 TestUtils.buildUpon(good).setSignaturePaddings(badPaddingScheme).build()); in testInitSignFailsWhenPaddingNotAuthorized()
972 TestUtils.buildUpon(good).setSignaturePaddings(badPaddingScheme).build()); in testInitVerifyIgnoresThatPaddingNotAuthorized()
986 TestUtils.buildUpon(good).setKeyValidityStart(badStartDate).build()); in testInitSignFailsWhenKeyNotYetValid()
1000 TestUtils.buildUpon(good).setKeyValidityStart(badStartDate).build()); in testInitVerifyIgnoresThatKeyNotYetValid()
1014 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.java544 static KeyProtection.Builder buildUpon(KeyProtection params) { in buildUpon() method in TestUtils
548 static KeyProtection.Builder buildUpon(KeyProtection params, int newPurposes) { in buildUpon() method in TestUtils
552 static KeyProtection.Builder buildUpon( in buildUpon() method in TestUtils
557 static KeyProtection.Builder buildUpon( in buildUpon() method in TestUtils
583 static KeyGenParameterSpec.Builder buildUpon(KeyGenParameterSpec spec) { in buildUpon() method in TestUtils
587 static KeyGenParameterSpec.Builder buildUpon(KeyGenParameterSpec spec, int newPurposes) { in buildUpon() method in TestUtils
591 static KeyGenParameterSpec.Builder buildUpon( in buildUpon() method in TestUtils
596 static KeyGenParameterSpec.Builder buildUpon( in buildUpon() method in TestUtils
/cts/tests/tests/simphonebookprovider/src/android/provider/cts/simphonebook/
DSimPhonebookContract_SimRecordsNoSimTest.java103 SimRecords.getContentUri(1, ElementaryFiles.EF_ADN).buildUpon().appendPath( in getType_invalidUri_returnsNull()
128 EF_ADN).buildUpon().appendPath("invalid").build(), null) in query_invalidUri_throwsIllegalArgumentException()
135 query(SimPhonebookContract.AUTHORITY_URI.buildUpon() in query_subscriptionIdOverflow_throwsIllegalArgumentException()
140 query(SimPhonebookContract.AUTHORITY_URI.buildUpon() in query_subscriptionIdOverflow_throwsIllegalArgumentException()
145 query(SimPhonebookContract.AUTHORITY_URI.buildUpon() in query_subscriptionIdOverflow_throwsIllegalArgumentException()
/cts/tests/tests/os/src/android/os/image/cts/
DDynamicSystemClientTest.java62 Uri uri = Uri.parse("https://www.google.com/").buildUpon().build(); in testDynamicSystemClient()
90 Uri uri = Uri.parse("https://www.google.com/").buildUpon().build(); in testDynamicSystemClient_withoutOnStatusChangedListener()
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStore_Audio_AlbumsTest.java145 Uri filterUri = audioAlbumsUri.buildUpon() in testStoreAudioAlbums()
154 filterUri = audioAlbumsUri.buildUpon().appendQueryParameter("filter", "xyzfoo").build(); in testStoreAudioAlbums()
197 final Uri byMedia = MediaStore.AUTHORITY_URI.buildUpon().appendPath(mVolumeName) in testAlbumArt()
200 final Uri byAlbum = MediaStore.AUTHORITY_URI.buildUpon().appendPath(mVolumeName) in testAlbumArt()
DMediaStore_Audio_ArtistsTest.java127 Uri filterUri = artistsUri.buildUpon() in testStoreAudioArtists()
136 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/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/provider/src/android/provider/cts/
DSmsBackupRestoreTest.java120 final Uri partUri = Telephony.Mms.CONTENT_URI.buildUpon() in clearMessages()
178 final Uri partUri = Telephony.Mms.CONTENT_URI.buildUpon() in testSmsBackupRestore()
210 Uri.Builder builder = Telephony.Mms.CONTENT_URI.buildUpon(); in getMmsAddrUri()
227 final Uri partUri = Telephony.Mms.CONTENT_URI.buildUpon() in addMms()
/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/tests/tests/security/src/android/security/cts/
DSQLiteTest.java67 uri = uri.buildUpon().appendQueryParameter("source_package", mPackageName).build(); in test_android_cve_2019_2195()

123