Searched refs:deleteFileAsNoThrow (Results 1 – 5 of 5) sorted by relevance
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | BypassDatabaseOperationsTest.java | 23 import static android.scopedstorage.cts.lib.TestUtils.deleteFileAsNoThrow; 281 deleteFileAsNoThrow(app, file.getAbsolutePath()); in testAppDoesntBypassDatabaseOps() 284 deleteFileAsNoThrow(app, renamedFile.getAbsolutePath()); in testAppDoesntBypassDatabaseOps() 315 deleteFileAsNoThrow(app, file.getAbsolutePath()); in testAppBypassesDatabaseOps() 318 deleteFileAsNoThrow(app, renamedFile.getAbsolutePath()); in testAppBypassesDatabaseOps()
|
D | ScopedStorageDeviceTest.java | 44 import static android.scopedstorage.cts.lib.TestUtils.deleteFileAsNoThrow; 569 deleteFileAsNoThrow(APP_B_NO_PERMS, nonMediaFile.getPath()); in testCantAccessOtherAppsContents() 570 deleteFileAsNoThrow(APP_B_NO_PERMS, mediaFile.getPath()); in testCantAccessOtherAppsContents() 612 deleteFileAsNoThrow(APP_B_NO_PERMS, nonMediaFile.getPath()); in testCantDeleteOtherAppsContents() 613 deleteFileAsNoThrow(APP_B_NO_PERMS, mediaFile.getPath()); in testCantDeleteOtherAppsContents() 753 deleteFileAsNoThrow(APP_B_NO_PERMS, videoFile.getPath()); in testListDirectoriesWithMediaFiles() 785 deleteFileAsNoThrow(APP_B_NO_PERMS, pdfFile.getPath()); in testListDirectoriesWithNonMediaFiles() 1417 deleteFileAsNoThrow(APP_B_NO_PERMS, otherAppImageFile.getAbsolutePath()); in testDisableOpResetForSystemGallery() 1418 deleteFileAsNoThrow(APP_B_NO_PERMS, otherAppVideoFile.getAbsolutePath()); in testDisableOpResetForSystemGallery() 1455 deleteFileAsNoThrow(APP_B_NO_PERMS, otherAppImageFile.getAbsolutePath()); in testSystemGalleryAppHasFullAccessToImages() [all …]
|
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/ |
D | ScopedStorageTest.java | 32 import static android.scopedstorage.cts.lib.TestUtils.deleteFileAsNoThrow; 247 deleteFileAsNoThrow(APP_B_NO_PERMS, otherAppPdf.getAbsolutePath()); in testManageExternalStorageCanDeleteOtherAppsContents() 248 deleteFileAsNoThrow(APP_B_NO_PERMS, otherAppImage.getAbsolutePath()); in testManageExternalStorageCanDeleteOtherAppsContents() 249 deleteFileAsNoThrow(APP_B_NO_PERMS, otherAppMusic.getAbsolutePath()); in testManageExternalStorageCanDeleteOtherAppsContents() 284 deleteFileAsNoThrow(APP_B_NO_PERMS, otherAppPdf.getAbsolutePath()); in testAccess_file() 285 deleteFileAsNoThrow(APP_B_NO_PERMS, otherAppImage.getAbsolutePath()); in testAccess_file() 393 deleteFileAsNoThrow(APP_B_NO_PERMS, otherAppPdf.getAbsolutePath()); in testManageExternalStorageCanRenameOtherAppsContents() 666 deleteFileAsNoThrow(otherApp, otherAppImage.getAbsolutePath()); in assertSharedStorageAccess() 667 deleteFileAsNoThrow(otherApp, otherAppBinary.getAbsolutePath()); in assertSharedStorageAccess() 685 deleteFileAsNoThrow(APP_B_NO_PERMS, otherPendingFile.getAbsolutePath()); in testOpenOtherPendingFilesFromFuse()
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 33 import static android.scopedstorage.cts.lib.TestUtils.deleteFileAsNoThrow; 560 deleteFileAsNoThrow(APP_B_NO_PERMS, otherAppPdfFile.getAbsolutePath()); in testCanDeleteAllFiles_hasRW() 770 deleteFileAsNoThrow(APP_B_NO_PERMS, fullPath.getAbsolutePath()); in testLegacyAppUpdatingOwnershipOfExistingEntry()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 300 public static boolean deleteFileAsNoThrow(TestApp testApp, String path) { in deleteFileAsNoThrow() method in TestUtils 1046 deleteFileAsNoThrow(testApp, file.getAbsolutePath()); in canReadWriteFilesInDirs()
|