Searched refs:statsOut (Results 1 – 2 of 2) sorted by relevance
73 private static void loadUsageStats(XmlPullParser parser, IntervalStats statsOut) in loadUsageStats() argument79 final UsageStats stats = statsOut.getOrCreateUsageStats(pkg); in loadUsageStats()82 stats.mLastTimeUsed = statsOut.beginTime + XmlUtils.readLongAttribute( in loadUsageStats()133 private static void loadConfigStats(XmlPullParser parser, IntervalStats statsOut) in loadConfigStats() argument138 final ConfigurationStats configStats = statsOut.getOrCreateConfigurationStats(config); in loadConfigStats()141 configStats.mLastTimeActive = statsOut.beginTime + XmlUtils.readLongAttribute( in loadConfigStats()147 statsOut.activeConfiguration = configStats.mConfiguration; in loadConfigStats()151 private static void loadEvent(XmlPullParser parser, IntervalStats statsOut) in loadEvent() argument159 final UsageEvents.Event event = statsOut.buildEvent(packageName, className); in loadEvent()164 event.mTimeStamp = statsOut.beginTime + XmlUtils.readLongAttribute(parser, TIME_ATTR); in loadEvent()[all …]
58 public static void read(AtomicFile file, IntervalStats statsOut) throws IOException { in read() argument62 statsOut.beginTime = parseBeginTime(file); in read()63 read(in, statsOut); in read()64 statsOut.lastTimeSaved = file.getLastModifiedTime(); in read()90 static void read(InputStream in, IntervalStats statsOut) throws IOException { in read() argument99 UsageStatsXmlV1.read(parser, statsOut); in read()