Home
last modified time | relevance | path

Searched refs:videoUri (Results 1 – 3 of 3) sorted by relevance

/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_Video_ThumbnailsTest.java112 Uri videoUri = insertVideo(); in testGetThumbnail()
113 long videoId = ContentUris.parseId(videoUri); in testGetThumbnail()
116 videoUri); in testGetThumbnail() local
132 assertEquals(1, mResolver.delete(videoUri, null, null)); in testGetThumbnail()
DMediaStore_Video_MediaTest.java190 Uri videoUri = insertVideo(context); in testStoreVideoMediaExternal() local
191 assertNotNull("Cannot open " + videoUri, mContentResolver.openFile(videoUri, "r", null)); in testStoreVideoMediaExternal()
192 mContentResolver.delete(videoUri, null, null); in testStoreVideoMediaExternal()
193 assertThrows(FileNotFoundException.class, () -> mContentResolver.openFile(videoUri, "r", in testStoreVideoMediaExternal()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java71 static VideoFileInfo extractVideoFileInfo(Context ctx, Uri videoUri) throws IOException { in extractVideoFileInfo() argument
77 afd = ctx.getContentResolver().openAssetFileDescriptor(videoUri, "r"); in extractVideoFileInfo()
81 info.mUri = videoUri.getLastPathSegment(); in extractVideoFileInfo()