Searched refs:subFile (Results 1 – 5 of 5) sorted by relevance
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | FileUtilFuncTest.java | 182 File subFile = createTempFile("foo", ".txt", childDir); in testRecursiveDelete() local 184 assertFalse(subFile.exists()); in testRecursiveDelete() 198 File subFile = createTempFile("foo", ".txt", childDir); in testRecursiveCopy() local 199 FileUtil.writeToFile("foo", subFile); in testRecursiveCopy() 206 File.separator, subFile.getName())); in testRecursiveCopy() 208 assertTrue(FileUtil.compareFileContents(subFile, subFileCopy)); in testRecursiveCopy() 220 File subFile = createTempFile("foo", ".txt", childDir); in testRecursiveCopyToNonexistentTarget() local 221 FileUtil.writeToFile("foo", subFile); in testRecursiveCopyToNonexistentTarget() 230 File.separator, subFile.getName())); in testRecursiveCopyToNonexistentTarget() 233 assertTrue(FileUtil.compareFileContents(subFile, subFileCopy)); in testRecursiveCopyToNonexistentTarget()
|
D | ZipUtilTest.java | 104 File subFile = new File(childDir, "foo.txt"); in testCreateAndExtractZip() local 105 FileUtil.writeToFile("contents", subFile); in testCreateAndExtractZip() 112 File extractedSubFile = new File(extractedChildDir, subFile.getName()); in testCreateAndExtractZip() 116 assertTrue(FileUtil.compareFileContents(subFile, extractedSubFile)); in testCreateAndExtractZip() 175 File subFile = new File(childDir, "foo.txt"); in testCreateAndExtractFileFromZip() local 176 FileUtil.writeToFile("contents", subFile); in testCreateAndExtractFileFromZip() 182 assertTrue(FileUtil.compareFileContents(subFile, extractedSubFile)); in testCreateAndExtractFileFromZip()
|
D | FileUtilTest.java | 429 File subFile = FileUtil.createTempFile("find_file_file", ".txt", subDir); in testFindFile() local 430 File res = FileUtil.findFile(tmpDir, subFile.getName()); in testFindFile() 431 assertEquals(subFile.getAbsolutePath(), res.getAbsolutePath()); in testFindFile() 446 File subFile = FileUtil.createTempFile("find_file_file", "", subDir); in testFindFile_sameDirName() local 447 File res = FileUtil.findFile(tmpDir, subFile.getName()); in testFindFile_sameDirName() 448 assertEquals(subFile.getAbsolutePath(), res.getAbsolutePath()); in testFindFile_sameDirName()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/ |
D | MoblyBinaryHostTest.java | 367 for (File subFile : logDir.listFiles()) { in reportLogs() 368 if (subFile.isDirectory()) { in reportLogs() 369 reportLogs(subFile, listener); in reportLogs() 373 dataStream = new FileInputStreamSource(subFile, true); in reportLogs() 374 listener.testLog(subFile.getName(), LogDataType.TEXT, dataStream); in reportLogs()
|
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | ZipUtil.java | 267 for (File subFile : subFiles) { in addToZip() 268 addToZip(out, subFile, relativePathSegs); in addToZip()
|