Home
last modified time | relevance | path

Searched refs:deleteIfExists (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/os/src/android/os/storage/cts/
DStorageStatsManagerTest.java86 Files.deleteIfExists(file); in cleanAllOfCrates()
93 Files.deleteIfExists(dir); in cleanAllOfCrates()
97 Files.deleteIfExists(mCratesPath); in cleanAllOfCrates()
343 Files.deleteIfExists(mContext.getCrateDir(mCrateId + "_" + 1).toPath()); in queryCratesForUid_removeCratedDir_shouldDecreaseTheNumberOfCrates()
360 Files.deleteIfExists(mContext.getCrateDir(mCrateId + "_" + 1).toPath()); in queryCratesForPackage_removeCratedDir_shouldDecreaseTheNumberOfCrates()
377 Files.deleteIfExists(mContext.getCrateDir(mCrateId + "_" + 1).toPath()); in queryCratesForUser_removeCratedDir_shouldDecreaseTheNumberOfCrates()
DStorageCrateTest.java62 Files.deleteIfExists(file); in cleanAllOfCrates()
69 Files.deleteIfExists(dir); in cleanAllOfCrates()
74 Files.deleteIfExists(mCratesRoot); in cleanAllOfCrates()
/cts/hostsidetests/install/app/src/android/cts/install/
DSessionRule.java59 Files.deleteIfExists(mTestStateFile.toPath()); in cleanUp()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCallComposerTest.java95 Files.deleteIfExists(mContext.getFilesDir().toPath().resolve(TEST_FILE_NAME)); in tearDown()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerRecorderActivity.java205 Files.deleteIfExists(Path.of(fileName)); in checkLocationInFile()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java1231 private void deleteIfExists(File file) throws IOException { in deleteIfExists() method in WebViewTest
1270 deleteIfExists(test); in testSaveWebArchive()
1274 deleteIfExists(index); in testSaveWebArchive()
1278 deleteIfExists(index1); in testSaveWebArchive()
1311 deleteIfExists(test); in testSaveWebArchive()
1312 deleteIfExists(index); in testSaveWebArchive()
1313 deleteIfExists(index1); in testSaveWebArchive()
/cts/hostsidetests/rollback/app/src/com/android/cts/rollback/host/app/
DHostTestHelper.java94 Files.deleteIfExists(getApkInApexVersionFile().toPath()); in cleanUp()
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/
DStagedInstallTest.java221 Files.deleteIfExists(mTestStateFile.toPath()); in cleanUp()