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.java195 File subFolder = new File(localFolder, subFolderName); in recursiveCheckFolderFreshness() local
198 CLog.w("%s exists as a non-directory.", subFolder); in recursiveCheckFolderFreshness()
199 subFolder = new File(localFolder, subFolderName + "_folder"); in recursiveCheckFolderFreshness()
201 if (!recursiveCheckFolderFreshness(bucketName, subRemoteFolder, subFolder)) { in recursiveCheckFolderFreshness()
204 subFilenames.remove(subFolder.getName()); in recursiveCheckFolderFreshness()
360 File subFolder = new File(localFolder, subFolderName); in recursiveDownloadFolder() local
363 CLog.w("%s exists as a non-directory.", subFolder); in recursiveDownloadFolder()
364 subFolder = new File(localFolder, subFolderName + "_folder"); in recursiveDownloadFolder()
366 recursiveDownloadFolder(bucketName, subRemoteFolder, subFolder); in recursiveDownloadFolder()
367 subFilenames.remove(subFolder.getName()); in recursiveDownloadFolder()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSFileDownloaderFuncTest.java248 File subFolder = new File(localFile.getAbsolutePath(), filename); in checkDownloadedFolder() local
249 Assert.assertTrue(subFolder.isDirectory()); in checkDownloadedFolder()
250 Assert.assertEquals(1, subFolder.list().length); in checkDownloadedFolder()
254 new File(subFolder.getAbsolutePath(), subFolder.list()[0]))); in checkDownloadedFolder()