Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DScopedStorageDeviceTest.java330 assertCanCreateFile(new File(getAlarmsDir(), AUDIO_FILE_NAME)); in testTypePathConformity()
331 assertCanCreateFile(new File(getAudiobooksDir(), AUDIO_FILE_NAME)); in testTypePathConformity()
332 assertCanCreateFile(new File(dcimDir, IMAGE_FILE_NAME)); in testTypePathConformity()
333 assertCanCreateFile(new File(dcimDir, VIDEO_FILE_NAME)); in testTypePathConformity()
334 assertCanCreateFile(new File(documentsDir, AUDIO_FILE_NAME)); in testTypePathConformity()
335 assertCanCreateFile(new File(documentsDir, IMAGE_FILE_NAME)); in testTypePathConformity()
336 assertCanCreateFile(new File(documentsDir, NONMEDIA_FILE_NAME)); in testTypePathConformity()
337 assertCanCreateFile(new File(documentsDir, PLAYLIST_FILE_NAME)); in testTypePathConformity()
338 assertCanCreateFile(new File(documentsDir, SUBTITLE_FILE_NAME)); in testTypePathConformity()
339 assertCanCreateFile(new File(documentsDir, VIDEO_FILE_NAME)); in testTypePathConformity()
[all …]
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java192 assertCanCreateFile(imageFileInDcim); in testManageExternalStorageCanCreateFilesAnywhere()
195 assertCanCreateFile(topLevelPdf); in testManageExternalStorageCanCreateFilesAnywhere()
197 assertCanCreateFile(musicFileInMovies); in testManageExternalStorageCanCreateFilesAnywhere()
698 assertCanCreateFile(imageFileInDcim); in testNoIsolatedStorageCanCreateFilesAnywhere()
701 assertCanCreateFile(topLevelPdf); in testNoIsolatedStorageCanCreateFilesAnywhere()
703 assertCanCreateFile(musicFileInMovies); in testNoIsolatedStorageCanCreateFilesAnywhere()
975 private static void assertCanCreateFile(File file) throws IOException { in assertCanCreateFile() method in ScopedStorageTest
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java186assertCanCreateFile(new File(TestUtils.getExternalStorageDir(), "LegacyFileAccessTest.txt")); in testCreateFilesInRandomPlaces_hasW()
189 assertCanCreateFile(new File(TestUtils.getDcimDir(), "LegacyFileAccessTest.mp3")); in testCreateFilesInRandomPlaces_hasW()
192 assertCanCreateFile(new File(TestUtils.getExternalFilesDir(), in testCreateFilesInRandomPlaces_hasW()
1003 private static void assertCanCreateFile(File file) throws IOException { in assertCanCreateFile() method in LegacyStorageTest