/tools/tradefederation/core/javatests/com/android/tradefed/cluster/ |
D | SubprocessReportingHelperTest.java | 57 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()
|
D | ClusterCommandLauncherTest.java | 354 FileUtil.findFile(mRootDir, "subprocess-results-reporter.jar") in testRun_withUseSubprocessReporting()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | FileUtilTest.java | 449 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 …]
|
D | TargetFileUtilsTest.java | 95 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()
|
D | FileUtilFuncTest.java | 381 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/ |
D | TestInformation.java | 222 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/ |
D | PushFilePreparer.java | 258 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()
|
D | MixKernelTargetPreparer.java | 260 File mixKernelTool = FileUtil.findFile(mMixKernelToolPath, mMixKernelToolName); in findMixKernelTool() 291 File newDeviceImage = FileUtil.findFile(newDeviceDir, ".*-img-.*.zip$"); in setNewDeviceImage()
|
D | TestFilePushSetup.java | 110 testAppFile = FileUtil.findFile(dir, fileName); in getLocalPathForFilename()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | IsolatedHostTest.java | 343 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/ |
D | BuildTestsZipUtils.java | 84 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/ |
D | GeneralTestsConfigValidation.java | 424 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/ |
D | RustBinaryHostTest.java | 129 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/ |
D | MixKernelTargetPreparerTest.java | 64 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/ |
D | GsiDeviceFlashPreparer.java | 328 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/ |
D | TargetFileUtils.java | 146 public static ArrayList<String> findFile( in findFile() method in TargetFileUtils
|
/tools/tradefederation/core/src/com/android/tradefed/cluster/ |
D | SubprocessReportingHelper.java | 107 File mf = FileUtil.findFile(extractedJar, "MANIFEST.MF"); in buildSubprocessReporterJar()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/sync/ |
D | IncrementalImageFuncTest.java | 287 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/ |
D | FileUtil.java | 933 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/ |
D | TestContentAnalyzer.java | 185 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/ |
D | ExecutableHostTest.java | 94 File src = FileUtil.findFile(binary, getAbi(), scanDirs.toArray(new File[] {})); in findBinary()
|
/tools/tradefederation/core/src/com/android/tradefed/testtype/ |
D | SubprocessTfLauncher.java | 243 File f = FileUtil.findFile(rootDirFile, jar); in preRun()
|
/tools/tradefederation/core/test_observatory/com/android/tradefed/observatory/ |
D | TestDiscoveryExecutor.java | 400 FileUtil.findFile(new File(rootDirPath), name + ".config"); in findExtraConfigsParents()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | BuildInfo.java | 756 return FileUtil.findFile(workingDir, fileName); in stageRemoteFile()
|
/tools/tradefederation/core/src/com/android/tradefed/device/metric/ |
D | BaseDeviceMetricCollector.java | 737 src = FileUtil.findFile(fileName, null, moduleDir); in resolveRelativeFilePath()
|