Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/slice/
H A DSlicePermissionManagerTest.java69 assertTrue(FileUtils.deleteContentsAndDir(sliceDir)); in testGrant()
113 assertTrue(FileUtils.deleteContentsAndDir(sliceDir)); in testBackup()
145 assertTrue(FileUtils.deleteContentsAndDir(sliceDir)); in testInvalid()
/aosp14/frameworks/base/services/core/java/com/android/server/updates/
H A DCertificateTransparencyLogInstallReceiver.java84 FileUtils.deleteContentsAndDir(newVersion); in install()
123 FileUtils.deleteContentsAndDir(newVersion); in install()
185 FileUtils.deleteContentsAndDir(f); in deleteOldLogDirectories()
/aosp14/frameworks/base/services/core/java/com/android/server/graphics/fonts/
H A DUpdatableFontDir.java192 FileUtils.deleteContentsAndDir(dir); in loadFontFileMap()
199 FileUtils.deleteContentsAndDir(dir); in loadFontFileMap()
426 FileUtils.deleteContentsAndDir(newDir); in installFontFile()
477 FileUtils.deleteContentsAndDir(existingInfo.getRandomizedFontDir()); in addFileToMapIfSameOrNewer()
482 FileUtils.deleteContentsAndDir(fontFileInfo.getRandomizedFontDir()); in addFileToMapIfSameOrNewer()
/aosp14/frameworks/base/media/tests/MtpTests/src/android/mtp/
H A DMtpDatabaseTest.java130 FileUtils.deleteContentsAndDir(mMainStorageDir); in setUp()
153 FileUtils.deleteContentsAndDir(mMainStorageDir); in tearDown()
H A 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()
/aosp14/frameworks/base/core/java/com/android/internal/os/
H A DAtomicDirectory.java281 return FileUtils.deleteContentsAndDir(directory); in deleteDirectory()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/
H A DHibernationStateDiskStoreTest.java71 FileUtils.deleteContentsAndDir(mFile); in tearDown()
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/
H A DPackageData.java257 FileUtils.deleteContentsAndDir(mPackageDataDir); in onDestroy()
H A DEventHistoryImpl.java194 FileUtils.deleteContentsAndDir(mRootDir); in onDestroy()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DEventHistoryImplTest.java94 FileUtils.deleteContentsAndDir(mFile); in tearDown()
H A DConversationStoreTest.java77 FileUtils.deleteContentsAndDir(mFile); in tearDown()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
H A DRecoverySnapshotStorageTest.java79 FileUtils.deleteContentsAndDir(file); in tearDown()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DUserDataPreparer.java167 FileUtils.deleteContentsAndDir(getUserSystemDirectory(userId)); in destroyUserDataLI()
H A DPackageManagerServiceUtils.java1456 FileUtils.deleteContentsAndDir(cacheDir); in preparePackageParserCache()
1466 FileUtils.deleteContentsAndDir(cacheBaseDir); in preparePackageParserCache()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/graphics/fonts/
H A DUpdatableFontDirTest.java152 FileUtils.deleteContentsAndDir(mCacheDir); in setUp()
169 FileUtils.deleteContentsAndDir(mCacheDir); in tearDown()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
H A DBackupManagerServiceTest.java146 FileUtils.deleteContentsAndDir(sTestDir); in tearDown()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
H A DKeySyncTaskTest.java162 FileUtils.deleteContentsAndDir(file); in tearDown()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DBackgroundInstallControlServiceTest.java138 FileUtils.deleteContentsAndDir(mFile); in tearDown()
/aosp14/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupManagerService.java241 if (!FileUtils.deleteContentsAndDir(dir)) { in onRemovedNonSystemUser()
/aosp14/frameworks/base/core/java/android/os/
H A DFileUtils.java927 public static boolean deleteContentsAndDir(File dir) { in deleteContentsAndDir() method in FileUtils
/aosp14/frameworks/base/services/core/java/com/android/server/appop/
H A DDiscreteRegistry.java458 FileUtils.deleteContentsAndDir(mDiscreteAccessDir); in clearOnDiskHistoryLocked()
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt36011 Landroid/os/FileUtils;->deleteContentsAndDir(Ljava/io/File;)Z