Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java351 assertCanCreateFile(new File(getAlarmsDir(), AUDIO_FILE_NAME)); in testTypePathConformity()
352 assertCanCreateFile(new File(getAudiobooksDir(), AUDIO_FILE_NAME)); in testTypePathConformity()
353 assertCanCreateFile(new File(dcimDir, IMAGE_FILE_NAME)); in testTypePathConformity()
354 assertCanCreateFile(new File(dcimDir, VIDEO_FILE_NAME)); in testTypePathConformity()
355 assertCanCreateFile(new File(documentsDir, AUDIO_FILE_NAME)); in testTypePathConformity()
356 assertCanCreateFile(new File(documentsDir, IMAGE_FILE_NAME)); in testTypePathConformity()
357 assertCanCreateFile(new File(documentsDir, NONMEDIA_FILE_NAME)); in testTypePathConformity()
358 assertCanCreateFile(new File(documentsDir, PLAYLIST_FILE_NAME)); in testTypePathConformity()
359 assertCanCreateFile(new File(documentsDir, SUBTITLE_FILE_NAME)); in testTypePathConformity()
360 assertCanCreateFile(new File(documentsDir, VIDEO_FILE_NAME)); in testTypePathConformity()
[all …]
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java244 assertCanCreateFile(imageFileInDcim); in testManageExternalStorageCanCreateFilesAnywhere()
247 assertCanCreateFile(topLevelPdf); in testManageExternalStorageCanCreateFilesAnywhere()
249 assertCanCreateFile(musicFileInMovies); in testManageExternalStorageCanCreateFilesAnywhere()
980 assertCanCreateFile(imageFileInDcim); in testNoIsolatedStorageCanCreateFilesAnywhere()
983 assertCanCreateFile(topLevelPdf); in testNoIsolatedStorageCanCreateFilesAnywhere()
985 assertCanCreateFile(musicFileInMovies); in testNoIsolatedStorageCanCreateFilesAnywhere()
1261 private static void assertCanCreateFile(File file) throws IOException { in assertCanCreateFile() method in ScopedStorageTest
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java196 assertCanCreateFile(new File(TestUtils.getExternalStorageDir(), "LegacyStorageTest.txt")); in testCreateFilesInRandomPlaces_hasW()
199 assertCanCreateFile(new File(TestUtils.getDcimDir(), "LegacyStorageTest.mp3")); in testCreateFilesInRandomPlaces_hasW()
202 assertCanCreateFile(new File(TestUtils.getExternalFilesDir(), in testCreateFilesInRandomPlaces_hasW()
1175 private static void assertCanCreateFile(File file) throws IOException { in assertCanCreateFile() method in LegacyStorageTest