Searched refs:stats (Results 1 – 21 of 21) sorted by relevance
236 public void onGetStatsCompleted(PackageStats stats, boolean succeeded) { in onGetStatsCompleted() argument239 addStatsLocked(stats); in onGetStatsCompleted()247 private void addStatsLocked(PackageStats stats) { in addStatsLocked() argument249 long codeSize = stats.codeSize; in addStatsLocked()250 long dataSize = stats.dataSize; in addStatsLocked()251 long cacheSize = stats.cacheSize; in addStatsLocked()255 codeSize += stats.externalCodeSize + stats.externalObbSize; in addStatsLocked()256 dataSize += stats.externalDataSize + stats.externalMediaSize; in addStatsLocked()257 cacheSize += stats.externalCacheSize; in addStatsLocked()261 if (stats.userHandle == mCurrentUser) { in addStatsLocked()[all …]
105 struct data *stats, int stats_count) { in read_lines() argument143 struct data *data = &stats[num++]; in read_lines()160 static int read_proc_yaffs(struct data *stats, int stats_count) { in read_proc_yaffs() argument193 struct data *data = &stats[num++]; in read_proc_yaffs()285 struct data *stats = malloc((stats_count + 1) * sizeof(struct data)); in read_stats() local286 struct data *next = stats; in read_stats()295 struct data *end = stats + stats_count; in read_stats()296 next += read_proc_yaffs(next, stats + stats_count - next); in read_stats()305 assert(next < stats + stats_count); in read_stats()308 qsort(stats, next - stats, sizeof(struct data), compare_data); in read_stats()[all …]
879 public void onGetStatsCompleted(PackageStats stats, boolean succeeded) {883 AppEntry entry = mEntriesMap.get(stats.packageName);888 long externalCodeSize = stats.externalCodeSize889 + stats.externalObbSize;890 long externalDataSize = stats.externalDataSize891 + stats.externalMediaSize;893 + getTotalInternalSize(stats);895 entry.cacheSize != stats.cacheSize ||896 entry.codeSize != stats.codeSize ||897 entry.dataSize != stats.dataSize ||[all …]
336 final long[] stats = mContainerService.getFileSystemStats( in updateStorageUsage() local338 mTotalStorage = stats[0]; in updateStorageUsage()339 mFreeStorage = stats[1]; in updateStorageUsage()356 final long[] stats = mContainerService.getFileSystemStats( in updateStorageUsage() local358 mTotalStorage = stats[0]; in updateStorageUsage()359 mFreeStorage = stats[1]; in updateStorageUsage()
539 PkgUsageStats stats = usageStats.get(activityPackageName); in updateApplicationsList() local542 if (stats != null) { in updateApplicationsList()543 launchCount = stats.launchCount; in updateApplicationsList()544 if (stats.componentResumeTimes.containsKey(activityClassName)) { in updateApplicationsList()545 lastResumeTime = stats.componentResumeTimes.get(activityClassName); in updateApplicationsList()579 PkgUsageStats stats = statsEntry.getValue(); in updateUsageStats() local580 updatedLaunchCount.put(LAUNCH_COUNT, stats.launchCount); in updateUsageStats()585 for (Map.Entry<String, Long> crtEntry: stats.componentResumeTimes.entrySet()) { in updateUsageStats()674 Map<String, PkgUsageStats> stats = new HashMap<String, PkgUsageStats>(); in fetchUsageStats() local678 stats.put(pus.packageName, pus); in fetchUsageStats()[all …]
162 public void bindNetworkStats(NetworkStatsHistory stats) { in bindNetworkStats() argument163 mSeries.bindNetworkStats(stats); in bindNetworkStats()164 mHistory = stats; in bindNetworkStats()171 public void bindDetailNetworkStats(NetworkStatsHistory stats) { in bindDetailNetworkStats() argument172 mDetailSeries.bindNetworkStats(stats); in bindDetailNetworkStats()173 mDetailSeries.setVisibility(stats != null ? View.VISIBLE : View.GONE); in bindDetailNetworkStats()
137 public void bindNetworkStats(NetworkStatsHistory stats) { in bindNetworkStats() argument138 mStats = stats; in bindNetworkStats()
118 PkgUsageStats[] stats; in UsageStatsAdapter() local120 stats = mUsageStatsService.getAllPkgUsageStats(); in UsageStatsAdapter()125 if (stats == null) { in UsageStatsAdapter()128 for (PkgUsageStats ps : stats) { in UsageStatsAdapter()
1490 public void bindStats(NetworkStats stats, int[] restrictedUids) { in bindStats() argument1497 final int size = stats != null ? stats.size() : 0; in bindStats()1499 entry = stats.getValues(i, entry); in bindStats()
55 Map<String, PkgUsageStats> stats = new HashMap<String, PkgUsageStats>(); in fetchUsageStats() local57 stats.put(pus.packageName, pus); in fetchUsageStats()59 return stats; in fetchUsageStats()
33 PkgUsageStats stats = new PkgUsageStats(packageName, 1, 0, new HashMap<String, Long>()); in addLastResumeTime() local34 mPackageUsageStats.put(packageName, stats); in addLastResumeTime()
337 void setStats(BatteryStats stats) { in setStats() argument338 mStats = stats; in setStats()360 if (stats.startIteratingHistoryLocked()) { in setStats()362 while (stats.getNextHistoryLocked(rec)) { in setStats()
38 public BatteryHistoryPreference(Context context, BatteryStats stats) { in BatteryHistoryPreference() argument41 mStats = stats; in BatteryHistoryPreference()
4201 String stats) { in updateIndexStats() argument4210 new String[] { table, index, stats }); in updateIndexStats()
1dictionary=main:lv,locale=lv,description=Latviešu,date=1355802843, ...
1dictionary=main:en_us,locale=en_US,description=English (US),date ...