Searched refs:getRawFile (Results 1 – 3 of 3) sorted by relevance
21 import static android.provider.cts.ProviderTestUtils.getRawFile;145 final File rawFile = getRawFile(publishUri); in verifySuccessfulImageInsertion()173 pendingFile = getRawFile(pendingUri); in testSimple_Abandoned()208 final File rawFile1 = getRawFile(publishUri1); in testDuplicates()209 final File rawFile2 = getRawFile(publishUri2); in testDuplicates()247 assertEquals(displayName + ".png", getRawFile(uri).getName()); in testMimeTypes_Forced()253 assertEquals(displayName, getRawFile(uri).getName()); in testMimeTypes_Forced()259 assertEquals(displayName + ".png", getRawFile(uri).getName()); in testMimeTypes_Forced()341 assertEquals(Environment.DIRECTORY_PICTURES, getRawFile(uri).getParentFile().getName()); in testDirectories_Defaults()347 assertEquals(Environment.DIRECTORY_MUSIC, getRawFile(uri).getParentFile().getName()); in testDirectories_Defaults()[all …]
323 public static File getRawFile(Uri uri) throws Exception { in getRawFile() method in ProviderTestUtils347 final String path = getRawFile(uri).getAbsolutePath(); in getRelativeFile()
336 assertEquals(dir1, getRawFile(MediaStore.Files.getContentUri("external", parent1id)) in testWildcardPaths()338 assertEquals(dir2, getRawFile(MediaStore.Files.getContentUri("external", parent2id)) in testWildcardPaths()696 static File getRawFile(Uri uri) throws Exception { in getRawFile() method in MediaScannerTest