Searched refs:finalUri (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_Video_ThumbnailsTest.java | 214 final Uri finalUri = ProviderTestUtils.stageMedia(R.raw.testvideo, in testInsertUpdateDelete() local 220 mmr.setDataSource(mContext, finalUri); in testInsertUpdateDelete() 228 final Bitmap beforeThumb = mResolver.loadThumbnail(finalUri, new Size(64, 64), null); in testInsertUpdateDelete() 242 ContentUris.parseId(finalUri), kind, null)); in testInsertUpdateDelete() 248 OutputStream to = mResolver.openOutputStream(finalUri)) { in testInsertUpdateDelete() 254 final Bitmap afterThumb = mResolver.loadThumbnail(finalUri, new Size(64, 64), null); in testInsertUpdateDelete() 259 mResolver.delete(finalUri, null, null); in testInsertUpdateDelete() 264 mResolver.loadThumbnail(finalUri, new Size(64, 64), null); in testInsertUpdateDelete()
|
D | MediaStore_Images_ThumbnailsTest.java | 425 final Uri finalUri; in testInsertUpdateDelete() local 430 finalUri = session.publish(); in testInsertUpdateDelete() 435 .decodeBitmap(ImageDecoder.createSource(mContentResolver, finalUri)); in testInsertUpdateDelete() 442 final Bitmap thumb = mContentResolver.loadThumbnail(finalUri, new Size(32, 32), null); in testInsertUpdateDelete() 460 ContentUris.parseId(finalUri), kind, null); in testInsertUpdateDelete() 470 try (OutputStream out = mContentResolver.openOutputStream(finalUri)) { in testInsertUpdateDelete() 480 final Bitmap thumb = mContentResolver.loadThumbnail(finalUri, new Size(32, 32), null); in testInsertUpdateDelete() 485 mContentResolver.delete(finalUri, null, null); in testInsertUpdateDelete() 490 mContentResolver.loadThumbnail(finalUri, new Size(32, 32), null); in testInsertUpdateDelete()
|