Searched defs:configStats (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsXmlV1.java | 82 final ConfigurationStats configStats = statsOut.getOrCreateConfigurationStats(config); 85 configStats.mLastTimeActive = statsOut.beginTime + XmlUtils.readLongAttribute( 88 configStats.mTotalTimeActive = XmlUtils.readLongAttribute(parser, TOTAL_TIME_ACTIVE_ATTR); 89 configStats.mActivationCount = XmlUtils.readIntAttribute(parser, COUNT_ATTR); 91 statsOut.activeConfiguration = configStats.mConfiguration; 137 final ConfigurationStats configStats, boolean isActive) throws IOException { 142 configStats.mLastTimeActive - stats.beginTime); 144 XmlUtils.writeLongAttribute(xml, TOTAL_TIME_ACTIVE_ATTR, configStats.mTotalTimeActive); 145 XmlUtils.writeIntAttribute(xml, COUNT_ATTR, configStats.mActivationCount); 151 Configuration.writeXmlAttrs(xml, configStats 136 writeConfigStats(XmlSerializer xml, final IntervalStats stats, final ConfigurationStats configStats, boolean isActive) argument [all...] |
Completed in 87 milliseconds