Home
last modified time | relevance | path

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

12345

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFileUtilFuncTest.java69 File tmpParentDir = createTempDir("foo"); in testMkdirsRWX_multiLevel()
88 File tmpParentDir = createTempDir("foo"); in testMkdirsRWX_singleLevel()
102 File tmpParentDir = createTempDir("foo"); in testMkdirsRWX_preExisting()
129 File tmpDir = createTempDir("foo"); in testCreateTempDir()
137 File tmpParentDir = createTempDir("foo"); in testCreateTempDir_parentFile()
138 File childDir = createTempDir("foochild", tmpParentDir); in testCreateTempDir_parentFile()
157 File tmpParentDir = createTempDir("foo"); in testCreateTempFile_parentDir()
180 File tmpParentDir = createTempDir("foo"); in testRecursiveDelete()
181 File childDir = createTempDir("foochild", tmpParentDir); in testRecursiveDelete()
196 File tmpParentDir = createTempDir("foo"); in testRecursiveCopy()
[all …]
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()
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()
124 File testDir = FileUtil.createTempDir("test-dir-build-tests"); in testGetApkFile_fromTestDir_differentModule_testCase()
DFileUtilTest.java344 File tmpDir = FileUtil.createTempDir("find_files_test"); in testFindFilesSuccess()
366 File tmpDir = FileUtil.createTempDir("find_files_test"); in testFindFilesSuccess_symlink()
367 File subDir = FileUtil.createTempDir("subfolder"); in testFindFilesSuccess_symlink()
392 File tmpDir = FileUtil.createTempDir("find_files_test"); in testFindFilesFail()
426 File tmpDir = FileUtil.createTempDir("find_file_test"); in testFindFile()
428 File subDir = FileUtil.createTempDir("sub_find_file_test", tmpDir); in testFindFile()
443 File tmpDir = FileUtil.createTempDir("find_file_test"); in testFindFile_sameDirName()
445 File subDir = FileUtil.createTempDir("find_file_file", tmpDir); in testFindFile_sameDirName()
460 File tmpDir = FileUtil.createTempDir("find_file_test"); in testFindFile_directory()
462 File subDir = FileUtil.createTempDir("find_file_file", tmpDir); in testFindFile_directory()
[all …]
DZipUtilTest.java98 File tmpParentDir = createTempDir("foo"); in testCreateAndExtractZip()
100 File extractedDir = createTempDir("extract-foo"); in testCreateAndExtractZip()
128 File tmpParentDir = createTempDir("foo"); in testCreateAndExtractZip_fromFiles()
130 File extractedDir = createTempDir("extract-foo"); in testCreateAndExtractZip_fromFiles()
169 File tmpParentDir = createTempDir("foo"); in testCreateAndExtractFileFromZip()
225 tmpDir = FileUtil.createTempDir("partial_unzip"); in testPartipUnzip()
386 tmpDir = FileUtil.createTempDir("partial_unzip"); in testPartialUnzipWithUseZip64()
521 private File createTempDir(String prefix) throws IOException { in createTempDir() method in ZipUtilTest
522 return createTempDir(prefix, null); in createTempDir()
525 private File createTempDir(String prefix, File parentDir) throws IOException { in createTempDir() method in ZipUtilTest
[all …]
DRemoteZipTest.java100 destDir = FileUtil.createTempDir("test"); in testGetZipEntries()
122 destDir = FileUtil.createTempDir("test"); in testGetZipEntriesWithUseZip64()
136 destDir = FileUtil.createTempDir("test"); in testDownloadFilesFromZip()
DSystemUtilTest.java47 targetOutDir = FileUtil.createTempDir("target_out_dir"); in testGetExternalTestCasesDirs()
48 hostOutDir = FileUtil.createTempDir("host_out_dir"); in testGetExternalTestCasesDirs()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/
DTestMappingTest.java62 tempDir = FileUtil.createTempDir("test_mapping"); in testparseTestMapping()
65 File testMappingRootDir = FileUtil.createTempDir("subdir", tempDir); in testparseTestMapping()
130 tempDir = FileUtil.createTempDir("test_mapping"); in testparseTestMapping_BadJson()
146 tempDir = FileUtil.createTempDir("test_mapping"); in testGetTests()
148 File srcDir = FileUtil.createTempDir("src", tempDir); in testGetTests()
152 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testGetTests()
198 tempDir = FileUtil.createTempDir("test_mapping"); in testGetTests_matchKeywords()
200 File srcDir = FileUtil.createTempDir("src", tempDir); in testGetTests_matchKeywords()
204 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testGetTests_matchKeywords()
239 tempDir = FileUtil.createTempDir("test_mapping"); in testGetAllTestMappingPaths_FromChildDirectory()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java238 tempDir = FileUtil.createTempDir("test_mapping"); in testLoadTests_testMappingsZip()
240 File srcDir = FileUtil.createTempDir("src", tempDir); in testLoadTests_testMappingsZip()
249 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testLoadTests_testMappingsZip()
308 tempDir = FileUtil.createTempDir("test_mapping"); in testLoadTests_testMappingsZipFoundTestsWithKeywords()
310 File srcDir = FileUtil.createTempDir("src", tempDir); in testLoadTests_testMappingsZipFoundTestsWithKeywords()
319 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testLoadTests_testMappingsZipFoundTestsWithKeywords()
380 tempDir = FileUtil.createTempDir("test_mapping"); in testLoadTests_testMappingsZipFailWithKeywords()
382 File srcDir = FileUtil.createTempDir("src", tempDir); in testLoadTests_testMappingsZipFailWithKeywords()
391 File subDir = FileUtil.createTempDir("sub_dir", srcDir); in testLoadTests_testMappingsZipFailWithKeywords()
428 tempDir = FileUtil.createTempDir("test_mapping"); in testLoadTests_testMappingsZipHostTests()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DPushFilePreparerTest.java122 File testsDir = FileUtil.createTempDir("tests_dir"); in testPushFile_RemoteIsDir()
146 File testsDir = FileUtil.createTempDir("tests_dir"); in testPushFile_duplicateKey()
177 File testsDir = FileUtil.createTempDir("tests_dir"); in testPushDir_RemoteIsDir()
205 File testsDir = FileUtil.createTempDir("tests_dir"); in testPushDir_RemoteIsFile()
234 File testsDir = FileUtil.createTempDir("tests_dir"); in testRemotePush_override()
267 File testsDir = FileUtil.createTempDir("tests_dir"); in testPushFileAndPush_override()
339 testsDir = FileUtil.createTempDir("tests_dir"); in testResolveRelativeFilePath_withDeviceBuildInfo()
370 testsDir = FileUtil.createTempDir("tests_dir"); in testResolveRelativeFilePath_withDeviceBuildInfo_remoteZip()
402 File tmpFolder = FileUtil.createTempDir("push-file-tests-dir"); in testPush_abiDirectory_noBitness()
438 File tmpFolder = FileUtil.createTempDir("push-file-tests-dir"); in testPush_abiDirectory_noBitness_withModule()
[all …]
DGsiDeviceFlashPreparerTest.java99 mTmpDir = FileUtil.createTempDir("tmp"); in setUp()
166 File gsiDir = FileUtil.createTempDir("gsi_folder", mTmpDir); in testSetUp_NoSystemImageInGsiZip()
184 File gsiDir = FileUtil.createTempDir("gsi_folder", mTmpDir); in testSetUp_NoVbmetaImageInGsiZip()
202 File gsiDir = FileUtil.createTempDir("gsi_folder", mTmpDir); in testSetup_Success()
245 File gsiDir = FileUtil.createTempDir("gsi_folder", mTmpDir); in testSetup_Success_FromZipFile()
290 File gsiDir = FileUtil.createTempDir("gsi_folder", mTmpDir); in testSetup_Success_WithGkiBootImg()
343 File gsiDir = FileUtil.createTempDir("gsi_folder", mTmpDir); in testSetup_Success_WithGkiBootImgInZip()
398 File gsiDir = FileUtil.createTempDir("gsi_folder", mTmpDir); in testSetup_Success_Api28()
436 File gsiDir = FileUtil.createTempDir("gsi_folder", mTmpDir); in testSetup_GsiFlashFailure()
482 File gsiDir = FileUtil.createTempDir("gsi_folder", mTmpDir); in testSetUp_BootFailure()
DAllTestAppsInstallSetupTest.java77 File testDir = FileUtil.createTempDir("TestAppSetupTest"); in testSetup()
82 File subTestDir = FileUtil.createTempDir("SubTestAppSetupTest", testDir); in testSetup()
97 File testDir = FileUtil.createTempDir("TestAppSetupForceQueryableTest"); in testSetupForceQueryable()
DGkiDeviceFlashPreparerTest.java99 mTmpDir = FileUtil.createTempDir("tmp"); in setUp()
182 File otaDir = FileUtil.createTempDir("otatool_folder", mTmpDir); in testValidateGkiBootImg_NoMkbootimgInOtatoolsZip()
204 File otaDir = FileUtil.createTempDir("otatool_folder", mTmpDir); in testValidateGkiBootImg_FailToGenerateBootImg()
259 File otaDir = FileUtil.createTempDir("otatool_folder", mTmpDir); in testSetUp_NoMkbootimgInOtatoolsZip()
301 File gkiDir = FileUtil.createTempDir("gki_folder", mTmpDir); in testSetup_Success_FromZip()
/tools/tradefederation/core/test_framework/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()
DMemInfoMetricCollector.java39 String.format("%s/compact-meminfo-%s", createTempDir(), getFileSuffix()); in collect()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/
DSuiteApkInstallerTest.java63 mTmpDepDir = FileUtil.createTempDir("suite-apk-installer-dep"); in setUp()
97 File tmpDir = FileUtil.createTempDir("suite-apk-installer"); in testGetTestsDir_notDir()
152 tmpDir = FileUtil.createTempDir("test"); in testGetLocalPathForFileName_testsDir()
187 tmpDir = FileUtil.createTempDir("test"); in testGetLocalPathForFileName_remoteZip()
/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.java53 mTestsDir = FileUtil.createTempDir("device-info-tests-dir"); in setUp()
55 mHostLinkedDir = FileUtil.createTempDir("host-linked-dir"); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLogFileSaver.java70 private File createTempDir() { in createTempDir() method in LogFileSaver
72 return FileUtil.createTempDir("inv_"); in createTempDir()
120 invocationDir = FileUtil.createTempDir("inv_", buildDir); in createInvLogDir()
129 invocationDir = createTempDir(); in createInvLogDir()
DFileSystemLogSaver.java204 logReportDir = createTempDir(); in createLogReportDir()
228 return FileUtil.createTempDir("inv_", buildDir); in generateLogReportDir()
279 private File createTempDir() { in createTempDir() method in FileSystemLogSaver
281 return FileUtil.createTempDir("inv_"); in createTempDir()
DATestFileSystemLogSaver.java40 return FileUtil.createTempDir("invocation_", mAtestRootReportDir); in generateLogReportDir()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DTestOutputUploaderTest.java65 destFolder = FileUtil.createTempDir(this.getClass().getName()); in testUploadFile_fileProtocol_rootPath()
86 destRootFolder = FileUtil.createTempDir(this.getClass().getName()); in testUploadFile_fileProtocol_withDestPath()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/contentprovider/
DContentProviderHandlerTest.java191 File toPush = FileUtil.createTempDir("content-provider-test"); in testPushFile_directory()
259 File pullTo = FileUtil.createTempDir("content-provider-test"); in testPullDir_EmptyDirectory()
272 File pullTo = FileUtil.createTempDir("content-provider-test"); in testPullDir_failedDevice()
289 File pullTo = FileUtil.createTempDir("content-provider-test"); in testPullDir_OneFile()
318 File pullTo = FileUtil.createTempDir("content-provider-test"); in testPullDir_RecursiveSubDir()
/tools/tradefederation/core/src/com/android/tradefed/result/suite/
DXmlFormattedGeneratorReporter.java77 return FileUtil.createTempDir("XmlFormattedGeneratorReporter"); in createResultDir()

12345