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.java139 static final String NONMEDIA_FILE_NAME = "ScopedStorageTest_file_" + NONCE + ".pdf"; field in ScopedStorageTest
213 THIS_PACKAGE_NAME, NONMEDIA_FILE_NAME); in testCheckInstallerAppAccessToObbDirs()
227 THIS_PACKAGE_NAME, NONMEDIA_FILE_NAME); in testCheckInstallerAppCannotAccessDataDirs()
239 final File topLevelPdf = new File(getExternalStorageDir(), NONMEDIA_FILE_NAME); in testManageExternalStorageCanCreateFilesAnywhere()
279 NONMEDIA_FILE_NAME); in testManageExternalStorageCantReadWriteOtherAppExternalDir()
323 final File otherAppPdf = new File(getDownloadDir(), "other" + NONMEDIA_FILE_NAME); in testManageExternalStorageCanDeleteOtherAppsContents()
440 final File myAppPdf = new File(downloadDir, "my-" + NONMEDIA_FILE_NAME); in testAccess_MediaFile()
524 final File otherAppPdf = new File(downloadDir, "other-" + NONMEDIA_FILE_NAME); in testAccess_file()
526 "shell-" + NONMEDIA_FILE_NAME); in testAccess_file()
528 final File myAppPdf = new File(downloadDir, "my-" + NONMEDIA_FILE_NAME); in testAccess_file()
[all …]
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java203 static final String NONMEDIA_FILE_NAME = "ScopedStorageDeviceTest_file_" + NONCE + ".pdf"; field in ScopedStorageDeviceTest
301 new File(musicDir, NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity()
314 new File(moviesDir, NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity()
327 new File(dcimDir, NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity()
336 new File(picturesDir, NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity()
357 assertCanCreateFile(new File(documentsDir, NONMEDIA_FILE_NAME)); in testTypePathConformity()
363 assertCanCreateFile(new File(downloadDir, NONMEDIA_FILE_NAME)); in testTypePathConformity()
380 new File(getExternalStorageDir(), NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity()
407 new File(recordingsDir, NONMEDIA_FILE_NAME).createNewFile(); in testTypePathConformity_recordingsDir()
455 final File file1 = new File(nonexistentPackageFileDir, NONMEDIA_FILE_NAME); in testCreateFileInOtherAppExternalDir()
[all …]
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java141 private static final String NONMEDIA_FILE_NAME = "LegacyStorageTest_file_" + NONCE + ".pdf"; field in LegacyStorageTest
566 final File otherAppPdfFile = new File(TestUtils.getDownloadDir(), NONMEDIA_FILE_NAME); in testCanDeleteAllFiles_hasRW()