Home
last modified time | relevance | path

Searched refs:deleteFile (Results 1 – 25 of 109) sorted by relevance

12345

/tools/tradefederation/core/src/com/android/tradefed/util/
DSerializationUtil.java46 FileUtil.deleteFile(tmpSerialized); in serialize()
63 public static Object deserialize(File serializedFile, boolean deleteFile) throws IOException { in deserialize() argument
75 if (deleteFile) { in deserialize()
76 FileUtil.deleteFile(serializedFile); in deserialize()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFileUtilTest.java70 FileUtil.deleteFile(testFile); in testChmodGroupRW()
89 FileUtil.deleteFile(testFile); in testChmodGroupRW_noChmod()
108 FileUtil.deleteFile(testFile); in testChmodGroupRWX()
127 FileUtil.deleteFile(testFile); in testChmodGroupRWX_noChmod()
147 FileUtil.deleteFile(testFile); in testCreateTempFile_filenameTooLong()
171 FileUtil.deleteFile(testFile); in testCreateTempFile_filenameTooLongEdge()
189 FileUtil.deleteFile(testFile); in testWriteToFile_overwrites_exists()
206 FileUtil.deleteFile(testFile); in testWriteToFile_appends_exists()
219 FileUtil.deleteFile(testFile); in testWriteToFile_overwrites_doesNotExist()
223 FileUtil.deleteFile(testFile); in testWriteToFile_overwrites_doesNotExist()
[all …]
DZipUtilTest.java107 FileUtil.deleteFile(zipFile); in testCreateAndExtractZip()
136 FileUtil.deleteFile(zipFile); in testCreateAndExtractZip_fromFiles()
173 FileUtil.deleteFile(zipFile); in testCreateAndExtractFileFromZip()
174 FileUtil.deleteFile(extractedSubFile); in testCreateAndExtractFileFromZip()
190 FileUtil.deleteFile(tmpFile); in testExtractZipToTemp()
DSubprocessTestResultsParserTest.java118 FileUtil.deleteFile(tmp); in testParse_randomEvents()
156 FileUtil.deleteFile(tmp); in testParse_invalidEventOrder()
191 FileUtil.deleteFile(tmp); in testParse_testNotStarted()
230 FileUtil.deleteFile(tmp); in testParse_noTimeStamp()
263 FileUtil.deleteFile(tmp); in testParse_invocationFailed()
351 FileUtil.deleteFile(tmp); in testParse_testTag()
377 FileUtil.deleteFile(tmp); in testParse_testTagNotOverwrite()
409 FileUtil.deleteFile(tmp); in testParse_moduleStarted_end()
410 FileUtil.deleteFile(serializedModule); in testParse_moduleStarted_end()
438 FileUtil.deleteFile(serializedLogFile); in testParse_logAssociation()
[all …]
DBugreportTest.java76 FileUtil.deleteFile(mRegularFile); in tearDown()
77 FileUtil.deleteFile(mZipFile); in tearDown()
107 FileUtil.deleteFile(mainFile); in testBugreport_zipped()
132 FileUtil.deleteFile(mainFile); in testBugreport_getFileByName()
176 FileUtil.deleteFile(zipFile); in testBugreportz_noMainFile()
DHprofAllocSiteParserTest.java75 FileUtil.deleteFile(f); in testParse()
88 FileUtil.deleteFile(f); in testParse_invalidContent()
DTarUtilTest.java68 FileUtil.deleteFile(logTarGzFile); in testUnGzip()
86 FileUtil.deleteFile(logTarGzFile); in testUntar()
114 FileUtil.deleteFile(logTarGzFile); in testExtractAndLog()
DGCSBucketUtilFuncTest.java53 FileUtil.deleteFile(tempFile); in setUpBeforeClass()
131 FileUtil.deleteFile(tempSrc); in TestUploadDownload()
132 FileUtil.deleteFile(tempDst); in TestUploadDownload()
DFileUtilFuncTest.java269 FileUtil.deleteFile(tmpFile); in testCreateTempFileForRemote()
283 FileUtil.deleteFile(tmpFile); in testCreateTempFileForRemote_nested()
296 FileUtil.deleteFile(tmpFile); in testCreateTempFileForRemote_noext()
310 FileUtil.deleteFile(tmpFile); in testCreateTempFileForRemote_short()
324 FileUtil.deleteFile(tmpFile); in testCreateTempFileForRemote_singleFile()
341 FileUtil.deleteFile(tmpFile); in testCalculateMd5()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DKernelFlashPreparer.java82 FileUtil.deleteFile(boot); in setUp()
118 FileUtil.deleteFile(new File(bootPath)); in createBootImage()
122 FileUtil.deleteFile(new File(bootPath)); in createBootImage()
125 FileUtil.deleteFile(new File(bootPath)); in createBootImage()
145 FileUtil.deleteFile(bootImg); in getBootImgPath()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/xml/
DAndroidManifestWriterTest.java56 FileUtil.deleteFile(manifest); in testSetMinSdkVersion_invalid()
71 FileUtil.deleteFile(manifest); in assertMinSdkChange()
72 FileUtil.deleteFile(expectedResultFile); in assertMinSdkChange()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DVerifyTest.java56 FileUtil.deleteFile(tmpFile); in extractTestCmdFile()
71 FileUtil.deleteFile(cmdFile); in assertGoodCmdFile()
84 FileUtil.deleteFile(cmdFile); in assertBadCmdFile()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DTfTestLauncher.java194 FileUtil.deleteFile(mAgent); in postRun()
213 FileUtil.deleteFile(mDestCoverageFile); in postRun()
215 FileUtil.deleteFile(xmlResult); in postRun()
230 FileUtil.deleteFile(mHprofFile); in cleanTmpFile()
231 FileUtil.deleteFile(mDestCoverageFile); in cleanTmpFile()
232 FileUtil.deleteFile(mAgent); in cleanTmpFile()
301 FileUtil.deleteFile(antConfig); in processExecData()
302 FileUtil.deleteFile(jacocoAnt); in processExecData()
391 FileUtil.deleteFile(tmpGzip); in logHprofResults()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/
DJSONFileKeyStoreClientTest.java58 FileUtil.deleteFile(test); in testKeyStoreFetchUnreadableFile()
70 FileUtil.deleteFile(test); in testKeyStoreFetchEmptyFile()
82 FileUtil.deleteFile(test); in testKeyStoreFetchFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DBuildInfoTest.java57 FileUtil.deleteFile(mFile); in tearDown()
72 FileUtil.deleteFile(copy.getFile(FILE_KEY)); in testClone()
143 FileUtil.deleteFile(testFile); in testCleanUpWithExemption()
144 FileUtil.deleteFile(testFile2); in testCleanUpWithExemption()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestXmlResultParserTest.java98 FileUtil.deleteFile(contents); in testParseSimpleFile()
127 FileUtil.deleteFile(contents); in testParseLargerFile()
165 FileUtil.deleteFile(contents); in testParseWithFailures()
190 FileUtil.deleteFile(contents); in testParseWithEmptyFile()
221 FileUtil.deleteFile(contents); in testParseUnexpectedNumberTest()
253 FileUtil.deleteFile(contents); in testParseSimpleFile_badXmltag()
286 FileUtil.deleteFile(contents); in testParseWithEmptyFile_AdditionalOutput()
DAndroidJUnitTestTest.java212 FileUtil.deleteFile(tmpFile); in testRun_includeFile()
237 FileUtil.deleteFile(tmpFile); in testRun_excludeFile()
270 FileUtil.deleteFile(tmpFileInclude); in testRun_testFileAndFilters()
271 FileUtil.deleteFile(tmpFileExclude); in testRun_testFileAndFilters()
303 FileUtil.deleteFile(tmpFileInclude); in testRun_testFileAndFilters_fails()
304 FileUtil.deleteFile(tmpFileExclude); in testRun_testFileAndFilters_fails()
337 FileUtil.deleteFile(tmpFileInclude); in testRun_setTestFileOptions()
338 FileUtil.deleteFile(tmpFileExclude); in testRun_setTestFileOptions()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigUtil.java71 FileUtil.deleteFile(globalConfig); in dumpConfigForVersion()
72 FileUtil.deleteFile(destination); in dumpConfigForVersion()
89 FileUtil.deleteFile(destination); in dumpConfigForVersion()
DTradefedSandbox.java169 FileUtil.deleteFile(mStdoutFile); in tearDown()
170 FileUtil.deleteFile(mStderrFile); in tearDown()
172 FileUtil.deleteFile(mSerializedContext); in tearDown()
173 FileUtil.deleteFile(mSerializedConfiguration); in tearDown()
174 FileUtil.deleteFile(mGlobalConfig); in tearDown()
/tools/tradefederation/core/prod-tests/src/com/android/monkey/
DAnrReportGenerator.java163 FileUtil.deleteFile(htmlReport); in genereateAnrReport()
172 FileUtil.deleteFile(mCachedBugreport); in cleanTempFiles()
173 FileUtil.deleteFile(mCachedMonkeyLog); in cleanTempFiles()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java157 FileUtil.deleteFile(tmpFile); in testInstallUninstall()
176 FileUtil.deleteFile(tmpFile); in assertWifiApkInstall()
192 FileUtil.deleteFile(tmpFile); in testInstallUninstall_space()
193 FileUtil.deleteFile(tmpFileSpaces); in testInstallUninstall_space()
221 FileUtil.deleteFile(tmpFile); in testPushPull_normal()
265 FileUtil.deleteFile(tmpFile); in testPushPull_extStorageVariable()
266 FileUtil.deleteFile(tmpDestFile); in testPushPull_extStorageVariable()
267 FileUtil.deleteFile(tmpDestFile2); in testPushPull_extStorageVariable()
317 FileUtil.deleteFile(tmpFile); in testPull_nopermissions()
698 FileUtil.deleteFile(tmpPngFile); in testGetScreenshot()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DAppSetupTest.java113 FileUtil.deleteFile(tmpFile); in testSetup_failToInstall()
138 FileUtil.deleteFile(tmpFile); in testSetup_aaptCannotParse()
170 FileUtil.deleteFile(tmpFile); in testSetup_noPackageName()
202 FileUtil.deleteFile(tmpFile); in testSetup_checkMinSdk_failParsing()
231 FileUtil.deleteFile(tmpFile); in testSetup_checkMinSdk_apiLow()
264 FileUtil.deleteFile(tmpFile); in testSetup_checkMinSdk_apiOk()
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/
DPreloadedClassesTest.java146 FileUtil.deleteFile(classes); in run()
160 FileUtil.deleteFile(f); in run()
188 FileUtil.deleteFile(temp); in scanAndExportClasses()
222 FileUtil.deleteFile(temp); in writePreloadedClasses()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/python/
DPythonBinaryHostTestTest.java91 FileUtil.deleteFile(binary); in testRun()
124 FileUtil.deleteFile(binary); in testRunFail_exception()
157 FileUtil.deleteFile(binary); in testRunFail_failureOnly()
/tools/tradefederation/core/src/com/android/tradefed/config/
DSandboxConfigurationFactory.java111 FileUtil.deleteFile(globalConfig); in createConfigurationFromArgs()
112 FileUtil.deleteFile(xmlConfig); in createConfigurationFromArgs()

12345