Home
last modified time | relevance | path

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

/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStorePendingTest.java20 import static android.provider.cts.media.MediaProviderTestUtils.getRawFile;
150 final File rawFile = getRawFile(publishUri); in verifySuccessfulImageInsertion()
179 pendingFile = getRawFile(pendingUri); in testSimple_Abandoned()
214 final File rawFile1 = getRawFile(publishUri1); in testDuplicates()
215 final File rawFile2 = getRawFile(publishUri2); in testDuplicates()
253 assertEquals(displayName + ".png", getRawFile(uri).getName()); in testMimeTypes_Forced()
259 assertEquals(displayName, getRawFile(uri).getName()); in testMimeTypes_Forced()
265 assertEquals(displayName + ".png", getRawFile(uri).getName()); in testMimeTypes_Forced()
348 assertEquals(Environment.DIRECTORY_PICTURES, getRawFile(uri).getParentFile().getName()); in testDirectories_Defaults()
354 assertEquals(Environment.DIRECTORY_MUSIC, getRawFile(uri).getParentFile().getName()); in testDirectories_Defaults()
[all …]
DMediaProviderTestUtils.java371 public static File getRawFile(Uri uri) throws Exception { in getRawFile() method
401 final String path = getRawFile(uri).getAbsolutePath(); in getRelativeFile()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaScannerTest.java364 assertEquals(dir1, getRawFile(MediaStore.Files.getContentUri("external", parent1id)) in testWildcardPaths()
366 assertEquals(dir2, getRawFile(MediaStore.Files.getContentUri("external", parent2id)) in testWildcardPaths()
745 static File getRawFile(Uri uri) throws Exception { in getRawFile() method in MediaScannerTest