Home
last modified time | relevance | path

Searched refs:usageStatsDir (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java554 final File usageStatsDir = new File(Environment.getDataSystemCeDirectory(userId), in initializeUserUsageStatsServiceLocked() local
557 usageStatsDir, this); in initializeUserUsageStatsServiceLocked()
573 final File usageStatsDir = new File(Environment.getDataSystemCeDirectory(userId), in migrateStatsToSystemCeIfNeededLocked() local
575 if (!usageStatsDir.mkdirs() && !usageStatsDir.exists()) { in migrateStatsToSystemCeIfNeededLocked()
577 + usageStatsDir.getAbsolutePath()); in migrateStatsToSystemCeIfNeededLocked()
580 final File migrated = new File(usageStatsDir, "migrated"); in migrateStatsToSystemCeIfNeededLocked()
592 deleteRecursively(usageStatsDir); in migrateStatsToSystemCeIfNeededLocked()
593 if (usageStatsDir.exists()) { in migrateStatsToSystemCeIfNeededLocked()
598 if (!usageStatsDir.mkdirs() && !usageStatsDir.exists()) { in migrateStatsToSystemCeIfNeededLocked()
600 + usageStatsDir.getAbsolutePath()); in migrateStatsToSystemCeIfNeededLocked()
[all …]
DUserUsageStatsService.java105 UserUsageStatsService(Context context, int userId, File usageStatsDir, in UserUsageStatsService() argument
109 mDatabase = new UsageStatsDatabase(usageStatsDir); in UserUsageStatsService()