/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_DumpFileProviderTest.java | 53 Uri uri = Uri.parse(URI_PREFIX + fileName); in testOpenFileDescriptor_throwsErrorWithIllegalFileName() local 60 final Uri uri = Uri.parse(URI_PREFIX + fileName); in testOpenFileDescriptor_worksWithValidFileName() local 71 final Uri uri = Uri.parse(URI_PREFIX + fileName); in testQuery_throwsErrorWithIllegalFileName() local 78 final Uri uri = Uri.parse(URI_PREFIX + fileName); in testQuery_worksWithValidFileName() local 83 private void assertQueryThrowsError(Uri uri) { in assertQueryThrowsError() 94 private void assertOpenFileDescriptorThrowsError(Uri uri) { in assertOpenFileDescriptorThrowsError()
|
D | ContactsContract_StreamItemPhotosTest.java | 56 Uri uri = mResolver.insert(insertUri, values); in testContentDirectoryUri() local 59 assertEquals(Uri.withAppendedPath(insertUri, Long.toString(photoId)), uri); in testContentDirectoryUri() local 69 Uri uri = mResolver.insert(StreamItems.CONTENT_PHOTO_URI, values); in testContentPhotoUri() local 73 Long.toString(photoId)), uri); in testContentPhotoUri() local
|
D | ContactsContract_PhoneLookup.java | 103 final Uri uri = PhoneLookup.CONTENT_FILTER_URI.buildUpon() in testPhoneLookup_nomatch() local 114 final Uri uri = PhoneLookup.CONTENT_FILTER_URI.buildUpon() in testPhoneLookup_found1() local 129 final Uri uri = PhoneLookup.CONTENT_FILTER_URI.buildUpon() in testPhoneLookup_found2() local 144 final Uri uri = PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testPhoneLookupEnterprise_nomatch() local 155 final Uri uri = PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testPhoneLookupEnterprise_found1() local 170 final Uri uri = PhoneLookup.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testPhoneLookupEnterprise_found2() local 180 private void assertCursorStoredValuesWithContactsFilter(Uri uri, long[] contactsId, in assertCursorStoredValuesWithContactsFilter()
|
D | ContactsContract_AggregationSuggestionsTest.java | 63 Uri uri = AggregationSuggestions.builder() in testAggregationSuggestionsByNameReversed() local 85 Uri uri = AggregationSuggestions.builder() in testAggregationSuggestionsByName() local 106 Uri uri = AggregationSuggestions.builder() in testAggregationSuggestionsByName_noMatch() local 122 Uri uri = AggregationSuggestions.builder() in testAggregationSuggestionsByName_matchSecondNameParameter() local 143 Uri uri = AggregationSuggestions.builder() in testAggregationSuggestionsByName_matchFirstNameParameter() local 196 Uri uri = new AggregationSuggestions.Builder().setContactId(12).setLimit(7).build(); in testAggregationSuggestionsQueryBuilderWithContactId() local 202 Uri uri = new AggregationSuggestions.Builder() in testAggregationSuggestionsQueryBuilderWithValues() local
|
D | ContactsContract_SearchSnippetsTest.java | 82 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_NoMatch() local 90 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_MatchEmailAddressCorrectSnippet() local 101 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_MatchPhoneNumberCorrectSnippet() local 112 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_MatchPostalAddressCorrectSnippet() local 123 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_LongMatchTruncation() local 134 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_MultipleMatchesCorrectSnippet() local 155 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_DeferredSnippetingSingleWordQuerySnippetDeferred() local 172 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_DeferredSnippetingMultiWordQuerySnippetNotDeferred() local 193 private void assertCursorStoredValuesWithContactsFilter(Uri uri, long[] contactsId, in assertCursorStoredValuesWithContactsFilter()
|
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/ |
D | PrivateContentProviderGranting.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 40 public String getType(Uri uri) { in getType() 45 public Uri insert(Uri uri, ContentValues values) { in insert() 55 public Cursor query(Uri uri, String[] projection, String selection, in query() 61 public int update(Uri uri, ContentValues values, String selection, in update() 67 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
|
D | PermissionContentProviderPathRestricting.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 40 public String getType(Uri uri) { in getType() 45 public Uri insert(Uri uri, ContentValues values) { in insert() 55 public Cursor query(Uri uri, String[] projection, String selection, in query() 61 public int update(Uri uri, ContentValues values, String selection, in update() 67 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
|
D | PermissionContentProviderPath.java | 18 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 24 public String getType(Uri uri) { in getType() 29 public Uri insert(Uri uri, ContentValues values) { in insert() 39 public Cursor query(Uri uri, String[] projection, String selection, in query() 45 public int update(Uri uri, ContentValues values, String selection, in update() 51 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
|
D | PrivateContentProvider.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 40 public String getType(Uri uri) { in getType() 45 public Uri insert(Uri uri, ContentValues values) { in insert() 55 public Cursor query(Uri uri, String[] projection, String selection, in query() 61 public int update(Uri uri, ContentValues values, String selection, in update() 67 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
|
D | PermissionContentProviderGranting.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 40 public String getType(Uri uri) { in getType() 45 public Uri insert(Uri uri, ContentValues values) { in insert() 55 public Cursor query(Uri uri, String[] projection, String selection, in query() 61 public int update(Uri uri, ContentValues values, String selection, in update() 67 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
|
D | AmbiguousContentProvider.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 40 public String getType(Uri uri) { in getType() 45 public Uri insert(Uri uri, ContentValues values) { in insert() 55 public Cursor query(Uri uri, String[] projection, String selection, in query() 61 public int update(Uri uri, ContentValues values, String selection, in update() 67 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
|
D | PermissionContentProvider.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 40 public String getType(Uri uri) { in getType() 45 public Uri insert(Uri uri, ContentValues values) { in insert() 55 public Cursor query(Uri uri, String[] projection, String selection, in query() 61 public int update(Uri uri, ContentValues values, String selection, in update() 67 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
|
D | GrantUriPermission.java | 48 final Uri uri = intent.getParcelableExtra(EXTRA_URI); in onReceive() local 49 context.grantUriPermission(intent.getStringExtra(EXTRA_PACKAGE_NAME), uri, in onReceive() local 53 final Uri uri = intent.getParcelableExtra(EXTRA_URI); in onReceive() local 81 final Uri uri = intent.getParcelableExtra(EXTRA_URI); in verifyOutgoingPersisted() local
|
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareAppCompat/src/com/android/cts/permissiondeclareappcompat/ |
D | AmbiguousContentProvider.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 40 public String getType(Uri uri) { in getType() 45 public Uri insert(Uri uri, ContentValues values) { in insert() 55 public Cursor query(Uri uri, String[] projection, String selection, in query() 61 public int update(Uri uri, ContentValues values, String selection, in update() 67 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | BasicContentProvider.java | 34 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 40 public String getType(Uri uri) { in getType() 45 public Uri insert(Uri uri, ContentValues values) { in insert() 55 public Cursor query(Uri uri, String[] projection, String selection, in query() 61 public int update(Uri uri, ContentValues values, String selection, in update() 67 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
|
D | ContentTest.java | 70 Uri uri = getUriWithTextInFile("reading_test", MESSAGE); in testReceiverCanRead() local 90 Uri uri = getUriWithTextInFile("writing_test", ""); in testReceiverCanWrite() local 103 Uri uri = getUriWithTextInFile("persistable_test", MESSAGE); in testPersistablePermission() local 152 final Uri uri = Uri.parse("content://media/external/images/media/10240"); in testSecurity() local 168 private void grantPersistableReadPermission(Uri uri) throws Exception { in grantPersistableReadPermission() 207 private String getFirstLineFromUri(Uri uri) { in getFirstLineFromUri()
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
D | MmsPduProvider.java | 39 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 46 public String getType(Uri uri) { in getType() 52 public Uri insert(Uri uri, ContentValues values) { in insert() 58 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 64 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update() 70 public ParcelFileDescriptor openFile(Uri uri, String fileMode) throws FileNotFoundException { in openFile()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | MockContentProvider.java | 46 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 51 public String getType(Uri uri) { in getType() 56 public Uri insert(Uri uri, ContentValues initialValues) { in insert() 61 public Cursor query(Uri uri, String[] projection, String selection, in query() 67 public int update(Uri uri, ContentValues values, String selection, in update() 73 public AssetFileDescriptor openAssetFile(Uri uri, String mode) in openAssetFile() 81 public void writeDataToPipe(ParcelFileDescriptor output, Uri uri, String mimeType, Bundle opts, in writeDataToPipe()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodPresentMediaDialog.java | 52 public static ByodPresentMediaDialog newImageInstance(Uri uri) { in newImageInstance() 63 public static ByodPresentMediaDialog newVideoInstance(Uri uri) { in newVideoInstance() 74 public static ByodPresentMediaDialog newAudioInstance(Uri uri) { in newAudioInstance() 102 Uri uri = (Uri) getArguments().getParcelable(KEY_VIDEO_URI); in onCreateDialog() local 118 Uri uri = (Uri) getArguments().getParcelable(KEY_IMAGE_URI); in onCreateDialog() local 126 Uri uri = (Uri) getArguments().getParcelable(KEY_AUDIO_URI); in onCreateDialog() local 133 mediaPlayer.setDataSource(getActivity(), uri); in onCreateDialog() local
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ContentProviderTest.java | 53 Uri uri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + in testOpenAssetFile() local 113 Uri uri = Uri.parse("content://browser/bookmarks"); in testBulkInsert() local 172 Uri uri = Uri.parse("content://test"); in testOpenFile() local 194 Uri uri = Uri.parse("content://test"); in testOpenFileHelper() local 239 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 244 public String getType(Uri uri) { in getType() 249 public Uri insert(Uri uri, ContentValues values) { in insert() 259 public Cursor query(Uri uri, String[] projection, String selection, in query() 265 public int update(Uri uri, ContentValues values, String selection, in update() 289 public ParcelFileDescriptor openFileHelperWrapper(Uri uri, String mode) in openFileHelperWrapper() [all …]
|
D | AvailableIntentsTest.java | 55 Uri uri = Uri.parse(NORMAL_URL); in testViewNormalUrl() local 65 Uri uri = Uri.parse(SECURE_URL); in testViewSecureUrl() local 75 Uri uri = Uri.parse(NORMAL_URL); in testWebSearchNormalUrl() local 86 Uri uri = Uri.parse(SECURE_URL); in testWebSearchSecureUrl() local 109 Uri uri = Uri.parse("tel:2125551212"); in testCallPhoneNumber() local 121 Uri uri = Uri.parse("tel:(212)5551212"); in testDialPhoneNumber() local 133 Uri uri = Uri.parse("voicemail:"); in testDialVoicemail() local
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature/src/com/android/cts/splitapp/ |
D | FeatureProvider.java | 61 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query() 67 public String getType(Uri uri) { in getType() 72 public Uri insert(Uri uri, ContentValues values) { in insert() 77 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete() 82 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
|
/cts/tests/tests/net/src/android/net/cts/ |
D | UriTest.java | 96 Uri uri = Uri.parse("http://localhost:42"); in testStringUri() local 174 Uri uri = Uri.fromFile(f); in testFromFile() local 183 Uri uri = Uri.parse("content://user"); in testQueryParameters() local 198 Uri uri = Uri.parse("content://user/a/b"); in testPathOperations() local 235 Uri uri = Uri.parse("mailto:nobody"); in testOpaqueUri() local 257 private void testOpaqueUri(Uri uri) { in testOpaqueUri() 324 Uri uri = Uri.parse(uriString); in testHierarchical() local 382 Uri uri, in compareHierarchical()
|
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/ |
D | DocumentsClientTest.java | 145 final Uri uri = result.data.getData(); in testOpenSimple() local 174 final Uri uri = result.data.getData(); in testCreateNew() local 205 final Uri uri = result.data.getData(); in testCreateExisting() local 225 final Uri uri = result.data.getData(); in testTree() local 304 private String getColumn(Uri uri, String column) { in getColumn() 315 private byte[] readFully(Uri uri) throws IOException { in readFully() 331 private void writeFully(Uri uri, byte[] data) throws IOException { in writeFully()
|
/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() local 110 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertCleartextHttpURLConnectionBlocked() local 131 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertAndroidHttpClientCleartextRequestSucceeds() local 148 Uri uri = Uri.parse(url.toString()).buildUpon().scheme(null).authority(null).build(); in assertAndroidHttpClientCleartextRequestBlocked() local 162 Uri uri = Uri.parse(mHttpOnlyWebServer.getUserAgentUrl()); in assertMediaPlayerCleartextRequestSucceeds() local 163 mediaPlayer.setDataSource(getContext(), uri); in assertMediaPlayerCleartextRequestSucceeds() local 180 Uri uri = Uri.parse(mHttpOnlyWebServer.getUserAgentUrl()); in assertMediaPlayerCleartextRequestBlocked() local 181 mediaPlayer.setDataSource(getContext(), uri); in assertMediaPlayerCleartextRequestBlocked() local 197 Uri uri = Uri.parse(mHttpOnlyWebServer.getTestDownloadUrl("netsecpolicy", 0)); in testDownloadManager() local 213 private int[] downloadUsingDownloadManager(Uri uri) throws Exception { in downloadUsingDownloadManager()
|