Home
last modified time | relevance | path

Searched refs:getFileForPath (Results 1 – 15 of 15) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/util/
DBuildTestsZipUtils.java61 dirs.add(FileUtil.getFileForPath(dir, "DATA", "app")); in getApkFile()
62 dirs.add(FileUtil.getFileForPath(dir, "DATA", "app", apkBase)); in getApkFile()
63 dirs.add(FileUtil.getFileForPath(dir, "DATA", "priv-app", apkBase)); in getApkFile()
65 dirs.add(FileUtil.getFileForPath(dir, "data", "app", apkBase)); in getApkFile()
76 expandedTestDirs.add(FileUtil.getFileForPath(testsDir, "DATA", "app")); in getApkFile()
77 expandedTestDirs.add(FileUtil.getFileForPath(testsDir, "DATA", "app", apkBase)); in getApkFile()
79 FileUtil.getFileForPath(testsDir, "DATA", "priv-app", apkBase)); in getApkFile()
80 expandedTestDirs.add(FileUtil.getFileForPath(testsDir, apkBase)); in getApkFile()
DSystemUtil.java151 FileUtil.getFileForPath(testsDir, HOST_TESTCASES), in getTestCasesDirs()
152 FileUtil.getFileForPath(testsDir, TARGET_TESTCASES))); in getTestCasesDirs()
/tools/tradefederation/core/javatests/com/android/tradefed/cluster/
DClusterBuildProviderTest.java234 assertFalse(FileUtil.getFileForPath(mRootDir, name).isFile()); in testGetBuild_decompressTestResources()
235 Assert.assertTrue(FileUtil.getFileForPath(mRootDir, "dir1", name).isFile()); in testGetBuild_decompressTestResources()
236 Assert.assertTrue(FileUtil.getFileForPath(mRootDir, "dir2", name).isFile()); in testGetBuild_decompressTestResources()
237 Assert.assertTrue(FileUtil.getFileForPath(mRootDir, "dir3", name).isFile()); in testGetBuild_decompressTestResources()
262 Assert.assertTrue(FileUtil.getFileForPath(mRootDir, name).isFile()); in testGetBuild_decompressTestResources_withMountZip()
263 Assert.assertTrue(FileUtil.getFileForPath(mRootDir, "dir", name).isFile()); in testGetBuild_decompressTestResources_withMountZip()
307 shouldExist, FileUtil.getFileForPath(mRootDir, "dir1", name).isFile()); in testGetBuild_decompressTestResources_withFileNamesAndMountZip()
309 shouldExist, FileUtil.getFileForPath(mRootDir, "dir2", name).isFile()); in testGetBuild_decompressTestResources_withFileNamesAndMountZip()
311 shouldExist, FileUtil.getFileForPath(mRootDir, "dir3", name).isFile()); in testGetBuild_decompressTestResources_withFileNamesAndMountZip()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DInstallBuildEnvApkSetup.java58 File apk = FileUtil.getFileForPath(testAppDir, apkPrimaryFileName, apkName); in setUp()
DTestSystemAppInstallSetup.java81 File testAppFile = FileUtil.getFileForPath(testsDir, "DATA", "app", testAppName); in setUp()
DTestFilePushSetup.java96 dirs.add(FileUtil.getFileForPath(testsDir, "DATA")); in getLocalPathForFilename()
DPythonVirtualenvPreparer.java121 mTmpVenvDir = FileUtil.getFileForPath(CurrentInvocation.getWorkFolder(), in startVirtualenv()
/tools/tradefederation/core/javatests/com/android/tradefed/config/
DConfigurationUtilTest.java153 File subDir = FileUtil.getFileForPath(tmpDir, "sub"); in testGetConfigNamesFromDirs()
186 File subDir = FileUtil.getFileForPath(tmpDir, "sub"); in testGetConfigNamesFromDirs_patterns()
/tools/tradefederation/core/src/com/android/tradefed/result/
DFileSystemLogSaver.java213 File buildReportDir = FileUtil.getFileForPath(reportDir, in createBuildDir()
DLogFileSaver.java146 buildReportDir = FileUtil.getFileForPath(rootDir, in createBuildDir()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DBaseDeviceMetricCollectorTest.java610 File hostTestCasesDir = FileUtil.getFileForPath(testsDir, "host/testcases"); in testResolveRelativeFilePath_withDeviceBuildInfo()
645 File hostTestCasesDir = FileUtil.getFileForPath(testsDir, "host/testcases"); in testUnableResolveRelativeFilePath_withDeviceBuildInfo()
681 File hostTestCasesDir = FileUtil.getFileForPath(testsDir, "host/testcases"); in testResolveRelativeFilePath_fromModule()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DTfSuiteRunnerTest.java278 File zipDir = FileUtil.getFileForPath(tmpDir, "suite"); in testLoadTests_additionalTestsZip()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DPushFilePreparerTest.java322 File hostTestCasesDir = FileUtil.getFileForPath(testsDir, HOST_TESTCASES); in testResolveRelativeFilePath_withDeviceBuildInfo()
355 File hostTestCasesDir = FileUtil.getFileForPath(testsDir, HOST_TESTCASES); in testResolveRelativeFilePath_withDeviceBuildInfo_remoteZip()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DFileUtil.java901 public static File getFileForPath(File parentDir, String... pathSegments) { in getFileForPath() method in FileUtil
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DInvocationExecution.java1580 File varDir = FileUtil.getFileForPath(testsDir, path);