Searched refs:IntervalStats (Results 1 – 15 of 15) sorted by relevance
50 private void populateIntervalStats(IntervalStats intervalStats) { in populateIntervalStats()141 final IntervalStats intervalStats = new IntervalStats(); in testObfuscation()158 final IntervalStats intervalStats = new IntervalStats(); in testDeobfuscation()177 final IntervalStats intervalStats = new IntervalStats(); in testBadDataOnDeobfuscation()196 final IntervalStats intervalStats = new IntervalStats(); in testBadPackageDataOnDeobfuscation()225 final IntervalStats stats = new IntervalStats(); in testIntervalStatsFieldsAreKnown()
63 private IntervalStats mIntervalStats = new IntervalStats();70 private static final UsageStatsDatabase.StatCombiner<IntervalStats> mIntervalStatsVerifier =71 new UsageStatsDatabase.StatCombiner<IntervalStats>() {73 public boolean combine(IntervalStats stats, boolean mutable,74 List<IntervalStats> accResult) {129 mIntervalStats = new IntervalStats(); in populateIntervalStats()356 void compareIntervalStats(IntervalStats stats1, IntervalStats stats2, int minVersion) { in compareIntervalStats()409 List<IntervalStats> stats = mUsageStatsDatabase.queryUsageStats(interval, 0, mEndTime, in runWriteReadTest()448 List<IntervalStats> stats = newDB.queryUsageStats(interval, 0, mEndTime, in runVersionChangeTest()492 List<IntervalStats> stats = newDB.queryUsageStats([all …]
32 import com.android.server.usage.IntervalStats;65 public boolean combine(IntervalStats stats, boolean mutable,88 private static void populateIntervalStats(IntervalStats intervalStats, int packageCount, in populateIntervalStats()118 IntervalStats intervalStats = new IntervalStats(); in runQueryUsageStatsTest()134 IntervalStats intervalStats = new IntervalStats(); in runPutUsageStatsTest()148 IntervalStats intervalStats = new IntervalStats(); in runObfuscateStatsTest()163 IntervalStats intervalStats = new IntervalStats(); in runDeobfuscateStatsTest()
211 boolean checkin(IntervalStats stats); in checkin()245 final IntervalStats stats = new IntervalStats(); in checkinDailyFiles()544 IntervalStats stats = new IntervalStats(); in continueUpgradeLocked()604 final IntervalStats stats = new IntervalStats(); in pruneUninstalledPackagesData()651 final IntervalStats stats = new IntervalStats(); in prunePackagesDataOnUpgrade()666 private boolean pruneStats(HashMap<String, Long> installedPackages, IntervalStats stats) { in pruneStats()746 public IntervalStats getLatestUsageStats(int intervalType) { in getLatestUsageStats()759 IntervalStats stats = new IntervalStats(); in getLatestUsageStats()773 void filterStats(IntervalStats stats) { in filterStats()818 boolean combine(IntervalStats stats, boolean mutable, List<T> accumulatedResult); in combine()[all …]
84 private final IntervalStats[] mCurrentStats;131 mCurrentStats = new IntervalStats[INTERVAL_COUNT]; in UserUsageStatsService()180 final IntervalStats currentDailyStats = mCurrentStats[INTERVAL_DAILY]; in init()320 final IntervalStats currentDailyStats = mCurrentStats[INTERVAL_DAILY]; in reportEvent()355 for (IntervalStats stats : mCurrentStats) { in reportEvent()397 public boolean combine(IntervalStats stats, boolean mutable,415 public boolean combine(IntervalStats stats, boolean mutable,433 public boolean combine(IntervalStats stats, boolean mutable,468 final IntervalStats currentStats = mCurrentStats[intervalType]; in queryStats()560 public boolean combine(IntervalStats stats, boolean mutable, in queryEvents()[all …]
84 private static void loadUsageStats(XmlPullParser parser, IntervalStats statsOut) in loadUsageStats()145 IntervalStats.EventTracker tracker) in loadCountAndTime()183 private static void loadConfigStats(XmlPullParser parser, IntervalStats statsOut) in loadConfigStats()201 private static void loadEvent(XmlPullParser parser, IntervalStats statsOut) in loadEvent()252 public static void read(XmlPullParser parser, IntervalStats statsOut) in read()
64 IntervalStats statsOut, List<String> stringPool) in loadUsageStats()160 IntervalStats.EventTracker tracker) { in loadCountAndTime()250 IntervalStats statsOut) throws IOException { in loadConfigStats()301 private static void loadEvent(ProtoInputStream proto, long fieldId, IntervalStats statsOut, in loadEvent()312 private static void writeStringPool(ProtoOutputStream proto, final IntervalStats stats) in writeStringPool()324 final IntervalStats stats, final UsageStats usageStats) in writeUsageStats()409 final IntervalStats stats, final ConfigurationStats configStats, boolean isActive) in writeConfigStats()423 private static void writeEvent(ProtoOutputStream proto, long fieldId, final IntervalStats stats, in writeEvent()508 public static void read(InputStream in, IntervalStats statsOut) throws IOException { in read()589 public static void write(OutputStream out, IntervalStats stats) in write()
35 public static void read(InputStream in, IntervalStats statsOut) throws IOException { in read()
110 IntervalStats.EventTracker tracker) { in loadCountAndTime()192 private static void loadConfigStats(ProtoInputStream proto, IntervalStats stats) in loadConfigStats()461 public static void read(InputStream in, IntervalStats stats, boolean skipEvents) in read()550 public static void write(OutputStream out, IntervalStats stats) in write()
63 public class IntervalStats { class128 public IntervalStats() { in IntervalStats() method in IntervalStats
48 // Time attributes stored as an offset of the IntervalStats's beginTime.54 // Time attributes stored as an offset of the IntervalStats's beginTime.57 // Time attributes stored as an offset of the IntervalStats's beginTime.60 // Time attributes stored as an offset of the IntervalStats's beginTime.64 // Stores the relevant information an IntervalStats will have about a Configuration102 // The following fields contain supplemental data used to build IntervalStats, such as a string
34 // Stores the relevant information an IntervalStats will have about a Configuration50 // The following fields contain supplemental data used to build IntervalStats.
270 …Stats(Landroid/util/proto/ProtoInputStream;JLcom/android/server/usage/IntervalStats;Ljava/util/Lis…271 …server/usage/UsageStatsProto;->read(Ljava/io/InputStream;Lcom/android/server/usage/IntervalStats;)V273 Lcom/android/server/usage/IntervalStats;->getOrCreateUsageStats(Ljava/lang/String;)Landroid/app/usa…274 Lcom/android/server/usage/IntervalStats;->getCachedStringRef(Ljava/lang/String;)Ljava/lang/String;487 Lcom/android/server/usage/IntervalStats;->update(Ljava/lang/String;Ljava/lang/String;JII)V
3259 HPLcom/android/server/usage/IntervalStats;-><init>()V3260 HPLcom/android/server/usage/IntervalStats;->addEvent(Landroid/app/usage/UsageEvents$Event;)V+]Landr…3261 HPLcom/android/server/usage/IntervalStats;->deobfuscateEvents(Lcom/android/server/usage/PackagesTok…3262 HPLcom/android/server/usage/IntervalStats;->deobfuscateUsageStats(Lcom/android/server/usage/Package…3263 …IntervalStats;->getOrCreateUsageStats(Ljava/lang/String;)Landroid/app/usage/UsageStats;+]Landroid/…3264 HPLcom/android/server/usage/IntervalStats;->obfuscateEventsData(Lcom/android/server/usage/PackagesT…3265 HPLcom/android/server/usage/IntervalStats;->obfuscateUsageStatsData(Lcom/android/server/usage/Packa…3266 …IntervalStats;->update(Ljava/lang/String;Ljava/lang/String;JII)V+]Landroid/app/usage/UsageStats;La…3278 …IntervalStats;)V+]Landroid/content/res/Configuration;Landroid/content/res/Configuration;]Landroid/…3281 …ageStatsProtoV2;->read(Ljava/io/InputStream;Lcom/android/server/usage/IntervalStats;Z)V+]Landroid/…[all …]
23935 PLcom/android/server/usage/IntervalStats$EventTracker;-><init>()V23936 PLcom/android/server/usage/IntervalStats$EventTracker;->commitTime(J)V23937 PLcom/android/server/usage/IntervalStats$EventTracker;->update(J)V23938 HPLcom/android/server/usage/IntervalStats;-><init>()V23939 HPLcom/android/server/usage/IntervalStats;->addEvent(Landroid/app/usage/UsageEvents$Event;)V23940 PLcom/android/server/usage/IntervalStats;->deobfuscateData(Lcom/android/server/usage/PackagesTokenD…23941 HPLcom/android/server/usage/IntervalStats;->deobfuscateEvents(Lcom/android/server/usage/PackagesTok…23942 PLcom/android/server/usage/IntervalStats;->deobfuscateUsageStats(Lcom/android/server/usage/Packages…23943 HPLcom/android/server/usage/IntervalStats;->getCachedStringRef(Ljava/lang/String;)Ljava/lang/String;23944 HPLcom/android/server/usage/IntervalStats;->getOrCreateConfigurationStats(Landroid/content/res/Conf…[all …]