Home
last modified time | relevance | path

Searched refs:deleteRecursively (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/
DScopedStorageDeviceTest.java47 import static android.scopedstorage.cts.lib.TestUtils.deleteRecursively;
544 deleteRecursively(externalFilesDir); in testCreateAndDeleteEmptyDir()
558 assertThat(deleteRecursively(dir2)).isTrue(); in testCreateAndDeleteEmptyDir()
559 assertThat(deleteRecursively(dir1)).isTrue(); in testCreateAndDeleteEmptyDir()
560 assertThat(deleteRecursively(externalFilesDir)).isTrue(); in testCreateAndDeleteEmptyDir()
608 assertThat(deleteRecursively(dirInDownload)).isFalse(); in testCantDeleteOtherAppsContents()
616 assertThat(deleteRecursively(dirInDownload)).isFalse(); in testCantDeleteOtherAppsContents()
623 assertThat(deleteRecursively(dirInDownload)).isFalse(); in testCantDeleteOtherAppsContents()
631 assertThat(deleteRecursively(dirInDownload)).isTrue(); in testCantDeleteOtherAppsContents()
638 deleteRecursively(dirInDownload); in testCantDeleteOtherAppsContents()
[all …]
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/
DLegacyStorageTest.java36 import static android.scopedstorage.cts.lib.TestUtils.deleteRecursively;
354 deleteRecursively(newDir); in testReadOnlyExternalStorage_hasR()
439 deleteRecursively(nonMediaDir1); in testCanRename_hasRW()
440 deleteRecursively(nonMediaDir2); in testCanRename_hasRW()
551 deleteRecursively(directoryOldPath); in testRenameDirectoryAndUpdateDB_hasW()
552 deleteRecursively(directoryNewPath); in testRenameDirectoryAndUpdateDB_hasW()
729 deleteRecursively(directoryNoMedia); in testCanRenameAFileWithNoDBRow_hasRW()
917 deleteRecursively(topLevelTestDirectory); in testLegacySystemGalleryCanUpdateToExistingDirectory()
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/
DScopedStorageTest.java42 import static android.scopedstorage.cts.lib.TestUtils.deleteRecursively;
759 deleteRecursively(nomediaDir); in testManageExternalStorageDoesntSkipScanningDirtyNomediaDir()
796 deleteRecursively(nomediaSubDir); in testScanDoesntSkipDirtySubtree()
797 deleteRecursively(nomediaDir); in testScanDoesntSkipDirtySubtree()
1104 deleteRecursively(dir); in testRenameFromShell()
1105 deleteRecursively(renamedDir); in testRenameFromShell()
/cts/hostsidetests/scopedstorage/ScopedStorageTestHelper/src/android/scopedstorage/cts/
DScopedStorageTestHelper.java54 import static android.scopedstorage.cts.lib.TestUtils.deleteRecursively;
472 intent.putExtra(queryType, deleteRecursively(file)); in accessFile()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java1193 public static boolean deleteRecursively(@NonNull File path) { in deleteRecursively() method in TestUtils
1196 if (!deleteRecursively(child)) { in deleteRecursively()
1411 deleteRecursively(oldDirectory); in renameDirectoryWithOptionalFallbackToCopy()