/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
D | FileUtilFuncTest.java | 59 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 …]
|
D | ZipUtilTest.java | 87 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()
|
D | ZipUtil2Test.java | 90 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()
|
D | TestMappingTest.java | 50 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()
|
D | BuildTestsZipUtilsTest.java | 43 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()
|
D | FileUtilTest.java | 342 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()
|
D | SystemUtilTest.java | 46 targetOutDir = FileUtil.createTempDir("target_out_dir"); in testGetExternalTestCasesDirs() 47 hostOutDir = FileUtil.createTempDir("host_out_dir"); in testGetExternalTestCasesDirs()
|
D | TarUtilTest.java | 44 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/ |
D | SuiteApkInstallerTest.java | 88 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/ |
D | TestMappingSuiteRunnerTest.java | 113 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()
|
D | BaseTestSuiteTest.java | 88 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/ |
D | IonHeapInfoMetricCollector.java | 47 String.format("%s/ion-audio-%s", createTempDir(), getFileSuffix()); in collectIonAudio() 65 String.format("%s/ion-system-%s", createTempDir(), getFileSuffix()); in collectIonSystem()
|
D | ScheduledDeviceMetricCollector.java | 160 File createTempDir() throws IOException { in createTempDir() method in ScheduledDeviceMetricCollector 161 return FileUtil.createTempDir(String.format("tmp_%s", getTag())); in createTempDir()
|
D | PagetypeInfoMetricCollector.java | 39 String.format("%s/pagetypeinfo-%s", createTempDir(), getFileSuffix()); in collect()
|
D | MemInfoMetricCollector.java | 39 String.format("%s/compact-meminfo-%s", createTempDir(), getFileSuffix()); in collect()
|
D | GraphicsStatsMetricCollector.java | 39 String.format("%s/graphics-%s", createTempDir(), getFileSuffix()); in collect()
|
D | TraceMetricCollector.java | 38 String outputFileName = String.format("%s/trace-%s", createTempDir(), getFileSuffix()); in collect()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
D | LocalDeviceBuildProviderTest.java | 60 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()
|
D | DeviceBuildInfoTest.java | 52 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/ |
D | FileSystemLogSaver.java | 199 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/ |
D | SdkBuildInfo.java | 123 cloneTestDir = FileUtil.createTempDir("cloneTest"); in clone() 129 cloneSdkDir = FileUtil.createTempDir("cloneSdk"); in clone()
|
D | OtaToolsDeviceBuildInfo.java | 67 File toolsCopy = FileUtil.createTempDir("otatools"); in clone()
|
/tools/tradefederation/core/src/com/android/tradefed/result/suite/ |
D | XmlFormattedGeneratorReporter.java | 77 return FileUtil.createTempDir("XmlFormattedGeneratorReporter"); in createResultDir()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/config/ |
D | ConfigurationUtilTest.java | 131 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/ |
D | TradefedSandboxTest.java | 76 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()
|