Home
last modified time | relevance | path

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

/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsXmlV1.java73 private static void loadUsageStats(XmlPullParser parser, IntervalStats statsOut) in loadUsageStats() argument
79 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() argument
138 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() argument
159 final UsageEvents.Event event = statsOut.buildEvent(packageName, className); in loadEvent()
164 event.mTimeStamp = statsOut.beginTime + XmlUtils.readLongAttribute(parser, TIME_ATTR); in loadEvent()
[all …]
DUsageStatsXml.java58 public static void read(AtomicFile file, IntervalStats statsOut) throws IOException { in read() argument
62 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() argument
99 UsageStatsXmlV1.read(parser, statsOut); in read()