Home
last modified time | relevance | path

Searched refs:mExternalImages (Results 1 – 10 of 10) sorted by relevance

/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStoreMatchTest.java52 private Uri mExternalImages; field in MediaStoreMatchTest
68 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp()
87 final Uri pos = MediaProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in verifyMatch()
88 final Uri neg = MediaProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in verifyMatch()
101 assertTrue(containsId(mExternalImages, extras, posId)); in verifyMatch()
102 assertTrue(containsId(mExternalImages, extras, negId)); in verifyMatch()
105 assertFalse(containsId(mExternalImages, extras, posId)); in verifyMatch()
106 assertTrue(containsId(mExternalImages, extras, negId)); in verifyMatch()
109 assertTrue(containsId(mExternalImages, extras, posId)); in verifyMatch()
110 assertFalse(containsId(mExternalImages, extras, negId)); in verifyMatch()
DMediaStorePlacementTest.java61 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()
235 mExternalImages, "image/jpeg"); in testDirectory_OutsideSandbox()
256 mContentResolver.insert(mExternalImages, mValues, mExtras); in testRelated()
[all …]
DMediaStorePendingTest.java78 private Uri mExternalImages; field in MediaStorePendingTest
97 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp()
103 verifySuccessfulImageInsertion(mExternalImages, Environment.DIRECTORY_PICTURES); in testSimple_Success()
165 final Uri insertUri = mExternalImages; in testSimple_Abandoned()
236 assertNotCreatePending(new PendingParams(mExternalImages, displayName, "audio/ogg")); in testMimeTypes()
237 assertNotCreatePending(new PendingParams(mExternalImages, displayName, "video/ogg")); in testMimeTypes()
238 assertCreatePending(new PendingParams(mExternalImages, displayName, "image/png")); in testMimeTypes()
251 final Uri uri = execPending(new PendingParams(mExternalImages, in testMimeTypes_Forced()
257 final Uri uri = execPending(new PendingParams(mExternalImages, in testMimeTypes_Forced()
263 final Uri uri = execPending(new PendingParams(mExternalImages, in testMimeTypes_Forced()
[all …]
DMediaStore_Images_MediaTest.java86 private Uri mExternalImages; field in MediaStore_Images_MediaTest
103 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp()
128 Cursor c = Media.query(mContentResolver, mExternalImages, null, null, in testInsertImageWithImagePath()
168 c = Media.query(mContentResolver, mExternalImages, in testInsertImageWithImagePath()
235 mContentResolver.delete(mExternalImages, "_data=?", new String[]{path}); in cleanExternalMediaFile()
269 Uri uri = mContentResolver.insert(mExternalImages, values); in testStoreImagesMediaExternal()
329 final Uri uri = mContentResolver.insert(mExternalImages, values);
374 final Uri uri = mContentResolver.insert(mExternalImages, values);
414 mExternalImages,
466 mExternalImages, displayName, "image/jpeg");
[all …]
DMediaStoreIntentsTest.java52 private Uri mExternalImages; field in MediaStoreIntentsTest
67 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp()
81 intent.setData(mExternalImages); in testPickImageDir()
102 intent.setData(mExternalImages); in testViewImageDir()
DMediaStore_FilesTest.java69 private Uri mExternalImages; field in MediaStore_FilesTest
87 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp()
234 MediaProviderTestUtils.stageMedia(R.raw.volantis, mExternalImages))); in testAccess()
370 final ContentProviderOperation redAdd = ContentProviderOperation.newInsert(mExternalImages) in testGeneration()
373 final ContentProviderOperation greAdd = ContentProviderOperation.newInsert(mExternalImages) in testGeneration()
376 final ContentProviderOperation bluAdd = ContentProviderOperation.newInsert(mExternalImages) in testGeneration()
379 final ContentProviderResult[] first = mResolver.applyBatch(mExternalImages.getAuthority(), in testGeneration()
381 final ContentProviderResult[] second = mResolver.applyBatch(mExternalImages.getAuthority(), in testGeneration()
393 final ContentProviderResult[] third = mResolver.applyBatch(mExternalImages.getAuthority(), in testGeneration()
DMediaStoreTest.java73 private Uri mExternalImages; field in MediaStoreTest
93 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp()
128 assertFalse(MediaStore.getRequireOriginal(mExternalImages)); in testRequireOriginal()
129 assertTrue(MediaStore.getRequireOriginal(MediaStore.setRequireOriginal(mExternalImages))); in testRequireOriginal()
170 final Uri uri = MediaProviderTestUtils.stageMedia(R.raw.volantis, mExternalImages); in testGetStorageVolume()
DMediaStoreTrashedTest.java54 private Uri mExternalImages; field in MediaStoreTrashedTest
70 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp()
DMediaStore_Images_ThumbnailsTest.java82 private Uri mExternalImages; field in MediaStore_Images_ThumbnailsTest
117 mExternalImages = MediaStore.Images.Media.getContentUri(mVolumeName); in setUp()
124 mRed = MediaProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in prepareImages()
125 mBlue = MediaProviderTestUtils.stageMedia(R.raw.scenery, mExternalImages); in prepareImages()
424 mExternalImages, displayName, "image/png"); in testInsertUpdateDelete()
DMediaStore_DownloadsTest.java81 private Uri mExternalImages; field in MediaStore_DownloadsTest
99 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()