Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
DSlicePermissionManagerTest.java69 assertTrue(FileUtils.deleteContentsAndDir(sliceDir)); in testGrant()
113 assertTrue(FileUtils.deleteContentsAndDir(sliceDir)); in testBackup()
145 assertTrue(FileUtils.deleteContentsAndDir(sliceDir)); in testInvalid()
/frameworks/base/services/core/java/com/android/server/updates/
DCertificateTransparencyLogInstallReceiver.java84 FileUtils.deleteContentsAndDir(newVersion); in install()
123 FileUtils.deleteContentsAndDir(newVersion); in install()
185 FileUtils.deleteContentsAndDir(f); in deleteOldLogDirectories()
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DUpdatableFontDir.java192 FileUtils.deleteContentsAndDir(dir); in loadFontFileMap()
202 FileUtils.deleteContentsAndDir(dir); in loadFontFileMap()
465 FileUtils.deleteContentsAndDir(newDir); in installFontFile()
516 FileUtils.deleteContentsAndDir(existingInfo.getRandomizedFontDir()); in addFileToMapIfSameOrNewer()
521 FileUtils.deleteContentsAndDir(fontFileInfo.getRandomizedFontDir()); in addFileToMapIfSameOrNewer()
/frameworks/base/media/tests/MtpTests/src/android/mtp/
DMtpDatabaseTest.java130 FileUtils.deleteContentsAndDir(mMainStorageDir); in setUp()
153 FileUtils.deleteContentsAndDir(mMainStorageDir); in tearDown()
DMtpStorageManagerTest.java129 FileUtils.deleteContentsAndDir(TEMP_DIR_FILE); in before()
173 FileUtils.deleteContentsAndDir(TEMP_DIR_FILE); in after()
829 Assert.assertTrue(FileUtils.deleteContentsAndDir(newDir)); in testRemoveObjectDir()
850 Assert.assertTrue(FileUtils.deleteContentsAndDir(newDir)); in testRemoveObjectDirDelayed()
/frameworks/base/core/java/com/android/internal/os/
DAtomicDirectory.java281 return FileUtils.deleteContentsAndDir(directory); in deleteDirectory()
/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/
DHibernationStateDiskStoreTest.java71 FileUtils.deleteContentsAndDir(mFile); in tearDown()
/frameworks/base/services/people/java/com/android/server/people/data/
DPackageData.java257 FileUtils.deleteContentsAndDir(mPackageDataDir); in onDestroy()
DEventHistoryImpl.java194 FileUtils.deleteContentsAndDir(mRootDir); in onDestroy()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/
DUserWakeupStoreTest.java86 FileUtils.deleteContentsAndDir(TEST_SYSTEM_DIR); in tearDown()
DAlarmManagerServiceTest.java588 FileUtils.deleteContentsAndDir(mTestDir); in tearDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DEventHistoryImplTest.java94 FileUtils.deleteContentsAndDir(mFile); in tearDown()
DConversationStoreTest.java77 FileUtils.deleteContentsAndDir(mFile); in tearDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySnapshotStorageTest.java79 FileUtils.deleteContentsAndDir(file); in tearDown()
/frameworks/base/services/core/java/com/android/server/power/stats/
DPowerStatsStore.java242 FileUtils.deleteContentsAndDir(legacyStoreDir); in maybeClearLegacyStore()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerServiceUtils.java1380 FileUtils.deleteContentsAndDir(cacheDir); in preparePackageParserCache()
1390 FileUtils.deleteContentsAndDir(cacheBaseDir); in preparePackageParserCache()
DPackageArchiver.java403 if (!FileUtils.deleteContentsAndDir(iconsDir)) { in clearArchiveState()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DBackupManagerServiceTest.java147 FileUtils.deleteContentsAndDir(sTestDir); in tearDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/
DUpdatableFontDirTest.java163 FileUtils.deleteContentsAndDir(mCacheDir); in setUp()
180 FileUtils.deleteContentsAndDir(mCacheDir); in tearDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncTaskTest.java164 FileUtils.deleteContentsAndDir(file); in tearDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBackgroundInstallControlServiceTest.java145 FileUtils.deleteContentsAndDir(mFile); in tearDown()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java241 if (!FileUtils.deleteContentsAndDir(dir)) { in onRemovedNonSystemUser()
/frameworks/base/core/java/android/os/
DFileUtils.java1032 public static boolean deleteContentsAndDir(File dir) { in deleteContentsAndDir() method in FileUtils
/frameworks/base/services/core/java/com/android/server/appop/
DDiscreteRegistry.java461 FileUtils.deleteContentsAndDir(mDiscreteAccessDir); in clearOnDiskHistoryLocked()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt35368 Landroid/os/FileUtils;->deleteContentsAndDir(Ljava/io/File;)Z