Home
last modified time | relevance | path

Searched refs:createTempDir (Results 1 – 25 of 73) sorted by relevance

123

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFileUtilFuncTest.java59 File tmpParentDir = createTempDir("foo"); in testMkdirsRWX_multiLevel()
79 File tmpParentDir = createTempDir("foo"); in testMkdirsRWX_singleLevel()
92 File tmpParentDir = createTempDir("foo"); in testMkdirsRWX_preExisting()
121 File tmpDir = createTempDir("foo"); in testCreateTempDir()
130 File tmpParentDir = createTempDir("foo"); in testCreateTempDir_parentFile()
131 File childDir = createTempDir("foochild", tmpParentDir); in testCreateTempDir_parentFile()
152 File tmpParentDir = createTempDir("foo"); in testCreateTempFile_parentDir()
175 File tmpParentDir = createTempDir("foo"); in testRecursiveDelete()
176 File childDir = createTempDir("foochild", tmpParentDir); in testRecursiveDelete()
190 File tmpParentDir = createTempDir("foo"); in testRecursiveCopy()
[all …]
DZipUtilTest.java87 File tmpParentDir = createTempDir("foo"); in testCreateAndExtractZip()
89 File extractedDir = createTempDir("extract-foo"); in testCreateAndExtractZip()
117 File tmpParentDir = createTempDir("foo"); in testCreateAndExtractZip_fromFiles()
119 File extractedDir = createTempDir("extract-foo"); in testCreateAndExtractZip_fromFiles()
158 File tmpParentDir = createTempDir("foo"); in testCreateAndExtractFileFromZip()
195 private File createTempDir(String prefix) throws IOException { in createTempDir() method in ZipUtilTest
196 return createTempDir(prefix, null); in createTempDir()
199 private File createTempDir(String prefix, File parentDir) throws IOException { in createTempDir() method in ZipUtilTest
200 File tempDir = FileUtil.createTempDir(prefix, parentDir); in createTempDir()
DZipUtil2Test.java90 final File destDir = createTempDir("ZipUtil2Test"); in testExtractZip()
131 private File createTempDir(String prefix) throws IOException { in createTempDir() method in ZipUtil2Test
132 return createTempDir(prefix, null); in createTempDir()
135 private File createTempDir(String prefix, File parentDir) throws IOException { in createTempDir() method in ZipUtil2Test
136 File tempDir = FileUtil.createTempDir(prefix, parentDir); in createTempDir()
DTestMappingTest.java50 tempDir = FileUtil.createTempDir("test_mapping"); in testparseTestMapping()
80 tempDir = FileUtil.createTempDir("test_mapping"); in testparseTestMapping_BadJson()
95 tempDir = FileUtil.createTempDir("test_mapping"); in testGetTests()
97 File srcDir = FileUtil.createTempDir("src", tempDir); in testGetTests()
101 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testGetTests()
DBuildTestsZipUtilsTest.java43 File testDir = FileUtil.createTempDir("test-dir-build-tests"); in testGetApkFile_notFound()
64 File testDir = FileUtil.createTempDir("test-dir-build-tests"); in testGetApkFile_fromTestDir()
93 File testDir = FileUtil.createTempDir("test-dir-build-tests"); in testGetApkFile_fromTestDir_testCase()
DFileUtilTest.java342 File tmpDir = FileUtil.createTempDir("find_files_test"); in testFindFilesSuccess()
364 File tmpDir = FileUtil.createTempDir("find_files_test"); in testFindFilesSuccess_symlink()
365 File subDir = FileUtil.createTempDir("subfolder"); in testFindFilesSuccess_symlink()
390 File tmpDir = FileUtil.createTempDir("find_files_test"); in testFindFilesFail()
424 File tmpDir = FileUtil.createTempDir("find_file_test"); in testFindFile()
426 File subDir = FileUtil.createTempDir("sub_find_file_test", tmpDir); in testFindFile()
441 File tmpDir = FileUtil.createTempDir("find_file_test"); in testFindFile_sameDirName()
443 File subDir = FileUtil.createTempDir("find_file_file", tmpDir); in testFindFile_sameDirName()
458 File tmpDir = FileUtil.createTempDir("find_file_test"); in testFindFile_directory()
460 File subDir = FileUtil.createTempDir("find_file_file", tmpDir); in testFindFile_directory()
DSystemUtilTest.java46 targetOutDir = FileUtil.createTempDir("target_out_dir"); in testGetExternalTestCasesDirs()
47 hostOutDir = FileUtil.createTempDir("host_out_dir"); in testGetExternalTestCasesDirs()
DTarUtilTest.java44 mWorkDir = FileUtil.createTempDir("tarutil_unit_test_dir"); in setUp()
127 File unzipped = FileUtil.createTempDir("unzip-test-dir", mWorkDir); in testGzipDir_unGzip()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/
DSuiteApkInstallerTest.java88 File tmpDir = FileUtil.createTempDir("suite-apk-installer"); in testGetTestsDir_noVar()
107 File varDir = FileUtil.createTempDir("suite-apk-installer-var"); in testGetLocalPathForFilename_withVariable()
134 File tmpDir = FileUtil.createTempDir("suite-apk-installer"); in testGetTestsDir_notDir()
223 tmpDir = FileUtil.createTempDir("test"); in testGetLocalPathForFileName_testsDir()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java113 tempDir = FileUtil.createTempDir("test_mapping"); in testLoadTests_testMappingsZip()
115 File srcDir = FileUtil.createTempDir("src", tempDir); in testLoadTests_testMappingsZip()
119 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testLoadTests_testMappingsZip()
171 tempDir = FileUtil.createTempDir("test_mapping"); in testLoadTests_noTest()
173 File srcDir = FileUtil.createTempDir("src", tempDir); in testLoadTests_noTest()
DBaseTestSuiteTest.java88 File tmpDir = FileUtil.createTempDir(TEST_MODULE); in testSetupFilters_noMatch()
106 File tmpDir = FileUtil.createTempDir(TEST_MODULE); in testSetupFilters_oneMatch()
132 File tmpDir = FileUtil.createTempDir(TEST_MODULE); in testSetupFilters_multiMatchNoExactMatch()
157 File tmpDir = FileUtil.createTempDir(TEST_MODULE); in testSetupFilters_multiMatchOneExactMatch()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DIonHeapInfoMetricCollector.java47 String.format("%s/ion-audio-%s", createTempDir(), getFileSuffix()); in collectIonAudio()
65 String.format("%s/ion-system-%s", createTempDir(), getFileSuffix()); in collectIonSystem()
DScheduledDeviceMetricCollector.java160 File createTempDir() throws IOException { in createTempDir() method in ScheduledDeviceMetricCollector
161 return FileUtil.createTempDir(String.format("tmp_%s", getTag())); in createTempDir()
DPagetypeInfoMetricCollector.java39 String.format("%s/pagetypeinfo-%s", createTempDir(), getFileSuffix()); in collect()
DMemInfoMetricCollector.java39 String.format("%s/compact-meminfo-%s", createTempDir(), getFileSuffix()); in collect()
DGraphicsStatsMetricCollector.java39 String.format("%s/graphics-%s", createTempDir(), getFileSuffix()); in collect()
DTraceMetricCollector.java38 String outputFileName = String.format("%s/trace-%s", createTempDir(), getFileSuffix()); in collect()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DLocalDeviceBuildProviderTest.java60 mTmpDir = FileUtil.createTempDir("tmp"); in setUp()
61 mBuildDir = FileUtil.createTempDir("buildOutput"); in setUp()
62 mTestDir = FileUtil.createTempDir("tests"); in setUp()
192 File testDir = FileUtil.createTempDir("test_dir", mBuildDir); in testSetTestsDir_givenTestDirPattern()
DDeviceBuildInfoTest.java52 mTestsDir = FileUtil.createTempDir("device-info-tests-dir"); in setUp()
54 mHostLinkedDir = FileUtil.createTempDir("host-linked-dir"); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/result/
DFileSystemLogSaver.java199 logReportDir = FileUtil.createTempDir("inv_", buildDir); in createLogReportDir()
205 logReportDir = createTempDir(); in createLogReportDir()
268 private File createTempDir() { in createTempDir() method in FileSystemLogSaver
270 return FileUtil.createTempDir("inv_"); in createTempDir()
/tools/tradefederation/core/src/com/android/tradefed/build/
DSdkBuildInfo.java123 cloneTestDir = FileUtil.createTempDir("cloneTest"); in clone()
129 cloneSdkDir = FileUtil.createTempDir("cloneSdk"); in clone()
DOtaToolsDeviceBuildInfo.java67 File toolsCopy = FileUtil.createTempDir("otatools"); in clone()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlFormattedGeneratorReporter.java77 return FileUtil.createTempDir("XmlFormattedGeneratorReporter"); in createResultDir()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationUtilTest.java131 tmpDir = FileUtil.createTempDir("test_configs_dir"); in testGetConfigNamesFromDirs()
163 tmpDir = FileUtil.createTempDir("test_configs_dir"); in testGetConfigNamesFromDirs_patterns()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DTradefedSandboxTest.java76 mTmpFolder = FileUtil.createTempDir("tmp-tf-jar-dir"); in setUp()
199 File tmpDir = FileUtil.createTempDir("tmp-sandbox-dir"); in testSandboxOptions()
225 File tmpDir = FileUtil.createTempDir("tmp-sandbox-dir"); in testSandboxOptions_exclusion()

123