Home
last modified time | relevance | path

Searched refs:findFile (Results 1 – 25 of 31) sorted by relevance

12

/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DSubprocessReportingHelperTest.java57 assertNotNull(FileUtil.findFile(extractedJar, "LegacySubprocessResultsReporter.class")); in testCreateSubprocessReporterJar()
58 assertNotNull(FileUtil.findFile(extractedJar, "SubprocessTestResultsParser.class")); in testCreateSubprocessReporterJar()
59 assertNotNull(FileUtil.findFile(extractedJar, "SubprocessEventHelper.class")); in testCreateSubprocessReporterJar()
60 assertNotNull(FileUtil.findFile(extractedJar, "SubprocessResultsReporter.class")); in testCreateSubprocessReporterJar()
61 assertNotNull(FileUtil.findFile(extractedJar, "host.xml")); in testCreateSubprocessReporterJar()
DClusterCommandLauncherTest.java354 FileUtil.findFile(mRootDir, "subprocess-results-reporter.jar") in testRun_withUseSubprocessReporting()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DFileUtilTest.java449 File res = FileUtil.findFile(tmpDir, subFile.getName()); in testFindFile()
466 File res = FileUtil.findFile(tmpDir, subFile.getName()); in testFindFile_sameDirName()
483 File res = FileUtil.findFile(tmpDir, subDir.getName()); in testFindFile_directory()
535 File findFile = FileUtil.findFile(".*.config", abi, tmpDir); in testfindFile_success() local
536 assertEquals(findFile.getAbsolutePath(), arm64File.getAbsolutePath()); in testfindFile_success()
540 findFile = FileUtil.findFile(".*.config", abi, tmpDir); in testfindFile_success()
541 assertEquals(findFile.getAbsolutePath(), armFile.getAbsolutePath()); in testfindFile_success()
545 findFile = FileUtil.findFile(".*.config", abi, tmpDir); in testfindFile_success()
546 assertEquals(findFile.getAbsolutePath(), x8664File.getAbsolutePath()); in testfindFile_success()
550 findFile = FileUtil.findFile(".*.config", abi, tmpDir); in testfindFile_success()
[all …]
DTargetFileUtilsTest.java95 TargetFileUtils.findFile( in testFindFile()
110 findPaths, TargetFileUtils.findFile("findPath", "namePattern", null, mMockDevice)); in testFindFile_w_cmd_result_fail()
124 findPaths, TargetFileUtils.findFile("findPath", "namePattern", null, mMockDevice)); in testFindFile_w_empty_line_stdout()
DFileUtilFuncTest.java381 assertNotNull(FileUtil.findFile(dest, testFile.getName())); in testRecursiveSymlink()
404 assertNotNull(FileUtil.findFile(dest, testFile.getName())); in testSymlinkDeletion()
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/
DTestInformation.java222 File file = FileUtil.findFile(testsDir, fileName); in getFromEnv()
233 File file = FileUtil.findFile(testsDir, fileName); in getFromTestsDir()
246 file = FileUtil.findFile(file, fileName); in getFromTestsDir()
260 File file = FileUtil.findFile(testsDir, fileName); in getFromDependencyFolder()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DPushFilePreparer.java258 src = FileUtil.findFile(fileName, null, moduleDir); in resolveRelativeFilePath()
261 File srcWithAbi = FileUtil.findFile(fileName, mAbi, moduleDir); in resolveRelativeFilePath()
308 src = FileUtil.findFile(fileName, null, scanDirs.toArray(new File[] {})); in resolveRelativeFilePath()
312 FileUtil.findFile(fileName, mAbi, scanDirs.toArray(new File[] {})); in resolveRelativeFilePath()
337 File srcWithAbi = FileUtil.findFile(fileName, mAbi, testDir); in resolveRelativeFilePath()
DMixKernelTargetPreparer.java260 File mixKernelTool = FileUtil.findFile(mMixKernelToolPath, mMixKernelToolName); in findMixKernelTool()
291 File newDeviceImage = FileUtil.findFile(newDeviceDir, ".*-img-.*.zip$"); in setNewDeviceImage()
DTestFilePushSetup.java110 testAppFile = FileUtil.findFile(dir, fileName); in getLocalPathForFilename()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DIsolatedHostTest.java343 File javaExec = FileUtil.findFile(mJdkFolder, "java"); in compileCommandArgs()
419 File f = FileUtil.findFile(testDir, jar); in findJarDirectory()
473 File ravenwoodRuntime = FileUtil.findFile(testDir, "ravenwood-runtime"); in getRavenwoodRuntimeDir()
506 File androidAllJar = FileUtil.findFile(testDir, mAndroidAllName); in compileClassPath()
518 File f = FileUtil.findFile(testDir, jar); in compileClassPath()
572 File f = FileUtil.findFile(testDir, jar); in compileLdLibraryPathInner()
627 File androidAllDir = FileUtil.findFile(testDir, "android-all"); in compileRobolectricOptions()
888 File jarFile = FileUtil.findFile(baseSearchFile, jarName); in searchJarFile()
/tools/tradefederation/core/src/com/android/tradefed/util/
DBuildTestsZipUtils.java84 File testcasesSubDir = FileUtil.findFile(testsDir, apkBase); in getApkFile()
117 File testAppFile = FileUtil.findFile(dir, apkFileName); in getApkFile()
/tools/tradefederation/core/javatests/com/android/tradefed/presubmit/
DGeneralTestsConfigValidation.java424 File apkFile = FileUtil.findFile(config.getParentFile(), apkName); in validatePreparers()
467 File file32 = FileUtil.findFile(config.getParentFile(), path + "32"); in validatePreparers()
468 File file64 = FileUtil.findFile(config.getParentFile(), path + "64"); in validatePreparers()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryHostTest.java129 res = FileUtil.findFile(baseName, getAbi(), new File[] {testsDir}); in findFiles()
133 res = FileUtil.findFile(baseName, getAbi(), currentDir); in findFiles()
138 FileUtil.findFile( in findFiles()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DMixKernelTargetPreparerTest.java64 if (FileUtil.findFile(newDir, deviceImageName + ".zip") == null) { in testCopyDeviceImageToDir()
88 if (FileUtil.findFile(tmpDir, "Image.gz") == null) { in testCopyLabelFileToDir()
91 if (FileUtil.findFile(tmpDir, "some-img-001.zip") == null) { in testCopyLabelFileToDir()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DGsiDeviceFlashPreparer.java328 requestedFile = FileUtil.findFile(destDir, requestedFileName); in getRequestedFile()
336 requestedFile = FileUtil.findFile(sourceFile, requestedFileName); in getRequestedFile()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/util/
DTargetFileUtils.java146 public static ArrayList<String> findFile( in findFile() method in TargetFileUtils
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DSubprocessReportingHelper.java107 File mf = FileUtil.findFile(extractedJar, "MANIFEST.MF"); in buildSubprocessReporterJar()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/sync/
DIncrementalImageFuncTest.java287 File snapshot = FileUtil.findFile(destDir, "create_snapshot"); in getCreateSnapshot()
298 File inspect = FileUtil.findFile(destDir, "inspect_cow"); in inspectCowPatches()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DFileUtil.java933 public static File findFile(File dir, String fileName) { in findFile() method in FileUtil
937 File result = findFile(file, fileName); in findFile()
960 public static File findFile(String fileName, IAbi abi, File... dirs) throws IOException { in findFile() method in FileUtil
983 File matchFile = findFile(dir, fileName); in findFile()
/tools/tradefederation/core/src/com/android/tradefed/build/content/
DTestContentAnalyzer.java185 File testcasesRoot = FileUtil.findFile(rootDir, "testcases"); in mapDiffsToModule()
191 File dep = FileUtil.findFile(rootDir, depFile); in mapDiffsToModule()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/
DExecutableHostTest.java94 File src = FileUtil.findFile(binary, getAbi(), scanDirs.toArray(new File[] {})); in findBinary()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DSubprocessTfLauncher.java243 File f = FileUtil.findFile(rootDirFile, jar); in preRun()
/tools/tradefederation/core/test_observatory/com/android/tradefed/observatory/
DTestDiscoveryExecutor.java400 FileUtil.findFile(new File(rootDirPath), name + ".config"); in findExtraConfigsParents()
/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildInfo.java756 return FileUtil.findFile(workingDir, fileName); in stageRemoteFile()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollector.java737 src = FileUtil.findFile(fileName, null, moduleDir); in resolveRelativeFilePath()

12