Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java125 static final String NONMEDIA_FILE_NAME = "ScopedStorageTest_file_" + NONCE + ".pdf"; field in ScopedStorageTest
163 THIS_PACKAGE_NAME, NONMEDIA_FILE_NAME); in testCheckInstallerAppAccessToObbDirs()
176 THIS_PACKAGE_NAME, NONMEDIA_FILE_NAME); in testCheckInstallerAppCannotAccessDataDirs()
187 final File topLevelPdf = new File(getExternalStorageDir(), NONMEDIA_FILE_NAME); in testManageExternalStorageCanCreateFilesAnywhere()
208 NONMEDIA_FILE_NAME); in testManageExternalStorageCantReadWriteOtherAppExternalDir()
229 final File otherAppPdf = new File(getDownloadDir(), "other" + NONMEDIA_FILE_NAME); in testManageExternalStorageCanDeleteOtherAppsContents()
258 final File otherAppPdf = new File(downloadDir, "other-" + NONMEDIA_FILE_NAME); in testAccess_file()
260 "shell-" + NONMEDIA_FILE_NAME); in testAccess_file()
262 final File myAppPdf = new File(downloadDir, "my-" + NONMEDIA_FILE_NAME); in testAccess_file()
263 final File doesntExistPdf = new File(downloadDir, "nada-" + NONMEDIA_FILE_NAME); in testAccess_file()
[all …]
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DScopedStorageDeviceTest.java189 static final String NONMEDIA_FILE_NAME = "ScopedStorageDeviceTest_file_" + NONCE + ".pdf"; field in ScopedStorageDeviceTest
280 new File(musicDir, NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity()
293 new File(moviesDir, NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity()
306 new File(dcimDir, NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity()
315 new File(picturesDir, NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity()
336 assertCanCreateFile(new File(documentsDir, NONMEDIA_FILE_NAME)); in testTypePathConformity()
342 assertCanCreateFile(new File(downloadDir, NONMEDIA_FILE_NAME)); in testTypePathConformity()
359 new File(getExternalStorageDir(), NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity()
386 new File(recordingsDir, NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity_recordingsDir()
434 final File file1 = new File(nonexistentPackageFileDir, NONMEDIA_FILE_NAME); in testCreateFileInOtherAppExternalDir()
[all …]
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java133 static final String NONMEDIA_FILE_NAME = "LegacyStorageTest_file_" + NONCE + ".pdf"; field in LegacyStorageTest
539 final File otherAppPdfFile = new File(TestUtils.getDownloadDir(), NONMEDIA_FILE_NAME); in testCanDeleteAllFiles_hasRW()