Lines Matching defs:usageStats
18 import android.app.usage.UsageStats;
73 final Map<String, UsageStats> map = getAggregatedUsageStats();
75 UsageStats usageStats = map.get(entry.info.packageName);
76 entry.extraInfo = new UsageStatsState(getDaysSinceLastUse(usageStats),
84 Map<String, UsageStats> map = getAggregatedUsageStats();
85 UsageStats usageStats = map.get(app.info.packageName);
86 app.extraInfo = new UsageStatsState(getDaysSinceLastUse(usageStats),
91 private long getDaysSinceLastUse(UsageStats stats) {
123 private Map<String, UsageStats> getAggregatedUsageStats() {