Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DUserUsageStatsService.java127 UsageStats pkgStats = stat.packageStats.valueAt(i); in init() local
128 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() local
384 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 …]
DUsageStatsDatabase.java568 UsageStats pkgStats = stats.packageStats.valueAt(i); in pruneChooserCountsOlderThan() local
569 if (pkgStats.mChooserCounts != null) { in pruneChooserCountsOlderThan()
570 pkgStats.mChooserCounts.clear(); in pruneChooserCountsOlderThan()