Home
last modified time | relevance | path

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

/cts/tests/tests/provider/src/android/provider/cts/
DMediaStorePendingTest.java21 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 …]
DProviderTestUtils.java351 public static File getRawFile(Uri uri) throws Exception { in getRawFile() method
376 final String path = getRawFile(uri).getAbsolutePath(); in getRelativeFile()
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerTest.java337 assertEquals(dir1, getRawFile(MediaStore.Files.getContentUri("external", parent1id)) in testWildcardPaths()
339 assertEquals(dir2, getRawFile(MediaStore.Files.getContentUri("external", parent2id)) in testWildcardPaths()
697 static File getRawFile(Uri uri) throws Exception { in getRawFile() method in MediaScannerTest