Home
last modified time | relevance | path

Searched defs:uri (Results 1 – 25 of 356) sorted by relevance

12345678910>>...15

/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_DumpFileProviderTest.java52 Uri uri = Uri.parse(URI_PREFIX + fileName); in testOpenFileDescriptor_throwsErrorWithIllegalFileName() local
59 final Uri uri = Uri.parse(URI_PREFIX + fileName); in testOpenFileDescriptor_worksWithValidFileName() local
70 final Uri uri = Uri.parse(URI_PREFIX + fileName); in testQuery_throwsErrorWithIllegalFileName() local
77 final Uri uri = Uri.parse(URI_PREFIX + fileName); in testQuery_worksWithValidFileName() local
82 private void assertQueryThrowsError(Uri uri) { in assertQueryThrowsError()
93 private void assertOpenFileDescriptorThrowsError(Uri uri) { in assertOpenFileDescriptorThrowsError()
DContactsContract_SearchSnippetsTest.java82 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_NoMatch() local
90 final Uri uri = ContactsContract.Contacts.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testEnterpriseSearchSnippets_NoMatch() local
99 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_MatchEmailAddressCorrectSnippet() local
110 final Uri uri = ContactsContract.Contacts.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testEnterpriseSearchSnippets_MatchEmailAddressCorrectSnippet() local
122 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_MatchPhoneNumberCorrectSnippet() local
133 final Uri uri = ContactsContract.Contacts.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testEnterpriseSearchSnippets_MatchPhoneNumberCorrectSnippet() local
145 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_MatchPostalAddressCorrectSnippet() local
156 final Uri uri = ContactsContract.Contacts.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testEnterpriseSearchSnippets_MatchPostalAddressCorrectSnippet() local
168 final Uri uri = ContactsContract.Contacts.CONTENT_FILTER_URI.buildUpon() in testSearchSnippets_LongMatchTruncation() local
179 final Uri uri = ContactsContract.Contacts.ENTERPRISE_CONTENT_FILTER_URI.buildUpon() in testEnterpriseSearchSnippets_LongMatchTruncation() local
[all …]
/cts/tests/JobSchedulerSharedUid/jobperm/src/android/jobscheduler/cts/shareduid/jobperm/
DJobPermProvider.java44 Uri uri = extras.getParcelable("uri"); in call() local
51 Uri uri = extras.getParcelable("uri"); in call() local
63 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
69 public String getType(Uri uri) { in getType()
74 public Uri insert(Uri uri, ContentValues values) { in insert()
84 public Cursor query(Uri uri, String[] projection, String selection, in query()
90 public int update(Uri uri, ContentValues values, String selection, in update()
96 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DAutomationFileProvider.java42 public String getType(Uri uri) { in getType()
47 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
54 public ParcelFileDescriptor openFile(Uri uri, String mode, CancellationSignal signal) in openFile()
60 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
66 public Uri insert(Uri uri, ContentValues values) { in insert()
71 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
76 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/cts/hostsidetests/appsecurity/test-apps/UsePermissionDiffCert/src/com/android/cts/usespermissiondiffcertapp/
DAsserts.java46 Uri uri = item.getUri(); in assertAccess() local
63 static void assertAccess(Uri uri, int mode) { in assertAccess()
76 static void assertReadingContentUriNotAllowed(Uri uri, String msg) { in assertReadingContentUriNotAllowed()
85 static void assertReadingContentUriAllowed(Uri uri) { in assertReadingContentUriAllowed()
100 Uri uri = item.getUri(); in assertReadingClipNotAllowed() local
117 static void assertOpenFileDescriptorModeNotAllowed(Uri uri, String msg, String mode) { in assertOpenFileDescriptorModeNotAllowed()
128 static void assertContentUriAllowed(Uri uri) { in assertContentUriAllowed()
133 static void assertContentUriNotAllowed(Uri uri, String msg) { in assertContentUriNotAllowed()
138 static void assertWritingContentUriNotAllowed(Uri uri, String msg) { in assertWritingContentUriNotAllowed()
177 static void assertWritingContentUriAllowed(Uri uri) { in assertWritingContentUriAllowed()
[all …]
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
DPermissionContentProvider.java34 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()
DPrivateContentProviderGranting.java34 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()
DPermissionContentProviderGranting.java34 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()
DPermissionContentProviderPathRestricting.java34 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()
DAmbiguousContentProvider.java34 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()
DPermissionContentProviderPath.java18 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()
DPrivateContentProvider.java34 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/tests/tests/content/HelloWorldApp/src5/com/example/helloworld/
DTestContentProvider.java28 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
32 public String getType(Uri uri) { in getType()
36 public Uri insert(Uri uri, ContentValues values) { in insert()
44 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
49 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
53 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/
DBasicContentProvider.java34 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/tests/tests/content/HelloWorldApp/src_system_user_only/com/example/helloworld/
DTestProvider.java29 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
33 public String getType(Uri uri) { in getType()
37 public Uri insert(Uri uri, ContentValues values) { in insert()
45 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
50 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
54 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
DSystemUserOnlyProvider.java29 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
33 public String getType(Uri uri) { in getType()
37 public Uri insert(Uri uri, ContentValues values) { in insert()
45 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
50 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
54 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
/cts/hostsidetests/appsecurity/test-apps/PermissionDeclareAppCompat/src/com/android/cts/permissiondeclareappcompat/
DAmbiguousContentProvider.java34 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/tests/tests/slice/src/android/slice/cts/
DSliceBindingTest.java88 Uri uri = BASE_URI.buildUpon().appendPath("subslice").build(); in testSubSlice() local
104 Uri uri = BASE_URI.buildUpon().appendPath("text").build(); in testText() local
119 Uri uri = BASE_URI.buildUpon().appendPath("icon").build(); in testIcon() local
147 Uri uri = BASE_URI.buildUpon().appendPath("action").build(); in testAction() local
171 Uri uri = BASE_URI.buildUpon().appendPath("int").build(); in testInt() local
184 Uri uri = BASE_URI.buildUpon().appendPath("timestamp").build(); in testTimestamp() local
200 Uri uri = BASE_URI.buildUpon().appendPath("hints").build(); in testHints() local
213 Uri uri = BASE_URI.buildUpon().appendPath("hints").build(); in testHasHints() local
223 Uri uri = BASE_URI.buildUpon().appendPath("bundle").build(); in testBundle() local
252 Uri uri = BASE_URI.buildUpon().appendPath("spec").build(); in testGetSliceSpec() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DEmptyProvider.java41 public AssetFileDescriptor openAssetFile(Uri uri, String mode) throws FileNotFoundException { in openAssetFile()
46 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
52 public String getType(Uri uri) { in getType()
57 public Uri insert(Uri uri, ContentValues values) { in insert()
62 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
67 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21000/src/android/security/cts/CVE_2023_21000/
DTestContentProvider.java33 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
37 public String getType(Uri uri) { in getType()
41 public Uri insert(Uri uri, ContentValues values) { in insert()
49 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
54 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
58 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { in openFile()
/cts/tests/tests/content/src/android/content/cts/
DContentProviderTest.java97 Uri uri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + in testOpenAssetFile() local
159 Uri uri = Uri.parse("content://browser/bookmarks"); in testBulkInsert() local
223 Uri uri = Uri.parse("content://test"); in testOpenFile() local
245 Uri uri = Uri.parse("content://test"); in testOpenFileHelper() local
290 Uri uri = Uri.parse("content://test"); in testOpenPipeHelper() local
348 final Uri uri = Uri.parse("content://test"); in testCheckUriPermission() local
362 final Uri uri = Uri.parse("notcontent://test"); in testCreateContentUriForUser_nonContentUri_throwsIAE() local
370 final Uri uri = Uri.parse("content://07@Test"); in testCreateContentUriForUser_UriWithDifferentUserID_throwsIAE() local
378 final Uri uri = Uri.parse("content://7@Test"); in testCreateContentUriForUser_UriWithUserID_unchanged() local
409 private String getAudioContentDisplayName(ContentResolver resolver, Uri uri) { in getAudioContentDisplayName()
[all …]
/cts/tests/tests/webkit/src/android/webkit/cts/
DMockContentProvider.java46 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/tests/tests/telephony/current/src/android/telephony/cts/
DMmsPduProvider.java39 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/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DAssetsProvider.java41 public AssetFileDescriptor openAssetFile(@NonNull Uri uri, @NonNull String mode) in openAssetFile()
58 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, @Nullable String selection, in query()
65 public String getType(@NonNull Uri uri) { in getType()
71 public Uri insert(@NonNull Uri uri, @Nullable ContentValues values) { in insert()
76 public int delete(@NonNull Uri uri, @Nullable String selection, in delete()
82 public int update(@NonNull Uri uri, @Nullable ContentValues values, @Nullable String selection, in update()
/cts/tests/tests/content/PackagePropertyTestApp/src/com/android/cts/packagepropertyapp/
DMyProvider.java32 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
38 public String getType(Uri uri) { in getType()
43 public Uri insert(Uri uri, ContentValues values) { in insert()
48 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
53 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()

12345678910>>...15