Searched refs:parentDir (Results 1 – 6 of 6) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | FileUtil.java | 293 public static File createTempDir(String prefix, File parentDir) throws IOException { in createTempDir() argument 295 if (parentDir != null) { in createTempDir() 297 parentDir.getAbsolutePath(), prefix); in createTempDir() 299 File tmpDir = File.createTempFile(prefix, "", parentDir); in createTempDir() 351 public static File createTempFile(String prefix, String suffix, File parentDir) in createTempFile() argument 353 return internalCreateTempFile(prefix, suffix, parentDir); in createTempFile() 359 private static File internalCreateTempFile(String prefix, String suffix, File parentDir) in internalCreateTempFile() argument 387 if (parentDir != null) { in internalCreateTempFile() 389 parentDir.getAbsolutePath(), prefix, suffix); in internalCreateTempFile() 391 returnFile = File.createTempFile(prefix, suffix, parentDir); in internalCreateTempFile() [all …]
|
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | FileUtilFuncTest.java | 438 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()
|
D | ZipUtil2Test.java | 135 private File createTempDir(String prefix, File parentDir) throws IOException { in createTempDir() argument 136 File tempDir = FileUtil.createTempDir(prefix, parentDir); in createTempDir()
|
D | ZipUtilTest.java | 199 private File createTempDir(String prefix, File parentDir) throws IOException { in createTempDir() argument 200 File tempDir = FileUtil.createTempDir(prefix, parentDir); in createTempDir()
|
/tools/tradefederation/core/util-apps/ContentProvider/androidTest/src/android/tradefed/contentprovider/ |
D | ManagedFileContentProviderTest.java | 106 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/ |
D | JarHostTestTest.java | 99 protected File getJarResource(String filename, File parentDir) throws IOException { in getJarResource() argument 101 File jarFile = FileUtil.createTempFile("test", ".jar", parentDir); in getJarResource()
|