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.java323 public static File getRawFile(Uri uri) throws Exception { in getRawFile() method in ProviderTestUtils
347 final String path = getRawFile(uri).getAbsolutePath(); in getRelativeFile()
/cts/tests/tests/media/src/android/media/cts/
DMediaScannerTest.java336 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