Searched refs:pkgStats (Results 1 – 2 of 2) sorted by relevance
127 UsageStats pkgStats = stat.packageStats.valueAt(i); in init() local128 if (pkgStats.mLastEvent == UsageEvents.Event.MOVE_TO_FOREGROUND || in init()129 pkgStats.mLastEvent == UsageEvents.Event.CONTINUE_PREVIOUS_DAY) { in init()130 stat.update(pkgStats.mPackageName, stat.lastTimeSaved, in init()383 UsageStats pkgStats = stat.packageStats.valueAt(i); in rolloverStats() local384 if (pkgStats.mLastEvent == UsageEvents.Event.MOVE_TO_FOREGROUND || in rolloverStats()385 pkgStats.mLastEvent == UsageEvents.Event.CONTINUE_PREVIOUS_DAY) { in rolloverStats()386 continuePreviousDay.add(pkgStats.mPackageName); in rolloverStats()387 stat.update(pkgStats.mPackageName, mDailyExpiryDate.getTimeInMillis() - 1, in rolloverStats()520 final ArrayMap<String, UsageStats> pkgStats = stats.packageStats; in printIntervalStats() local[all …]
568 UsageStats pkgStats = stats.packageStats.valueAt(i); in pruneChooserCountsOlderThan() local569 if (pkgStats.mChooserCounts != null) { in pruneChooserCountsOlderThan()570 pkgStats.mChooserCounts.clear(); in pruneChooserCountsOlderThan()