Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java1385 File oldDirectory, File newDirectory, boolean allowCopyFallback) { in renameDirectoryWithOptionalFallbackToCopy() argument
1386 if (oldDirectory.renameTo(newDirectory)) { in renameDirectoryWithOptionalFallbackToCopy()
1394 if (!oldDirectory.isDirectory()) { in renameDirectoryWithOptionalFallbackToCopy()
1402 final Path oldPath = oldDirectory.toPath(); in renameDirectoryWithOptionalFallbackToCopy()
1411 deleteRecursively(oldDirectory); in renameDirectoryWithOptionalFallbackToCopy()
1418 public static void assertCanRenameDirectory(File oldDirectory, File newDirectory, in assertCanRenameDirectory() argument
1420 assertCanRenameDirectory(oldDirectory, newDirectory, oldFilesList, newFilesList, in assertCanRenameDirectory()
1429 public static void assertCanRenameDirectory(File oldDirectory, File newDirectory, in assertCanRenameDirectory() argument
1433 oldDirectory, newDirectory, allowCopyFallback)).isTrue(); in assertCanRenameDirectory()
1434 assertThat(oldDirectory.exists()).isFalse(); in assertCanRenameDirectory()
[all …]