Searched refs:statsOut (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsProto.java | 64 IntervalStats statsOut, List<String> stringPool) in loadUsageStats() argument 72 stats = statsOut.getOrCreateUsageStats( in loadUsageStats() 76 stats = statsOut.getOrCreateUsageStats( in loadUsageStats() 87 UsageStats tempPackage = statsOut.getOrCreateUsageStats( in loadUsageStats() 97 UsageStats tempPackageIndex = statsOut.getOrCreateUsageStats(stringPool.get( in loadUsageStats() 107 stats.mLastTimeUsed = statsOut.beginTime + proto.readLong( in loadUsageStats() 130 stats.mLastTimeForegroundServiceUsed = statsOut.beginTime + proto.readLong( in loadUsageStats() 139 stats.mLastTimeVisible = statsOut.beginTime + proto.readLong( in loadUsageStats() 150 stats.mLastTimeUsed = statsOut.beginTime; in loadUsageStats() 242 IntervalStats statsOut) throws IOException { in loadConfigStats() argument [all …]
|
D | UsageStatsXmlV1.java | 85 private static void loadUsageStats(XmlPullParser parser, IntervalStats statsOut) in loadUsageStats() argument 91 final UsageStats stats = statsOut.getOrCreateUsageStats(pkg); in loadUsageStats() 94 stats.mLastTimeUsed = statsOut.beginTime + XmlUtils.readLongAttribute( in loadUsageStats() 98 stats.mLastTimeVisible = statsOut.beginTime + XmlUtils.readLongAttribute( in loadUsageStats() 105 stats.mLastTimeForegroundServiceUsed = statsOut.beginTime + XmlUtils.readLongAttribute( in loadUsageStats() 184 private static void loadConfigStats(XmlPullParser parser, IntervalStats statsOut) in loadConfigStats() argument 189 final ConfigurationStats configStats = statsOut.getOrCreateConfigurationStats(config); in loadConfigStats() 192 configStats.mLastTimeActive = statsOut.beginTime + XmlUtils.readLongAttribute( in loadConfigStats() 198 statsOut.activeConfiguration = configStats.mConfiguration; in loadConfigStats() 202 private static void loadEvent(XmlPullParser parser, IntervalStats statsOut) in loadEvent() argument [all …]
|
D | UsageStatsDatabase.java | 849 private void readLocked(AtomicFile file, IntervalStats statsOut) throws IOException { in readLocked() argument 850 readLocked(file, statsOut, mCurrentVersion); in readLocked() 853 private static void readLocked(AtomicFile file, IntervalStats statsOut, int version) in readLocked() argument 858 statsOut.beginTime = parseBeginTime(file); in readLocked() 859 readLocked(in, statsOut, version); in readLocked() 860 statsOut.lastTimeSaved = file.getLastModifiedTime(); in readLocked() 874 private void readLocked(InputStream in, IntervalStats statsOut) throws IOException { in readLocked() argument 875 readLocked(in, statsOut, mCurrentVersion); in readLocked() 878 private static void readLocked(InputStream in, IntervalStats statsOut, int version) in readLocked() argument 884 UsageStatsXml.read(in, statsOut); in readLocked() [all …]
|