/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/ |
D | ContactsContract_SearchSnippetsTest.java | 82 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 …]
|
D | ContactsContract_PhoneLookup.java | 130 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()
|
D | ContactsContract_FrequentsStrequentsTest.java | 238 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()
|
D | ContactsContract_DirectoryTest.java | 106 Directory.CONTENT_URI.buildUpon().appendPath("1").build())); in testQueryParameters() 112 final Uri queryUri = Contacts.CONTENT_FILTER_URI.buildUpon() in testQueryParameters()
|
D | ContactsContract_DataUsageTest.java | 104 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/ |
D | SliceBindingTest.java | 65 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 …]
|
D | SlicePermissionsTest.java | 81 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()
|
D | SliceManagerTest.java | 107 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/ |
D | AccessPermissionWithDiffSigTest.java | 182 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/ |
D | NetworkSecurityPolicyTestBase.java | 87 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/ |
D | CipherTest.java | 1180 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 …]
|
D | KeyGeneratorTest.java | 269 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()
|
D | SignatureTest.java | 856 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 …]
|
D | MacTest.java | 379 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()
|
D | TestUtils.java | 544 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/ |
D | SimPhonebookContract_SimRecordsNoSimTest.java | 103 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/ |
D | DynamicSystemClientTest.java | 62 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/ |
D | MediaStore_Audio_AlbumsTest.java | 145 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()
|
D | MediaStore_Audio_ArtistsTest.java | 127 Uri filterUri = artistsUri.buildUpon() in testStoreAudioArtists() 136 filterUri = artistsUri.buildUpon().appendQueryParameter("filter", "xyzfoo").build(); in testStoreAudioArtists()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentUrisTest.java | 93 Builder b = uri1.buildUpon(); in testAppendId() 99 b = uri2.buildUpon(); in testAppendId()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | Utils.java | 28 Uri.Builder builder = uri.buildUpon(); in getUriWithoutUserId()
|
D | ContactsTest.java | 946 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/ |
D | SmsBackupRestoreTest.java | 120 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/ |
D | CtsDownloadService.java | 101 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/ |
D | SQLiteTest.java | 67 uri = uri.buildUpon().appendQueryParameter("source_package", mPackageName).build(); in test_android_cve_2019_2195()
|