/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 | 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 | 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 | MediaStore_Images_MediaTest.java | 76 private Uri mExternalImages; field in MediaStore_Images_MediaTest 92 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 106 Cursor c = Media.query(mContentResolver, mExternalImages, null, null, in testInsertImageWithImagePath() 154 c = Media.query(mContentResolver, mExternalImages, in testInsertImageWithImagePath() 219 mContentResolver.delete(mExternalImages, "_data=?", new String[] { path }); in cleanExternalMediaFile() 253 Uri uri = mContentResolver.insert(mExternalImages, values); in testStoreImagesMediaExternal() 312 mExternalImages, displayName, "image/jpeg"); 392 mExternalImages, displayName, "image/jpeg"); 431 + " --uri " + mExternalImages, 464 final Uri uri = ProviderTestUtils.stageMedia(R.raw.lg_g4_iso_800_jpg, mExternalImages,
|
D | MediaStore_Images_ThumbnailsTest.java | 80 private Uri mExternalImages; field in MediaStore_Images_ThumbnailsTest 115 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 124 mRed = ProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in prepareImages() 125 mBlue = ProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in prepareImages() 423 mExternalImages, displayName, "image/png"); in testInsertUpdateDelete()
|
D | MediaStore_FilesTest.java | 63 private Uri mExternalImages; field in MediaStore_FilesTest 81 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 218 ContentUris.parseId(ProviderTestUtils.stageMedia(R.raw.volantis, mExternalImages))); in testAccess()
|
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()
|