Home
last modified time | relevance | path

Searched refs:IntervalStats (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java122 boolean checkin(IntervalStats stats); in checkin()
155 IntervalStats stats = new IntervalStats(); in checkinDailyFiles()
346 public IntervalStats getLatestUsageStats(int intervalType) { in getLatestUsageStats()
359 IntervalStats stats = new IntervalStats(); in getLatestUsageStats()
386 void combine(IntervalStats stats, boolean mutable, List<T> accumulatedResult); in combine()
436 final IntervalStats stats = new IntervalStats(); in queryUsageStats()
564 final IntervalStats stats = new IntervalStats(); in pruneChooserCountsOlderThan()
585 public void putUsageStats(int intervalType, IntervalStats stats) throws IOException { in putUsageStats()
657 IntervalStats dailyConfigSource = in applyRestoredPayload()
659 IntervalStats weeklyConfigSource = in applyRestoredPayload()
[all …]
DUserUsageStatsService.java58 private final IntervalStats[] mCurrentStats;
85 mCurrentStats = new IntervalStats[UsageStatsManager.INTERVAL_COUNT]; in UserUsageStatsService()
124 for (IntervalStats stat : mCurrentStats) { in init()
162 final IntervalStats currentDailyStats = mCurrentStats[UsageStatsManager.INTERVAL_DAILY]; in reportEvent()
180 for (IntervalStats stats : mCurrentStats) { in reportEvent()
202 public void combine(IntervalStats stats, boolean mutable,
219 public void combine(IntervalStats stats, boolean mutable,
256 final IntervalStats currentStats = mCurrentStats[intervalType]; in queryStats()
318 public void combine(IntervalStats stats, boolean mutable, in queryEvents()
380 for (IntervalStats stat : mCurrentStats) { in rolloverStats()
[all …]
DUsageStatsXml.java58 public static void read(AtomicFile file, IntervalStats statsOut) throws IOException { in read()
78 public static void write(AtomicFile file, IntervalStats stats) throws IOException { in write()
90 static void read(InputStream in, IntervalStats statsOut) throws IOException { in read()
116 static void write(OutputStream out, IntervalStats stats) throws IOException { in write()
DUsageStatsXmlV1.java73 private static void loadUsageStats(XmlPullParser parser, IntervalStats statsOut) in loadUsageStats()
133 private static void loadConfigStats(XmlPullParser parser, IntervalStats statsOut) in loadConfigStats()
151 private static void loadEvent(XmlPullParser parser, IntervalStats statsOut) in loadEvent()
184 private static void writeUsageStats(XmlSerializer xml, final IntervalStats stats, in writeUsageStats()
234 private static void writeConfigStats(XmlSerializer xml, final IntervalStats stats, in writeConfigStats()
254 private static void writeEvent(XmlSerializer xml, final IntervalStats stats, in writeEvent()
291 public static void read(XmlPullParser parser, IntervalStats statsOut) in read()
336 public static void write(XmlSerializer xml, IntervalStats stats) throws IOException { in write()
DIntervalStats.java26 class IntervalStats { class
/frameworks/base/services/
Dprofile-classes5404 Lcom/android/server/usage/IntervalStats;