Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSFileDownloader.java285 File subFolder = new File(localFolder, subFolderName); in recursiveCheckFolderFreshness() local
286 if (!subFolder.exists()) { in recursiveCheckFolderFreshness()
289 if (!subFolder.isDirectory()) { in recursiveCheckFolderFreshness()
290 CLog.w("%s exists as a non-directory.", subFolder); in recursiveCheckFolderFreshness()
291 subFolder = new File(localFolder, subFolderName + "_folder"); in recursiveCheckFolderFreshness()
293 if (!recursiveCheckFolderFreshness(bucketName, subRemoteFolder, subFolder)) { in recursiveCheckFolderFreshness()
296 subFilenames.remove(subFolder.getName()); in recursiveCheckFolderFreshness()
461 File subFolder = new File(localFolder, subFolderName); in recursiveDownloadFolder() local
464 CLog.w("%s exists as a non-directory.", subFolder); in recursiveDownloadFolder()
465 subFolder = new File(localFolder, subFolderName + "_folder"); in recursiveDownloadFolder()
[all …]
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DGCSFileDownloaderFuncTest.java285 File subFolder = new File(localFile.getAbsolutePath(), filename); in checkDownloadedFolder() local
286 Assert.assertTrue(subFolder.isDirectory()); in checkDownloadedFolder()
287 Assert.assertEquals(1, subFolder.list().length); in checkDownloadedFolder()
291 new File(subFolder.getAbsolutePath(), subFolder.list()[0]))); in checkDownloadedFolder()
296 File subFolder = new File(localFile.getAbsolutePath(), filename); in checkDownloadedFolder() local
297 Assert.assertTrue(subFolder.isDirectory()); in checkDownloadedFolder()
298 Assert.assertEquals(2, subFolder.list().length); in checkDownloadedFolder()
302 new File(subFolder.getAbsolutePath(), FILE_NAME5))); in checkDownloadedFolder()
303 File subSubFolder = new File(subFolder, FOLDER_NAME4); in checkDownloadedFolder()
341 File subFolder = new File(localFile.getAbsolutePath(), FOLDER_NAME4); in testDownloadFile_size0Folder() local
[all …]