Home
last modified time | relevance | path

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

/frameworks/support/core-utils/java/android/support/v4/provider/
DRawDocumentFile.java118 deleteContents(mFile); in delete()
163 private static boolean deleteContents(File dir) { in deleteContents() method in RawDocumentFile
169 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/services/tests/servicestests/src/com/android/server/
DBaseLockSettingsServiceTests.java91 FileUtils.deleteContents(storageDir); in setUp()
150 assertTrue(FileUtils.deleteContents(storageDir)); in tearDown()
DLockSettingsStorageTests.java63 assertTrue(FileUtils.deleteContents(mStorageDir)); in setUp()
DNetworkPolicyManagerServiceTest.java1732 IoUtils.deleteContents(mPolicyDir); in setNetpolicyXml()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppIdleHistoryTests.java40 FileUtils.deleteContents(mStorageDir); in tearDown()
/frameworks/base/tests/net/java/com/android/internal/net/
DNetworkStatsFactoryTest.java59 IoUtils.deleteContents(mTestProc); in setUp()
70 IoUtils.deleteContents(mTestProc); in tearDown()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java59 FileUtils.deleteContents(mTarget); in setUp()
64 IoUtils.deleteContents(mDir); in tearDown()
65 FileUtils.deleteContents(mTarget); in tearDown()
/frameworks/base/core/java/com/android/internal/backup/
DLocalTransport.java155 deleteContents(mCurrentSetDir); in initializeDevice()
237 private void deleteContents(File dirname) { in deleteContents() method in LocalTransport
244 deleteContents(f); in deleteContents()
/frameworks/base/core/java/android/os/
DFileUtils.java449 if (deleteContents(dir)) { in deleteContentsAndDir()
456 public static boolean deleteContents(File dir) { in deleteContents() method in FileUtils
462 success &= deleteContents(file); in deleteContents()
/frameworks/base/services/tests/servicestests/src/com/android/server/retaildemo/
DPreloadAppsInstallerTest.java123 FileUtils.deleteContents(mPreloadsAppsDirectory); in testInstallApps_noPreloads()
/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.java135 if (!FileUtils.deleteContents(legacyImagesDir) || !legacyImagesDir.delete()) { in TaskPersister()
142 if (!FileUtils.deleteContents(legacyTasksDir) || !legacyTasksDir.delete()) { in TaskPersister()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserDataPreparerTest.java81 FileUtils.deleteContents(ctx.getCacheDir()); in setup()
DBaseShortcutManagerTest.java927 FileUtils.deleteContents(mInjectedFilePathRoot)); in deleteAllSavedFiles()
/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/core/java/com/android/internal/content/
DFileSystemProvider.java243 FileUtils.deleteContents(file); in deleteDocument()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkStatsServiceTest.java170 IoUtils.deleteContents(mStatsDir); in setUp()
211 IoUtils.deleteContents(mStatsDir); in tearDown()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1231 if (!(FileUtils.deleteContents(packagePath) && packagePath.delete())) { in cleanupBitmapsForPackage()