Home
last modified time | relevance | path

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

12345678910

/cts/tests/tests/provider/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/hostsidetests/appsecurity/test-apps/PermissionDeclareApp/src/com/android/cts/permissiondeclareapp/
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()
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()
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/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/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/provider/src/android/provider/cts/
DMediaStorePlacementTest.java76 final Uri uri = ProviderTestUtils.stageMedia(R.drawable.scenery, in testDefault() local
88 final Uri uri = ProviderTestUtils.stageMedia(R.drawable.scenery, in testIgnored() local
115 final Uri uri = ProviderTestUtils.stageMedia(R.drawable.scenery, in testDisplayName_SameMime() local
130 final Uri uri = ProviderTestUtils.stageMedia(R.drawable.scenery, in testDisplayName_DifferentMime() local
148 final Uri uri = ProviderTestUtils.stageMedia(R.drawable.scenery, in testDirectory_Valid() local
188 final Uri uri = ProviderTestUtils.stageMedia(R.drawable.scenery, in testDirectory_Invalid() local
204 final Uri uri = ProviderTestUtils.scanFile(file); in testDirectory_InsideSandbox() local
218 final Uri uri = ProviderTestUtils.stageMedia(R.drawable.scenery, in testDirectory_OutsideSandbox() local
229 private boolean updatePlacement(Uri uri, Optional<String> path, Optional<String> displayName) in updatePlacement()
DTestSRSProvider.java31 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
37 public String getType(Uri uri) { in getType()
42 public Uri insert(Uri uri, ContentValues values) { in insert()
47 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
52 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/cts/tests/tests/slice/src/android/slice/cts/
DSliceBindingTest.java87 Uri uri = BASE_URI.buildUpon().appendPath("subslice").build(); in testSubSlice() local
103 Uri uri = BASE_URI.buildUpon().appendPath("text").build(); in testText() local
118 Uri uri = BASE_URI.buildUpon().appendPath("icon").build(); in testIcon() local
144 Uri uri = BASE_URI.buildUpon().appendPath("action").build(); in testAction() local
168 Uri uri = BASE_URI.buildUpon().appendPath("int").build(); in testInt() local
181 Uri uri = BASE_URI.buildUpon().appendPath("timestamp").build(); in testTimestamp() local
197 Uri uri = BASE_URI.buildUpon().appendPath("hints").build(); in testHints() local
210 Uri uri = BASE_URI.buildUpon().appendPath("hints").build(); in testHasHints() local
220 Uri uri = BASE_URI.buildUpon().appendPath("bundle").build(); in testBundle() local
249 Uri uri = BASE_URI.buildUpon().appendPath("spec").build(); in testGetSliceSpec() local
DSlicePermissionsTest.java81 Uri uri = BASE_URI.buildUpon() in testGrantParent() local
97 Uri uri = BASE_URI.buildUpon() in testGrantParentExpands() local
124 Uri uri = BASE_URI.buildUpon() in testGrantChild() local
158 Uri uri = BASE_URI.buildUpon() in testRevokeParent() local
179 Uri uri = BASE_URI.buildUpon() in testRevokeChild() local
/cts/tests/tests/location/src/android/location/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/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/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/telephonyprovider/src/android/telephonyprovider/cts/
DSmsTest.java73 Uri uri = mSmsTestHelper.insertTestSms(TEST_ADDRESS, TEST_SMS_BODY); in testSmsInsert() local
89 Uri uri = mSmsTestHelper.insertTestSms(TEST_ADDRESS, TEST_SMS_BODY); in testSmsDelete() local
107 Uri uri = mSmsTestHelper.insertTestSms(TEST_ADDRESS, TEST_SMS_BODY); in testSmsUpdate() local
128 Uri uri = mContentResolver.insert(Telephony.Sms.CONTENT_URI, values); in testInsertSmsFromSubid_verifySmsFromNotOtherSubId() local
138 Uri uri = mSmsTestHelper.insertTestSms(TEST_ADDRESS, TEST_SMS_BODY); in testInsertSms_canUpdateSeen() local
156 Uri uri = mSmsTestHelper.insertTestSms(TEST_ADDRESS, TEST_SMS_BODY); in testInsertSms_canUpdateSmsStatus() local
172 Uri uri = mSmsTestHelper.insertTestSms(TEST_ADDRESS, TEST_SMS_BODY); in testInsertSms_canUpdateSmsType() local
189 Uri uri = mContentResolver.insert(Telephony.Sms.CONTENT_URI, values); in testQueryThreadId_returnSameThreadId() local
216 Uri uri = mSmsTestHelper.insertTestSms(TEST_ADDRESS, TEST_SMS_BODY); in testDefaultValuesAreInsertedInSmsTable() local
277 Uri uri = mSmsTestHelper.insertTestSms(TEST_ADDRESS, testSmsBodyEmoji); in testInsertEmoji_andVerify() local
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DSyncManagerCtsProvider.java30 public Cursor query(Uri uri, String[] projection, String selection, in query()
36 public String getType(Uri uri) { in getType()
41 public Uri insert(Uri uri, ContentValues values) { in insert()
46 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
51 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/cts/tests/tests/appcomponentfactory/src/android/app/componentfactory/cts/
DMyProvider.java29 public Cursor query(Uri uri, String[] projection, String selection, String[] selectionArgs, in query()
35 public String getType(Uri uri) { in getType()
40 public Uri insert(Uri uri, ContentValues values) { in insert()
45 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
50 public int update(Uri uri, ContentValues values, String selection, String[] selectionArgs) { in update()
/cts/hostsidetests/content/test-apps/CtsSyncInvalidAccountAuthorityTestCases/src/android/content/sync/cts/
DStubProvider.java33 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, in query()
40 public String getType(@NonNull Uri uri) { in getType()
45 public Uri insert(@NonNull Uri uri, @Nullable ContentValues values) { in insert()
50 public int delete(@NonNull Uri uri, @Nullable String selection, in delete()
56 public int update(@NonNull Uri uri, @Nullable ContentValues values, in update()
/cts/tests/tests/content/SyncAccountAccessStubs/src/com/android/cts/stub/
DStubProvider.java33 public Cursor query(@NonNull Uri uri, @Nullable String[] projection, in query()
40 public String getType(@NonNull Uri uri) { in getType()
45 public Uri insert(@NonNull Uri uri, @Nullable ContentValues values) { in insert()
50 public int delete(@NonNull Uri uri, @Nullable String selection, in delete()
56 public int update(@NonNull Uri uri, @Nullable ContentValues values, in update()
/cts/tests/tests/content/src/android/content/cts/
DContentProviderTest.java55 Uri uri = Uri.parse(ContentResolver.SCHEME_ANDROID_RESOURCE + in testOpenAssetFile() local
115 Uri uri = Uri.parse("content://browser/bookmarks"); in testBulkInsert() local
174 Uri uri = Uri.parse("content://test"); in testOpenFile() local
196 Uri uri = Uri.parse("content://test"); in testOpenFileHelper() local
259 public int delete(Uri uri, String selection, String[] selectionArgs) { in delete()
264 public String getType(Uri uri) { in getType()
269 public Uri insert(Uri uri, ContentValues values) { in insert()
279 public Cursor query(Uri uri, String[] projection, String selection, in query()
285 public int update(Uri uri, ContentValues values, String selection, in update()
309 public ParcelFileDescriptor openFileHelperWrapper(Uri uri, String mode) in openFileHelperWrapper()
[all …]

12345678910