Home
last modified time | relevance | path

Searched refs:deleteContents (Results 1 – 18 of 18) sorted by relevance

/frameworks/support/core-utils/java/android/support/v4/provider/
DRawDocumentFile.java113 deleteContents(mFile); in delete()
158 private static boolean deleteContents(File dir) { in deleteContents() method in RawDocumentFile
164 success &= deleteContents(file); in deleteContents()
/frameworks/support/core-utils/tests/java/android/support/v4/provider/
DDocumentFileTest.java86 deleteContents(tmp); in resetRoot()
89 deleteContents(rootMeow); in resetRoot()
98 public static boolean deleteContents(File dir) { in deleteContents() method in DocumentFileTest
104 success &= deleteContents(file); in deleteContents()
/frameworks/base/core/tests/coretests/src/com/android/internal/net/
DNetworkStatsFactoryTest.java56 IoUtils.deleteContents(mTestProc); in setUp()
67 IoUtils.deleteContents(mTestProc); in tearDown()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java58 FileUtils.deleteContents(mTarget); in setUp()
63 IoUtils.deleteContents(mDir); in tearDown()
64 FileUtils.deleteContents(mTarget); in tearDown()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppIdleHistoryTests.java40 FileUtils.deleteContents(mStorageDir); in tearDown()
/frameworks/base/core/java/com/android/internal/backup/
DLocalTransport.java153 deleteContents(mCurrentSetDir); in initializeDevice()
235 private void deleteContents(File dirname) { in deleteContents() method in LocalTransport
242 deleteContents(f); in deleteContents()
/frameworks/base/core/java/android/os/
DFileUtils.java446 if (deleteContents(dir)) { in deleteContentsAndDir()
453 public static boolean deleteContents(File dir) { in deleteContents() method in FileUtils
459 success &= deleteContents(file); in deleteContents()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmTestUtils.java50 Assert.assertTrue("failed to delete dir", FileUtils.deleteContents(dir)); in clearDir()
/frameworks/base/services/core/java/com/android/server/am/
DTaskPersister.java131 if (!FileUtils.deleteContents(legacyImagesDir) || !legacyImagesDir.delete()) { in TaskPersister()
138 if (!FileUtils.deleteContents(legacyTasksDir) || !legacyTasksDir.delete()) { in TaskPersister()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DLockSettingsStorageTests.java46 assertTrue(FileUtils.deleteContents(mStorageDir)); in setUp()
DNetworkPolicyManagerServiceTest.java184 IoUtils.deleteContents(mPolicyDir); in _setUp()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DRegisteredServicesCacheTest.java67 FileUtils.deleteContents(mDataDir); in setUp()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DFileRotatorTest.java70 IoUtils.deleteContents(mBasePath); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsServiceTest.java158 IoUtils.deleteContents(mStatsDir); in setUp()
210 IoUtils.deleteContents(mStatsDir); in tearDown()
/frameworks/base/services/retaildemo/java/com/android/server/retaildemo/
DRetailDemoModeService.java477 return FileUtils.deleteContents(dir); in deletePreloadsFolderContents()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DExternalStorageProvider.java489 FileUtils.deleteContents(file); in deleteDocument()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java837 FileUtils.deleteContents(mInjectedFilePathRoot)); in deleteAllSavedFiles()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1215 if (!(FileUtils.deleteContents(packagePath) && packagePath.delete())) { in cleanupBitmapsForPackage()