Home
last modified time | relevance | path

Searched refs:newDirectory (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()
1397 if (newDirectory.exists() in renameDirectoryWithOptionalFallbackToCopy()
1398 && (!newDirectory.isDirectory() || newDirectory.listFiles().length > 0)) { in renameDirectoryWithOptionalFallbackToCopy()
1403 final Path newPath = newDirectory.toPath(); 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()
1435 assertThat(newDirectory.exists()).isTrue(); in assertCanRenameDirectory()
[all …]