/cts/tests/tests/provider/src/android/provider/cts/media/ |
D | MediaStoreMatchTest.java | 54 private Uri mExternalImages; field in MediaStoreMatchTest 70 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 89 final Uri pos = ProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in verifyMatch() 90 final Uri neg = ProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in verifyMatch() 103 assertTrue(containsId(mExternalImages, extras, posId)); in verifyMatch() 104 assertTrue(containsId(mExternalImages, extras, negId)); in verifyMatch() 107 assertFalse(containsId(mExternalImages, extras, posId)); in verifyMatch() 108 assertTrue(containsId(mExternalImages, extras, negId)); in verifyMatch() 111 assertTrue(containsId(mExternalImages, extras, posId)); in verifyMatch() 112 assertFalse(containsId(mExternalImages, extras, negId)); in verifyMatch()
|
D | MediaStorePlacementTest.java | 61 private Uri mExternalImages; field in MediaStorePlacementTest 81 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 91 mExternalImages, "image/jpeg"); in testDefault() 103 mExternalImages, "image/jpeg"); in testIgnored() 130 mExternalImages, "image/jpeg"); in testDisplayName_SameMime() 145 mExternalImages, "image/jpeg"); in testDisplayName_DifferentMime() 163 mExternalImages, "image/jpeg"); in testDirectory_Valid() 203 mExternalImages, "image/jpeg"); in testDirectory_Invalid() 237 mExternalImages, "image/jpeg"); in testDirectory_OutsideSandbox() 262 mContentResolver.insert(mExternalImages, mValues, mExtras); in testRelated() [all …]
|
D | MediaStorePendingTest.java | 78 private Uri mExternalImages; field in MediaStorePendingTest 97 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 103 verifySuccessfulImageInsertion(mExternalImages, Environment.DIRECTORY_PICTURES); in testSimple_Success() 164 final Uri insertUri = mExternalImages; in testSimple_Abandoned() 235 assertNotCreatePending(new PendingParams(mExternalImages, displayName, "audio/ogg")); in testMimeTypes() 236 assertNotCreatePending(new PendingParams(mExternalImages, displayName, "video/ogg")); in testMimeTypes() 237 assertCreatePending(new PendingParams(mExternalImages, displayName, "image/png")); in testMimeTypes() 250 final Uri uri = execPending(new PendingParams(mExternalImages, in testMimeTypes_Forced() 256 final Uri uri = execPending(new PendingParams(mExternalImages, in testMimeTypes_Forced() 262 final Uri uri = execPending(new PendingParams(mExternalImages, in testMimeTypes_Forced() [all …]
|
D | MediaStoreIntentsTest.java | 53 private Uri mExternalImages; field in MediaStoreIntentsTest 68 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 82 intent.setData(mExternalImages); in testPickImageDir() 103 intent.setData(mExternalImages); in testViewImageDir()
|
D | MediaStore_FilesTest.java | 70 private Uri mExternalImages; field in MediaStore_FilesTest 88 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 228 ContentUris.parseId(ProviderTestUtils.stageMedia(R.raw.volantis, mExternalImages))); in testAccess() 364 final ContentProviderOperation redAdd = ContentProviderOperation.newInsert(mExternalImages) in testGeneration() 367 final ContentProviderOperation greAdd = ContentProviderOperation.newInsert(mExternalImages) in testGeneration() 370 final ContentProviderOperation bluAdd = ContentProviderOperation.newInsert(mExternalImages) in testGeneration() 373 final ContentProviderResult[] first = mResolver.applyBatch(mExternalImages.getAuthority(), in testGeneration() 375 final ContentProviderResult[] second = mResolver.applyBatch(mExternalImages.getAuthority(), in testGeneration() 387 final ContentProviderResult[] third = mResolver.applyBatch(mExternalImages.getAuthority(), in testGeneration()
|
D | MediaStoreTest.java | 75 private Uri mExternalImages; field in MediaStoreTest 95 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 130 assertFalse(MediaStore.getRequireOriginal(mExternalImages)); in testRequireOriginal() 131 assertTrue(MediaStore.getRequireOriginal(MediaStore.setRequireOriginal(mExternalImages))); in testRequireOriginal() 172 final Uri uri = ProviderTestUtils.stageMedia(R.raw.volantis, mExternalImages); in testGetStorageVolume()
|
D | MediaStoreTrashedTest.java | 56 private Uri mExternalImages; field in MediaStoreTrashedTest 72 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp()
|
D | MediaStore_Images_ThumbnailsTest.java | 87 private Uri mExternalImages; field in MediaStore_Images_ThumbnailsTest 122 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 129 mRed = ProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in prepareImages() 130 mBlue = ProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in prepareImages() 429 mExternalImages, displayName, "image/png"); in testInsertUpdateDelete()
|
D | MediaStore_DownloadsTest.java | 83 private Uri mExternalImages; field in MediaStore_DownloadsTest 101 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp() 348 ContentUris.withAppendedId(mExternalImages, id), new Size(320, 240), null)); in testThumbnails() 377 final Uri insertUri = mContentResolver.insert(mExternalImages, values); in insertImage()
|