Home
last modified time | relevance | path

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

12345678

/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DInstallApexModuleTargetPreparerTest.java211 FileUtil.deleteFile(mFakeApex); in tearDown()
212 FileUtil.deleteFile(mFakeApk); in tearDown()
213 FileUtil.deleteFile(mFakeApk2); in tearDown()
214 FileUtil.deleteFile(mFakePersistentApk); in tearDown()
220 mMockDevice.deleteFile(APEX_DATA_DIR + "*"); in testSetupSuccess_removeExistingStagedApexSuccess()
222 mMockDevice.deleteFile(SESSION_DATA_DIR + "*"); in testSetupSuccess_removeExistingStagedApexSuccess()
224 mMockDevice.deleteFile(STAGING_DATA_DIR + "*"); in testSetupSuccess_removeExistingStagedApexSuccess()
277 mMockDevice.deleteFile(APEX_DATA_DIR + "*"); in testSetupSuccess_getActivatedPackageSuccess()
279 mMockDevice.deleteFile(SESSION_DATA_DIR + "*"); in testSetupSuccess_getActivatedPackageSuccess()
281 mMockDevice.deleteFile(STAGING_DATA_DIR + "*"); in testSetupSuccess_getActivatedPackageSuccess()
[all …]
DAppSetupTest.java77 FileUtil.deleteFile(f.getFile()); in tearDown()
121 FileUtil.deleteFile(tmpFile); in testSetup_failToInstall()
149 FileUtil.deleteFile(tmpFile); in testSetup_aaptCannotParse()
184 FileUtil.deleteFile(tmpFile); in testSetup_noPackageName()
217 FileUtil.deleteFile(tmpFile); in testSetup_checkMinSdk_failParsing()
246 FileUtil.deleteFile(tmpFile); in testSetup_checkMinSdk_apiLow()
279 FileUtil.deleteFile(tmpFile); in testSetup_checkMinSdk_apiOk()
DTargetSetupErrorTest.java56 FileUtil.deleteFile(s); in testSerialization()
88 FileUtil.deleteFile(s); in testSerialization_withIDevice()
/tools/tradefederation/core/util-apps/ContentProvider/hostsidetests/src/com/android/tradefed/contentprovider/
DContentProviderTest.java56 getDevice().deleteFile(delete); in tearDown()
74 FileUtil.deleteFile(tmpFile); in testPushFile_encode()
91 FileUtil.deleteFile(tmpFile); in testPushFile_encode_plus()
105 FileUtil.deleteFile(tmpFile); in testPushFile()
120 assertTrue(mHandler.deleteFile(devicePath)); in testDeleteFile()
122 FileUtil.deleteFile(tmpFile); in testDeleteFile()
146 FileUtil.deleteFile(tmpFile); in testPullFile()
147 FileUtil.deleteFile(tmpPullFile); in testPullFile()
176 FileUtil.deleteFile(tmpFile); in testPullDir()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DSubprocessTestResultsParserTest.java126 FileUtil.deleteFile(tmp); in testParse_randomEvents()
168 FileUtil.deleteFile(tmp); in testParse_invalidEventOrder()
207 FileUtil.deleteFile(tmp); in testParse_testNotStarted()
250 FileUtil.deleteFile(tmp); in testParse_noTimeStamp()
283 FileUtil.deleteFile(tmp); in testParse_invocationFailed()
388 FileUtil.deleteFile(tmp); in testParse_testTag()
411 FileUtil.deleteFile(tmp); in testParse_testInvocationEndedWithoutBuildInfo()
442 FileUtil.deleteFile(tmp); in testParse_testInvocationEnded()
468 FileUtil.deleteFile(tmp); in testParse_testTagNotOverwrite()
500 FileUtil.deleteFile(tmp); in testParse_moduleStarted_end()
[all …]
DFileUtilTest.java72 FileUtil.deleteFile(testFile); in testChmodGroupRW()
91 FileUtil.deleteFile(testFile); in testChmodGroupRW_noChmod()
110 FileUtil.deleteFile(testFile); in testChmodGroupRWX()
129 FileUtil.deleteFile(testFile); in testChmodGroupRWX_noChmod()
149 FileUtil.deleteFile(testFile); in testCreateTempFile_filenameTooLong()
173 FileUtil.deleteFile(testFile); in testCreateTempFile_filenameTooLongEdge()
191 FileUtil.deleteFile(testFile); in testWriteToFile_overwrites_exists()
208 FileUtil.deleteFile(testFile); in testWriteToFile_appends_exists()
221 FileUtil.deleteFile(testFile); in testWriteToFile_overwrites_doesNotExist()
225 FileUtil.deleteFile(testFile); in testWriteToFile_overwrites_doesNotExist()
[all …]
DTarUtilTest.java68 FileUtil.deleteFile(tmpFile); in testIsGzip()
88 FileUtil.deleteFile(logTarGzFile); in testUnGzip()
106 FileUtil.deleteFile(logTarGzFile); in testUntar()
124 FileUtil.deleteFile(tarGzFile); in testExtractTarGzipToTemp()
152 FileUtil.deleteFile(logTarGzFile); in testExtractAndLog()
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()
DBundletoolUtilTest.java75 FileUtil.deleteFile(mBundletoolJar); in tearDown()
138 FileUtil.deleteFile(fakeApks); in testextractSplitsFromApks()
139 FileUtil.deleteFile(splits); in testextractSplitsFromApks()
170 FileUtil.deleteFile(fakeApks); in test_extractSplitsFromApksFail()
DHprofAllocSiteParserTest.java75 FileUtil.deleteFile(f); in testParse()
88 FileUtil.deleteFile(f); in testParse_invalidContent()
DFileUtilFuncTest.java276 FileUtil.deleteFile(tmpFile); in testCreateTempFileForRemote()
289 FileUtil.deleteFile(tmpFile); in testCreateTempFileForRemote_nested()
301 FileUtil.deleteFile(tmpFile); in testCreateTempFileForRemote_noext()
314 FileUtil.deleteFile(tmpFile); in testCreateTempFileForRemote_short()
327 FileUtil.deleteFile(tmpFile); in testCreateTempFileForRemote_singleFile()
346 FileUtil.deleteFile(tmpFile); in testCalculateMd5()
365 FileUtil.deleteFile(tmpFile); in testCalculateBase64Md5()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DTestDeviceFuncTest.java163 FileUtil.deleteFile(tmpFile); in testInstallUninstall()
182 FileUtil.deleteFile(tmpFile); in assertWifiApkInstall()
198 FileUtil.deleteFile(tmpFile); in testInstallUninstall_space()
199 FileUtil.deleteFile(tmpFileSpaces); in testInstallUninstall_space()
217 mTestDevice.deleteFile(deviceFilePath); in testPushPull_normal()
227 FileUtil.deleteFile(tmpFile); in testPushPull_normal()
232 mTestDevice.deleteFile(deviceFilePath); in testPushPull_normal()
271 FileUtil.deleteFile(tmpFile); in testPushPull_extStorageVariable()
272 FileUtil.deleteFile(tmpDestFile); in testPushPull_extStorageVariable()
273 FileUtil.deleteFile(tmpDestFile2); in testPushPull_extStorageVariable()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DSerializationUtil.java49 FileUtil.deleteFile(tmpSerialized); in serialize()
109 public static Object deserialize(File serializedFile, boolean deleteFile) throws IOException { in deserialize() argument
121 if (deleteFile) { in deserialize()
122 FileUtil.deleteFile(serializedFile); in deserialize()
/tools/tradefederation/core/tests/src/com/android/tradefed/build/
DBuildInfoTest.java61 FileUtil.deleteFile(mFile); in tearDown()
78 FileUtil.deleteFile(copy.getFile(FILE_KEY)); in testClone()
147 FileUtil.deleteFile(testFile); in testCleanUpWithExemption()
148 FileUtil.deleteFile(testFile2); in testCleanUpWithExemption()
179 FileUtil.deleteFile(testFile); in testListFiles()
180 FileUtil.deleteFile(testFile2); in testListFiles()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DGTestXmlResultParserTest.java104 FileUtil.deleteFile(contents); in testParseSimpleFile()
132 FileUtil.deleteFile(contents); in testParseLargerFile()
169 FileUtil.deleteFile(contents); in testParseWithFailures()
193 FileUtil.deleteFile(contents); in testParseWithEmptyFile()
223 FileUtil.deleteFile(contents); in testParseUnexpectedNumberTest()
256 FileUtil.deleteFile(contents); in testParseSimpleFile_badXmltag()
288 FileUtil.deleteFile(contents); in testParseWithEmptyFile_AdditionalOutput()
323 FileUtil.deleteFile(contents); in testParseSimpleFile_skipped()
/tools/tradefederation/core/tests/src/com/android/tradefed/device/contentprovider/
DContentProviderHandlerTest.java114 assertTrue(mProvider.deleteFile(devicePath)); in testDeleteFile()
132 assertFalse(mProvider.deleteFile(devicePath)); in testDeleteFile_fail()
149 assertFalse(mProvider.deleteFile(devicePath)); in testError()
169 FileUtil.deleteFile(toPush); in testPushFile()
181 FileUtil.deleteFile(toPush); in testPushFile_notExists()
222 FileUtil.deleteFile(pullTo); in testPullFile_verifyShellCommand()
238 FileUtil.deleteFile(pullTo); in testPullFile_createLocalFileIfNotExist()
252 FileUtil.deleteFile(pullTo); in testPullFile_success()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/rust/
DRustBinaryHostTestTest.java137 FileUtil.deleteFile(binary); in testRun()
163 FileUtil.deleteFile(binary); in testRun_withAdbPath()
182 FileUtil.deleteFile(binary); in testRunFail_exception()
217 FileUtil.deleteFile(binary); in testRunFail_list()
238 FileUtil.deleteFile(binary); in testRunFail_failureOnly()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/keystore/
DJSONFileKeyStoreClientTest.java69 FileUtil.deleteFile(test); in testKeyStoreFetchUnreadableFile()
82 FileUtil.deleteFile(test); in testKeyStoreFetchEmptyFile()
95 FileUtil.deleteFile(test); in testKeyStoreFetchFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/clearcut/
DClearcutClientTest.java61 FileUtil.deleteFile(testFile); in testGetGroupingKey()
74 FileUtil.deleteFile(testFile); in testGetGroupingKey_exists()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DNativeCodeCoverageListener.java134 mDevice.deleteFile(COVERAGE_TAR_PATH); in logCoverageMeasurements()
147 FileUtil.deleteFile(coverageTar); in logCoverageMeasurements()
148 FileUtil.deleteFile(coverageZip); in logCoverageMeasurements()
DClangCodeCoverageListener.java162 mDevice.deleteFile(COVERAGE_TAR_PATH); in logCoverageMeasurement()
209 FileUtil.deleteFile(coverageTarGz); in logCoverageMeasurement()
211 FileUtil.deleteFile(indexedProfileFile); in logCoverageMeasurement()
262 FileUtil.deleteFile(profileToolZip); in getProfileTool()
/tools/tradefederation/contrib/src/com/android/monkey/
DAnrReportGenerator.java184 FileUtil.deleteFile(htmlReport); in genereateAnrReport()
193 FileUtil.deleteFile(mCachedBugreport); in cleanTempFiles()
194 FileUtil.deleteFile(mCachedMonkeyLog); in cleanTempFiles()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigUtil.java74 FileUtil.deleteFile(globalConfig); in dumpConfigForVersion()
75 FileUtil.deleteFile(destination); in dumpConfigForVersion()
97 FileUtil.deleteFile(destination); in dumpConfigForVersion()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/suite/
DSuiteApkInstallerTest.java122 FileUtil.deleteFile(tmpApk); in testGetLocalPathForFileName()
139 FileUtil.deleteFile(tmpApk); in testGetLocalPathForFileName_noFound()
174 FileUtil.deleteFile(tmpApk); in testGetLocalPathForFileName_inBuildKey()
213 FileUtil.deleteFile(tmpApk); in testGetLocalPathForFileName_inDependenciesDir()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestSuiteInfoTest.java76 FileUtil.deleteFile(propertyFile); in testLoadConfig()
102 FileUtil.deleteFile(propertyFile); in testLoadConfig_multiArch()

12345678