Searched refs:usageStatsDir (Results 1 – 2 of 2) sorted by relevance
788 final File usageStatsDir = new File(Environment.getDataSystemCeDirectory(userId), in initializeUserUsageStatsServiceLocked() local791 usageStatsDir, this); in initializeUserUsageStatsServiceLocked()807 final File usageStatsDir = new File(Environment.getDataSystemCeDirectory(userId), in migrateStatsToSystemCeIfNeededLocked() local809 if (!usageStatsDir.mkdirs() && !usageStatsDir.exists()) { in migrateStatsToSystemCeIfNeededLocked()811 + usageStatsDir.getAbsolutePath()); in migrateStatsToSystemCeIfNeededLocked()814 final File migrated = new File(usageStatsDir, "migrated"); in migrateStatsToSystemCeIfNeededLocked()826 deleteRecursively(usageStatsDir); in migrateStatsToSystemCeIfNeededLocked()827 if (usageStatsDir.exists()) { in migrateStatsToSystemCeIfNeededLocked()832 if (!usageStatsDir.mkdirs() && !usageStatsDir.exists()) { in migrateStatsToSystemCeIfNeededLocked()834 + usageStatsDir.getAbsolutePath()); in migrateStatsToSystemCeIfNeededLocked()[all …]
126 UserUsageStatsService(Context context, int userId, File usageStatsDir, in UserUsageStatsService() argument130 mDatabase = new UsageStatsDatabase(usageStatsDir); in UserUsageStatsService()