/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStorePlacementTest.java | 55 private Uri mExternalImages; field in MediaStorePlacementTest 71 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 77 mExternalImages, "image/jpeg"); in testDefault() 89 mExternalImages, "image/jpeg"); in testIgnored() 116 mExternalImages, "image/jpeg"); in testDisplayName_SameMime() 131 mExternalImages, "image/jpeg"); in testDisplayName_DifferentMime() 149 mExternalImages, "image/jpeg"); in testDirectory_Valid() 189 mExternalImages, "image/jpeg"); in testDirectory_Invalid() 219 mExternalImages, "image/jpeg"); in testDirectory_OutsideSandbox()
|
D | MediaStorePendingTest.java | 73 private Uri mExternalImages; field in MediaStorePendingTest 92 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 98 verifySuccessfulImageInsertion(mExternalImages, Environment.DIRECTORY_PICTURES); in testSimple_Success() 159 final Uri insertUri = mExternalImages; in testSimple_Abandoned() 230 assertNotCreatePending(new PendingParams(mExternalImages, displayName, "audio/ogg")); in testMimeTypes() 231 assertNotCreatePending(new PendingParams(mExternalImages, displayName, "video/ogg")); in testMimeTypes() 232 assertCreatePending(new PendingParams(mExternalImages, displayName, "image/png")); in testMimeTypes() 245 final Uri uri = execPending(new PendingParams(mExternalImages, in testMimeTypes_Forced() 251 final Uri uri = execPending(new PendingParams(mExternalImages, in testMimeTypes_Forced() 257 final Uri uri = execPending(new PendingParams(mExternalImages, in testMimeTypes_Forced() [all …]
|
D | MediaStoreIntentsTest.java | 49 private Uri mExternalImages; field in MediaStoreIntentsTest 64 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 78 intent.setData(mExternalImages); in testPickImageDir() 99 intent.setData(mExternalImages); in testViewImageDir()
|
D | MediaStoreTest.java | 66 private Uri mExternalImages; field in MediaStoreTest 86 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 125 final Uri uri = ProviderTestUtils.stageMedia(R.raw.volantis, mExternalImages); in testGetStorageVolume() 185 outside = ProviderTestUtils.stageMedia(R.raw.volantis, mExternalImages); in testContributedMedia() 188 final HashSet<Long> visible = getVisibleIds(mExternalImages); in testContributedMedia() 210 final HashSet<Long> visible = getVisibleIds(mExternalImages); in testContributedMedia()
|
D | MediaStore_Images_MediaTest.java | 73 private Uri mExternalImages; field in MediaStore_Images_MediaTest 89 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 103 Cursor c = Media.query(mContentResolver, mExternalImages, null, null, in testInsertImageWithImagePath() 151 c = Media.query(mContentResolver, mExternalImages, in testInsertImageWithImagePath() 216 mContentResolver.delete(mExternalImages, "_data=?", new String[] { path }); in cleanExternalMediaFile() 253 Uri uri = mContentResolver.insert(mExternalImages, values); in testStoreImagesMediaExternal() 312 mExternalImages, displayName, "image/jpeg"); 371 mExternalImages, displayName, "image/jpeg"); 409 "content delete --uri " + mExternalImages, 442 final Uri uri = ProviderTestUtils.stageMedia(R.raw.lg_g4_iso_800_jpg, mExternalImages,
|
D | MediaStore_FilesTest.java | 62 private Uri mExternalImages; field in MediaStore_FilesTest 79 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 216 ContentUris.parseId(ProviderTestUtils.stageMedia(R.raw.volantis, mExternalImages))); in testAccess() 313 final Uri uri = mResolver.insert(mExternalImages, insertValues); in testInPlaceUpdate_mediaFileWithInvalidRelativePath()
|
D | MediaStore_Images_ThumbnailsTest.java | 81 private Uri mExternalImages; field in MediaStore_Images_ThumbnailsTest 116 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 125 mRed = ProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in prepareImages() 126 mBlue = ProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in prepareImages() 424 mExternalImages, displayName, "image/png"); in testInsertUpdateDelete()
|
D | MediaStore_DownloadsTest.java | 78 private Uri mExternalImages; field in MediaStore_DownloadsTest 95 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 353 final Uri insertUri = mContentResolver.insert(mExternalImages, values); in insertImage()
|