Searched refs:usageStatsDir (Results 1 – 2 of 2) sorted by relevance
554 final File usageStatsDir = new File(Environment.getDataSystemCeDirectory(userId), in initializeUserUsageStatsServiceLocked() local557 usageStatsDir, this); in initializeUserUsageStatsServiceLocked()573 final File usageStatsDir = new File(Environment.getDataSystemCeDirectory(userId), in migrateStatsToSystemCeIfNeededLocked() local575 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 …]
105 UserUsageStatsService(Context context, int userId, File usageStatsDir, in UserUsageStatsService() argument109 mDatabase = new UsageStatsDatabase(usageStatsDir); in UserUsageStatsService()