Searched defs:configStats (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
H A DUsageStatsXmlV1.java138 final ConfigurationStats configStats = statsOut.getOrCreateConfigurationStats(config);
141 configStats.mLastTimeActive = statsOut.beginTime + XmlUtils.readLongAttribute(
144 configStats.mTotalTimeActive = XmlUtils.readLongAttribute(parser, TOTAL_TIME_ACTIVE_ATTR);
145 configStats.mActivationCount = XmlUtils.readIntAttribute(parser, COUNT_ATTR);
147 statsOut.activeConfiguration = configStats.mConfiguration;
235 final ConfigurationStats configStats, boolean isActive) throws IOException {
240 configStats.mLastTimeActive - stats.beginTime);
242 XmlUtils.writeLongAttribute(xml, TOTAL_TIME_ACTIVE_ATTR, configStats.mTotalTimeActive);
243 XmlUtils.writeIntAttribute(xml, COUNT_ATTR, configStats.mActivationCount);
249 Configuration.writeXmlAttrs(xml, configStats
234 writeConfigStats(XmlSerializer xml, final IntervalStats stats, final ConfigurationStats configStats, boolean isActive) argument
[all...]

Completed in 45 milliseconds