/cts/tests/tests/net/src/android/net/cts/ |
D | UriTest.java | 46 u = u.buildUpon().build(); in parcelAndUnparcel() 53 Uri u = Uri.parse("bob:lee").buildUpon().scheme("robert").build(); in testBuildUpon() 63 Uri b = a.buildUpon().fragment("new").build(); in testBuildUpon() 72 b = a.buildUpon().fragment("new").build(); in testBuildUpon() 186 uri = uri.buildUpon().appendQueryParameter("a", "b").build(); in testQueryParameters() 189 uri = uri.buildUpon().appendQueryParameter("a", "b2").build(); in testQueryParameters() 192 uri = uri.buildUpon().appendQueryParameter("c", "d").build(); in testQueryParameters() 206 uri = uri.buildUpon().appendPath("c").build(); in testPathOperations() 230 Uri withC = Uri.parse("foo:/a/b/").buildUpon().appendPath("c").build(); in testPathOperations() 238 uri = uri.buildUpon().build(); in testOpaqueUri() [all …]
|
D | Uri_BuilderTest.java | 26 Builder builder = uri.buildUpon(); in testBuilderOperations() 36 builder = uri.buildUpon(); in testBuilderOperations()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_PhoneLookup.java | 131 final Uri uri = PhoneLookup.CONTENT_FILTER_URI.buildUpon() in testPhoneLookup_nomatch() 142 final Uri uri = PhoneLookup.CONTENT_FILTER_URI.buildUpon() in testPhoneLookup_found1() 159 final Uri uri = PhoneLookup.CONTENT_FILTER_URI.buildUpon() in testPhoneLookup_found2() 173 final Uri uri = PhoneLookup.CONTENT_FILTER_URI.buildUpon() in testPhoneLookup_sip_found() 191 final Uri uri = PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testPhoneLookupEnterprise_nomatch() 202 final Uri uri = PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testPhoneLookupEnterprise_found1() 219 final Uri uri = PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testPhoneLookupEnterprise_found2() 233 final Uri uri = PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testPhoneLookupEnterprise_sip_found()
|
D | ContactsContract_SearchSnippetsTest.java | 82 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_NoMatch() 90 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_MatchEmailAddressCorrectSnippet() 101 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_MatchPhoneNumberCorrectSnippet() 112 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_MatchPostalAddressCorrectSnippet() 123 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_LongMatchTruncation() 134 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_MultipleMatchesCorrectSnippet() 155 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_DeferredSnippetingSingleWordQuerySnippetDeferred() 172 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_DeferredSnippetingMultiWordQuerySnippetNotDeferred()
|
D | ContactsContract_FrequentsStrequentsTest.java | 250 Uri uri = Contacts.CONTENT_STREQUENT_FILTER_URI.buildUpon().appendEncodedPath("ta").build(); in testStrequents_withFilter() 271 Contacts.CONTENT_STREQUENT_FILTER_URI.buildUpon() in testStrequents_projection() 287 Uri uri = Contacts.CONTENT_STREQUENT_URI.buildUpon(). in testStrequents_phoneOnly() 309 Uri uri = Contacts.CONTENT_STREQUENT_URI.buildUpon(). in testStrequents_phoneOnlyFrequentsOrder() 325 Uri uri = Contacts.CONTENT_STREQUENT_URI.buildUpon(). in testStrequents_phoneOnly_projection() 418 Uri uri = ContactsContract.DataUsageFeedback.FEEDBACK_URI.buildUpon(). in markDataAsUsed()
|
D | SmsBackupRestoreTest.java | 117 final Uri partUri = Telephony.Mms.CONTENT_URI.buildUpon() in clearMessages() 172 final Uri partUri = Telephony.Mms.CONTENT_URI.buildUpon() in testSmsBackupRestore() 203 Uri.Builder builder = Telephony.Mms.CONTENT_URI.buildUpon(); in getMmsAddrUri() 220 final Uri partUri = Telephony.Mms.CONTENT_URI.buildUpon() in addMms()
|
D | ContactsContract_DataUsageTest.java | 102 Uri uri = DataUsageFeedback.FEEDBACK_URI.buildUpon().appendPath(TextUtils.join(",", ids)) in updateMultipleAndAssertUpdateSuccess() 114 Uri uri = DataUsageFeedback.FEEDBACK_URI.buildUpon().appendPath(String.valueOf(dataId)) in updateDataUsageAndAssert()
|
D | MediaStore_Audio_AlbumsTest.java | 141 Uri filterUri = audioAlbumsUri.buildUpon() in testStoreAudioAlbums() 150 filterUri = audioAlbumsUri.buildUpon().appendQueryParameter("filter", "xyzfoo").build(); in testStoreAudioAlbums() 179 uri.buildUpon().appendPath("albumart").build(), "r"); in testAlbumArt()
|
D | MediaStore_Audio_ArtistsTest.java | 111 Uri filterUri = artistsUri.buildUpon() in testStoreAudioArtists() 120 filterUri = artistsUri.buildUpon().appendQueryParameter("filter", "xyzfoo").build(); in testStoreAudioArtists()
|
D | MediaStore_Audio_MediaTest.java | 167 Uri filterUri = baseUri.buildUpon() in testStoreAudioMedia() 176 filterUri = baseUri.buildUpon().appendQueryParameter("filter", "xyzfoo").build(); in testStoreAudioMedia()
|
D | ContactsContract_ContactCountsTest.java | 74 final Uri uri = Contacts.CONTENT_URI.buildUpon() in testContactCounts_correctCountsReturned()
|
D | ContactsContract_StreamItemsTest.java | 63 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId).buildUpon() in testContentDirectoryUri()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | CipherTest.java | 815 TestUtils.buildUpon(good, KeyProperties.PURPOSE_ENCRYPT).build()); in testInitDecryptFailsWhenNotAuthorizedToDecrypt() 834 TestUtils.buildUpon(good, KeyProperties.PURPOSE_DECRYPT).build()); in testInitEncryptSymmetricFailsWhenNotAuthorizedToEncrypt() 853 TestUtils.buildUpon(good, 0).build()); in testInitEncryptAsymmetricIgnoresAuthorizedPurposes() 878 TestUtils.buildUpon(good).setBlockModes(badBlockMode).build()); in testInitDecryptFailsWhenBlockModeNotAuthorized() 911 TestUtils.buildUpon(good).setBlockModes(badBlockMode).build()); in testInitEncryptSymmetricFailsWhenBlockModeNotAuthorized() 934 TestUtils.buildUpon(good).setBlockModes().build()); in testInitEncryptAsymmetricIgnoresAuthorizedBlockModes() 958 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitDecryptFailsWhenDigestNotAuthorized() 964 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitDecryptFailsWhenDigestNotAuthorized() 995 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitEncryptSymmetricFailsWhenDigestNotAuthorized() 1001 TestUtils.buildUpon(good).setDigests(badDigest).build()); in testInitEncryptSymmetricFailsWhenDigestNotAuthorized() [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 | SignatureTest.java | 849 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 …]
|
D | KeyGeneratorTest.java | 224 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testAesKeySupportedSizes() 227 spec = TestUtils.buildUpon(goodSpec.setKeySize(i)).build(); in testAesKeySupportedSizes() 317 keyGenerator.init(TestUtils.buildUpon(goodSpec).setDigests(digest).build()); in testHmacKeyOnlyOneDigestCanBeAuthorized() 324 keyGenerator.init(TestUtils.buildUpon(goodSpec).setDigests().build()); in testHmacKeyOnlyOneDigestCanBeAuthorized() 331 keyGenerator.init(TestUtils.buildUpon(goodSpec) in testHmacKeyOnlyOneDigestCanBeAuthorized() 337 keyGenerator.init(TestUtils.buildUpon(goodSpec) in testHmacKeyOnlyOneDigestCanBeAuthorized()
|
D | TestUtils.java | 467 static KeyProtection.Builder buildUpon(KeyProtection params) { in buildUpon() method in TestUtils 471 static KeyProtection.Builder buildUpon(KeyProtection params, int newPurposes) { in buildUpon() method in TestUtils 475 static KeyProtection.Builder buildUpon( in buildUpon() method in TestUtils 480 static KeyProtection.Builder buildUpon( in buildUpon() method in TestUtils 505 static KeyGenParameterSpec.Builder buildUpon(KeyGenParameterSpec spec) { in buildUpon() method in TestUtils 509 static KeyGenParameterSpec.Builder buildUpon(KeyGenParameterSpec spec, int newPurposes) { in buildUpon() method in TestUtils 513 static KeyGenParameterSpec.Builder buildUpon( in buildUpon() method in TestUtils 518 static KeyGenParameterSpec.Builder buildUpon( in buildUpon() method in TestUtils
|
D | KeyPairGeneratorTest.java | 1097 TestUtils.buildUpon(goodBuilder, KeyProperties.PURPOSE_DECRYPT) in testGenerate_RSA_IndCpaEnforced() 1102 TestUtils.buildUpon(goodBuilder) in testGenerate_RSA_IndCpaEnforced() 1107 TestUtils.buildUpon(goodBuilder) in testGenerate_RSA_IndCpaEnforced() 1114 TestUtils.buildUpon(goodBuilder) in testGenerate_RSA_IndCpaEnforced() 1126 TestUtils.buildUpon(goodBuilder, KeyProperties.PURPOSE_DECRYPT) in testGenerate_EC_IndCpaEnforced() 1131 TestUtils.buildUpon(goodBuilder) in testGenerate_EC_IndCpaEnforced() 1136 TestUtils.buildUpon(goodBuilder) in testGenerate_EC_IndCpaEnforced()
|
/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/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 | ContactsTest.java | 939 phoneLookupUri.buildUpon().appendQueryParameter(ContactsContract.DIRECTORY_PARAM_KEY, in showQuickContactInternal() 1142 Uri uri = baseUri.buildUpon().appendPath(phoneNumber).build(); in getContactInfoFromPhoneLookupUri() 1158 Uri uri = baseUri.buildUpon().appendPath(sipAddress) in getContactInfoFromEnterprisePhoneLookupUriWithSipAddress() 1166 Uri uri = PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI.buildUpon().appendPath(phoneNumber) in getContactInfoFromEnterprisePhoneLookupUriInDirectory() 1183 Uri uri = Email.ENTERPRISE_CONTENT_LOOKUP_URI.buildUpon().appendPath(email) in getContactInfoFromEnterpriseEmailLookupUriInDirectory() 1193 .buildUpon().appendQueryParameter(ContactsContract.DIRECTORY_PARAM_KEY, in getContactInfoFromEnterpriseCallableFilterUriInDirectory() 1202 .buildUpon().appendQueryParameter(ContactsContract.DIRECTORY_PARAM_KEY, in getContactInfoFromEnterpriseEmailFilterUriInDirectory() 1211 .buildUpon().appendQueryParameter(ContactsContract.DIRECTORY_PARAM_KEY, in getContactInfoFromEnterpriseContactFilterUriInDirectory() 1220 .buildUpon().appendQueryParameter(ContactsContract.DIRECTORY_PARAM_KEY, in getContactInfoFromEnterprisePhoneFilterUriInDirectory()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | RawContactUtil.java | 86 .buildUpon() in delete()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | SearchUtil.java | 55 Uri.Builder uriBuilder = getSearchUri(searchable).buildUpon(); in verifySearchResult()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | DefaultDialerOperationsTest.java | 102 Voicemails.CONTENT_URI.buildUpon().appendPath("999").build(), in testVoicemailReadWritePermissions()
|
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/ |
D | AccessPermissionWithDiffSigTest.java | 1169 final Uri test = PERM_URI_PATH_RESTRICTING.buildUpon().appendPath("fo").build(); in testRestrictingProviderNoMatchingPath() 1180 final Uri test1 = PERM_URI_PATH_RESTRICTING.buildUpon().appendPath("foo").build(); in testRestrictingProviderMatchingPathDenied() 1185 final Uri test2 = PERM_URI_PATH_RESTRICTING.buildUpon() in testRestrictingProviderMatchingPathDenied() 1197 final Uri test1 = PERM_URI_PATH_RESTRICTING.buildUpon() in testRestrictingProviderMultipleMatchingPath() 1203 final Uri test2 = PERM_URI_PATH_RESTRICTING.buildUpon() in testRestrictingProviderMultipleMatchingPath()
|