Home
last modified time | relevance | path

Searched refs:mExternalDownloads (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_DownloadsTest.java79 private Uri mExternalDownloads; field in MediaStore_DownloadsTest
96 mExternalDownloads = MediaStore.Downloads.getContentUri(mVolumeName); in setUp()
138 assertNotNull(c = mContentResolver.query(mExternalDownloads, in testGetContentUri()
155 try (Cursor cursor = mContentResolver.query(mExternalDownloads, in testMediaInDownloadsDir()
164 try (Cursor cursor = mContentResolver.query(mExternalDownloads, in testMediaInDownloadsDir()
179 mExternalDownloads, displayName, mimeType); in testInsertDownload()
225 mExternalDownloads, displayName, "video/3gpp"); in testUpdateDownload()
261 mExternalDownloads, displayName, "video/3gp"); in testDeleteDownload()
277 try (Cursor cursor = mContentResolver.query(mExternalDownloads, in testDeleteDownload()
292 mContentResolver.registerContentObserver(mExternalDownloads, true, observer); in testNotifyChange()
[all …]
DMediaStorePendingTest.java74 private Uri mExternalDownloads; field in MediaStorePendingTest
93 mExternalDownloads = MediaStore.Downloads.getContentUri(mVolumeName); in setUp()
103 verifySuccessfulImageInsertion(mExternalDownloads, Environment.DIRECTORY_DOWNLOADS); in testSimpleDownload_Success()
234 assertCreatePending(new PendingParams(mExternalDownloads, displayName, "audio/ogg")); in testMimeTypes()
235 assertCreatePending(new PendingParams(mExternalDownloads, displayName, "video/ogg")); in testMimeTypes()
236 assertCreatePending(new PendingParams(mExternalDownloads, displayName, "image/png")); in testMimeTypes()
237 assertCreatePending(new PendingParams(mExternalDownloads, displayName, in testMimeTypes()
322 final PendingParams params = new PendingParams(mExternalDownloads, in testDirectories()
357 final Uri uri = execPending(new PendingParams(mExternalDownloads, in testDirectories_Defaults()