Home
last modified time | relevance | path

Searched refs:parentDir (Results 1 – 7 of 7) sorted by relevance

/tools/tradefederation/core/common_util/com/android/tradefed/util/
DFileUtil.java294 public static File createTempDir(String prefix, File parentDir) throws IOException { in createTempDir() argument
296 if (parentDir != null) { in createTempDir()
298 parentDir.getAbsolutePath(), prefix); in createTempDir()
300 File tmpDir = File.createTempFile(prefix, "", parentDir); in createTempDir()
352 public static File createTempFile(String prefix, String suffix, File parentDir) in createTempFile() argument
354 return internalCreateTempFile(prefix, suffix, parentDir); in createTempFile()
360 private static File internalCreateTempFile(String prefix, String suffix, File parentDir) in internalCreateTempFile() argument
388 if (parentDir != null) { in internalCreateTempFile()
390 parentDir.getAbsolutePath(), prefix, suffix); in internalCreateTempFile()
392 returnFile = File.createTempFile(prefix, suffix, parentDir); in internalCreateTempFile()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFileUtilFuncTest.java438 private File createTempDir(String prefix, File parentDir) throws IOException { in createTempDir() argument
439 File tempDir = FileUtil.createTempDir(prefix, parentDir); in createTempDir()
450 private File createTempFile(String prefix, String suffix, File parentDir) throws IOException { in createTempFile() argument
451 File tempFile = FileUtil.createTempFile(prefix, suffix, parentDir); in createTempFile()
DZipUtil2Test.java135 private File createTempDir(String prefix, File parentDir) throws IOException { in createTempDir() argument
136 File tempDir = FileUtil.createTempDir(prefix, parentDir); in createTempDir()
DZipUtilTest.java525 private File createTempDir(String prefix, File parentDir) throws IOException { in createTempDir() argument
526 File tempDir = FileUtil.createTempDir(prefix, parentDir); in createTempDir()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/binary/
DExecutableHostTest.java118 String parentDir = new File(binaryPath).getParent(); in runBinary() local
121 command.add(String.format("pushd %s; ./%s;", parentDir, scriptName)); in runBinary()
/tools/tradefederation/core/util-apps/ContentProvider/androidTest/src/android/tradefed/contentprovider/
DManagedFileContentProviderTest.java106 private void createTestFile(File parentDir) throws Exception { in createTestFile() argument
107 mTestFile = new File(parentDir, TEST_FILE); in createTestFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DJarHostTestTest.java100 protected File getJarResource(String filename, File parentDir) throws IOException { in getJarResource() argument
102 File jarFile = FileUtil.createTempFile("test", ".jar", parentDir); in getJarResource()