Home
last modified time | relevance | path

Searched refs:recursiveDelete (Results 1 – 25 of 134) sorted by relevance

123456

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DPushFilePreparerTest.java138 FileUtil.recursiveDelete(testsDir); in testPushFile_RemoteIsDir()
169 FileUtil.recursiveDelete(testsDir); in testPushFile_duplicateKey()
197 FileUtil.recursiveDelete(testsDir); in testPushDir_RemoteIsDir()
223 FileUtil.recursiveDelete(testsDir); in testPushDir_RemoteIsFile()
256 FileUtil.recursiveDelete(testsDir); in testRemotePush_override()
290 FileUtil.recursiveDelete(testsDir); in testPushFileAndPush_override()
355 FileUtil.recursiveDelete(testsDir); in testResolveRelativeFilePath_withDeviceBuildInfo()
389 FileUtil.recursiveDelete(testsDir); in testResolveRelativeFilePath_withDeviceBuildInfo_remoteZip()
428 FileUtil.recursiveDelete(tmpFolder); in testPush_abiDirectory_noBitness()
465 FileUtil.recursiveDelete(tmpFolder); in testPush_abiDirectory_noBitness_withModule()
[all …]
DInstallApexModuleTargetPreparerTest.java775 FileUtil.recursiveDelete(fakeSplitApkApks); in testSetupAndTearDown_ApkAndApks()
992 FileUtil.recursiveDelete(fakeSplitApexApks); in testInstallUsingBundletool()
994 FileUtil.recursiveDelete(fakeSplitApkApks); in testInstallUsingBundletool()
1097 FileUtil.recursiveDelete(fakeSplitApexApks); in testInstallUsingBundletool_skipModuleNotPreloaded()
1099 FileUtil.recursiveDelete(fakeSplitApkApks); in testInstallUsingBundletool_skipModuleNotPreloaded()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java294 FileUtil.recursiveDelete(tempDir); in testLoadTests_testMappingsZip()
366 FileUtil.recursiveDelete(tempDir); in testLoadTests_testMappingsZipFoundTestsWithKeywords()
415 FileUtil.recursiveDelete(tempDir); in testLoadTests_testMappingsZipFailWithKeywords()
469 FileUtil.recursiveDelete(tempDir); in testLoadTests_testMappingsZipHostTests()
514 FileUtil.recursiveDelete(tempDir); in testLoadTests_shard()
566 FileUtil.recursiveDelete(tempDir); in testLoadTests_shardNoTest()
593 FileUtil.recursiveDelete(tempDir); in testLoadTests_noTest()
665 FileUtil.recursiveDelete(tempDir); in testLoadTestsWithModule()
720 FileUtil.recursiveDelete(tempDir); in testLoadTestsWithMultiModules()
800 FileUtil.recursiveDelete(tempDir); in testCreateIndividualTestsWithDifferentTestInfos()
[all …]
DBaseTestSuiteTest.java117 FileUtil.recursiveDelete(tmpDir); in testSetupFilters_noMatch()
146 FileUtil.recursiveDelete(tmpDir); in testSetupFilters_match_parameterized()
180 FileUtil.recursiveDelete(tmpDir); in testSetupFilters_parameterized_filter()
200 FileUtil.recursiveDelete(tmpDir); in testSetupFilters_match()
223 FileUtil.recursiveDelete(tmpDir); in testSetupFilters_oneMatch()
246 FileUtil.recursiveDelete(tmpDir); in testSetupFilters_multiMatchNoExactMatch()
270 FileUtil.recursiveDelete(tmpDir); in testSetupFilters_multiMatchOneExactMatch()
DTfSuiteRunnerTest.java308 FileUtil.recursiveDelete(deviceTestDir); in testLoadTests_additionalTestsZip()
309 FileUtil.recursiveDelete(tmpDir); in testLoadTests_additionalTestsZip()
310 FileUtil.recursiveDelete(additionalTestsZipFile); in testLoadTests_additionalTestsZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/
DTestMappingTest.java120 FileUtil.recursiveDelete(tempDir); in testparseTestMapping()
137 FileUtil.recursiveDelete(tempDir); in testparseTestMapping_BadJson()
188 FileUtil.recursiveDelete(tempDir); in testGetTests()
229 FileUtil.recursiveDelete(tempDir); in testGetTests_matchKeywords()
260 FileUtil.recursiveDelete(tempDir); in testGetAllTestMappingPaths_FromChildDirectory()
291 FileUtil.recursiveDelete(tempDir); in testGetAllTestMappingPaths_FromParentDirectory()
316 FileUtil.recursiveDelete(tempDir); in testGetAllTestMappingPaths_NoFilesFound()
520 FileUtil.recursiveDelete(tempDir); in testGetAllTests()
560 FileUtil.recursiveDelete(tempDir); in testExtractTestMappingsZip()
561 FileUtil.recursiveDelete(extractedFile); in testExtractTestMappingsZip()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFileUtilTest.java356 FileUtil.recursiveDelete(tmpDir); in testFindFilesSuccess()
382 FileUtil.recursiveDelete(tmpDir); in testFindFilesSuccess_symlink()
383 FileUtil.recursiveDelete(subDir); in testFindFilesSuccess_symlink()
401 FileUtil.recursiveDelete(tmpDir); in testFindFilesFail()
433 FileUtil.recursiveDelete(tmpDir); in testFindFile()
450 FileUtil.recursiveDelete(tmpDir); in testFindFile_sameDirName()
467 FileUtil.recursiveDelete(tmpDir); in testFindFile_directory()
484 FileUtil.recursiveDelete(illegalRoot); in testFindDirsUnder_exception()
535 FileUtil.recursiveDelete(tmpDir); in testfindFile_success()
DFileUtilFuncTest.java55 FileUtil.recursiveDelete(file); in tearDown()
183 FileUtil.recursiveDelete(tmpParentDir); in testRecursiveDelete()
383 FileUtil.recursiveDelete(dir1); in testRecursiveSymlink()
384 FileUtil.recursiveDelete(dest); in testRecursiveSymlink()
406 FileUtil.recursiveDelete(dest); in testSymlinkDeletion()
411 FileUtil.recursiveDelete(dir1); in testSymlinkDeletion()
412 FileUtil.recursiveDelete(dest); in testSymlinkDeletion()
DBuildTestsZipUtilsTest.java56 FileUtil.recursiveDelete(testDir); in testGetApkFile_notFound()
82 FileUtil.recursiveDelete(testDir); in testGetApkFile_fromTestDir()
113 FileUtil.recursiveDelete(testDir); in testGetApkFile_fromTestDir_testCase()
144 FileUtil.recursiveDelete(testDir); in testGetApkFile_fromTestDir_differentModule_testCase()
DTarUtilTest.java50 FileUtil.recursiveDelete(mWorkDir); in tearDown()
123 FileUtil.recursiveDelete(tempDir); in testExtractTarGzipToTemp()
177 FileUtil.recursiveDelete(zipped); in testGzipDir_unGzip()
178 FileUtil.recursiveDelete(unzipped); in testGzipDir_unGzip()
DRemoteZipTest.java109 FileUtil.recursiveDelete(destDir); in testGetZipEntries()
128 FileUtil.recursiveDelete(destDir); in testGetZipEntriesWithUseZip64()
157 FileUtil.recursiveDelete(destDir); in testDownloadFilesFromZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/binary/
DExecutableHostTestTest.java136 FileUtil.recursiveDelete(tmpBinary); in testRunHostExecutable()
170 FileUtil.recursiveDelete(tmpBinary); in testRunHostExecutable_relativePath()
216 FileUtil.recursiveDelete(tmpBinary); in testRunHostExecutable_dnae()
249 FileUtil.recursiveDelete(testsDir); in testRunHostExecutable_search()
284 FileUtil.recursiveDelete(testsDir); in testRunHostExecutable_notFound()
330 FileUtil.recursiveDelete(tmpBinary); in testRunHostExecutable_failure()
376 FileUtil.recursiveDelete(tmpBinary); in testRunHostExecutable_timeout()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/
DSuiteApkInstallerTest.java73 FileUtil.recursiveDelete(mTmpDepDir); in tearDown()
105 FileUtil.recursiveDelete(varDir); in testGetTestsDir_notDir()
106 FileUtil.recursiveDelete(tmpDir); in testGetTestsDir_notDir()
161 FileUtil.recursiveDelete(tmpDir); in testGetLocalPathForFileName_testsDir()
201 FileUtil.recursiveDelete(tmpDir); in testGetLocalPathForFileName_remoteZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/
DJSONFileKeyStoreFactoryTest.java63 FileUtil.recursiveDelete(mJsonFile); in tearDown()
64 FileUtil.recursiveDelete(mJsonFile2); in tearDown()
65 FileUtil.recursiveDelete(mJsonFile3); in tearDown()
237 FileUtil.recursiveDelete(jsonFile); in testLoadKeyStore_multipleHostNameMatches()
260 FileUtil.recursiveDelete(jsonFile); in testLoadKeyStore_badKeyStoreFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/contentprovider/
DContentProviderHandlerTest.java196 FileUtil.recursiveDelete(toPush); in testPushFile_directory()
266 FileUtil.recursiveDelete(pullTo); in testPullDir_EmptyDirectory()
279 FileUtil.recursiveDelete(pullTo); in testPullDir_failedDevice()
308 FileUtil.recursiveDelete(pullTo); in testPullDir_OneFile()
357 FileUtil.recursiveDelete(pullTo); in testPullDir_RecursiveSubDir()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DRemoteInvocationExecution.java272 FileUtil.recursiveDelete(configFile); in runTests()
273 FileUtil.recursiveDelete(globalConfig); in runTests()
367 FileUtil.recursiveDelete(stdout); in runRemote()
378 FileUtil.recursiveDelete(stderr); in runRemote()
456 FileUtil.recursiveDelete(stdout); in isStillRunning()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationUtilTest.java170 FileUtil.recursiveDelete(tmpDir); in testGetConfigNamesFromDirs()
200 FileUtil.recursiveDelete(tmpDir); in testGetConfigNamesFromDirs_patterns()
247 FileUtil.recursiveDelete(hostDir); in testGetConfigNamesFromDirs_prioritizeHostConfig()
255 FileUtil.recursiveDelete(tmpDir); in testGetConfigNamesFromDirs_prioritizeHostConfig()
/tools/tradefederation/core/tests/src/com/android/tradefed/cluster/
DClusterCommandSchedulerTest.java965 FileUtil.recursiveDelete(tmpLogDir);
1004 FileUtil.recursiveDelete(tmpLogDir);
1163 FileUtil.recursiveDelete(workDir);
1199 FileUtil.recursiveDelete(workDir);
1235 FileUtil.recursiveDelete(workDir);
1361 FileUtil.recursiveDelete(workDir);
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DNativeDeviceTest.java283 FileUtil.recursiveDelete(testDir); in testPushDir_childFile()
304 FileUtil.recursiveDelete(testDir); in testPushDir_childDir()
335 FileUtil.recursiveDelete(testDir); in testPushDir_childDir_filtered()
367 FileUtil.recursiveDelete(dir); in testPullDir_nothingToDo()
438 FileUtil.recursiveDelete(dir); in testPullDir()
523 FileUtil.recursiveDelete(dir); in testPullDir_pullFail()
546 FileUtil.recursiveDelete(dir); in testPullDir_invalidPath()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DLocalDeviceBuildProviderTest.java79 FileUtil.recursiveDelete(mTmpDir); in tearDown()
80 FileUtil.recursiveDelete(mBuildDir); in tearDown()
81 FileUtil.recursiveDelete(mTestDir); in tearDown()
DFileDownloadCacheFuncTest.java73 FileUtil.recursiveDelete(mTmpDir); in tearDown()
290 FileUtil.recursiveDelete(cacheRoot); in testConstructor_createCache()
321 FileUtil.recursiveDelete(cacheRoot); in testConstructor_cacheExceeded()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTarUtil.java204 FileUtil.recursiveDelete(unTarDir); in extractTarGzipToTemp()
207 FileUtil.recursiveDelete(unGzipDir); in extractTarGzipToTemp()
247 FileUtil.recursiveDelete(dir); in extractAndLog()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/cloud/
DRemoteFileUtilTest.java147 FileUtil.recursiveDelete(resDir); in testFetchRemoteDir()
189 FileUtil.recursiveDelete(localFile); in testPushFileToRemote()
232 FileUtil.recursiveDelete(localFile); in testPushFileToRemote_fail()
/tools/tradefederation/core/util-apps/ContentProvider/main/java/android/tradefed/contentprovider/
DManagedFileContentProvider.java159 int num = recursiveDelete(file); in delete()
290 private int recursiveDelete(File rootDir) { in recursiveDelete() method in ManagedFileContentProvider
297 count += recursiveDelete(child); in recursiveDelete()
/tools/tradefederation/core/tests/src/com/android/tradefed/sandbox/
DTradefedSandboxTest.java98 FileUtil.recursiveDelete(mTmpFolder); in tearDown()
278 FileUtil.recursiveDelete(tmpDir); in testSandboxOptions()
311 FileUtil.recursiveDelete(tmpDir); in testSandboxOptions_exclusion()

123456