Home
last modified time | relevance | path

Searched refs:stats (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageMeasurement.java236 public void onGetStatsCompleted(PackageStats stats, boolean succeeded) { in onGetStatsCompleted() argument
239 addStatsLocked(stats); in onGetStatsCompleted()
247 private void addStatsLocked(PackageStats stats) { in addStatsLocked() argument
249 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 …]
/packages/experimental/procstatlog/
Dprocstatlog.c105 struct data *stats, int stats_count) { in read_lines() argument
143 struct data *data = &stats[num++]; in read_lines()
160 static int read_proc_yaffs(struct data *stats, int stats_count) { in read_proc_yaffs() argument
193 struct data *data = &stats[num++]; in read_proc_yaffs()
285 struct data *stats = malloc((stats_count + 1) * sizeof(struct data)); in read_stats() local
286 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 …]
/packages/apps/Settings/src/com/android/settings/applications/
DApplicationsState.java879 public void onGetStatsCompleted(PackageStats stats, boolean succeeded) {
883 AppEntry entry = mEntriesMap.get(stats.packageName);
888 long externalCodeSize = stats.externalCodeSize
889 + stats.externalObbSize;
890 long externalDataSize = stats.externalDataSize
891 + stats.externalMediaSize;
893 + getTotalInternalSize(stats);
895 entry.cacheSize != stats.cacheSize ||
896 entry.codeSize != stats.codeSize ||
897 entry.dataSize != stats.dataSize ||
[all …]
DManageApplications.java336 final long[] stats = mContainerService.getFileSystemStats( in updateStorageUsage() local
338 mTotalStorage = stats[0]; in updateStorageUsage()
339 mFreeStorage = stats[1]; in updateStorageUsage()
356 final long[] stats = mContainerService.getFileSystemStats( in updateStorageUsage() local
358 mTotalStorage = stats[0]; in updateStorageUsage()
359 mFreeStorage = stats[1]; in updateStorageUsage()
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/
DApplicationsProvider.java539 PkgUsageStats stats = usageStats.get(activityPackageName); in updateApplicationsList() local
542 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() local
580 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() local
678 stats.put(pus.packageName, pus); in fetchUsageStats()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DChartDataUsageView.java162 public void bindNetworkStats(NetworkStatsHistory stats) { in bindNetworkStats() argument
163 mSeries.bindNetworkStats(stats); in bindNetworkStats()
164 mHistory = stats; in bindNetworkStats()
171 public void bindDetailNetworkStats(NetworkStatsHistory stats) { in bindDetailNetworkStats() argument
172 mDetailSeries.bindNetworkStats(stats); in bindDetailNetworkStats()
173 mDetailSeries.setVisibility(stats != null ? View.VISIBLE : View.GONE); in bindDetailNetworkStats()
DChartNetworkSeriesView.java137 public void bindNetworkStats(NetworkStatsHistory stats) { in bindNetworkStats() argument
138 mStats = stats; in bindNetworkStats()
/packages/apps/Settings/src/com/android/settings/
DUsageStats.java118 PkgUsageStats[] stats; in UsageStatsAdapter() local
120 stats = mUsageStatsService.getAllPkgUsageStats(); in UsageStatsAdapter()
125 if (stats == null) { in UsageStatsAdapter()
128 for (PkgUsageStats ps : stats) { in UsageStatsAdapter()
DDataUsageSummary.java1490 public void bindStats(NetworkStats stats, int[] restrictedUids) { in bindStats() argument
1497 final int size = stats != null ? stats.size() : 0; in bindStats()
1499 entry = stats.getValues(i, entry); in bindStats()
/packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/
DApplicationsProviderForTesting.java55 Map<String, PkgUsageStats> stats = new HashMap<String, PkgUsageStats>(); in fetchUsageStats() local
57 stats.put(pus.packageName, pus); in fetchUsageStats()
59 return stats; in fetchUsageStats()
DMockActivityManager.java33 PkgUsageStats stats = new PkgUsageStats(packageName, 1, 0, new HashMap<String, Long>()); in addLastResumeTime() local
34 mPackageUsageStats.put(packageName, stats); in addLastResumeTime()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryHistoryChart.java337 void setStats(BatteryStats stats) { in setStats() argument
338 mStats = stats; in setStats()
360 if (stats.startIteratingHistoryLocked()) { in setStats()
362 while (stats.getNextHistoryLocked(rec)) { in setStats()
DBatteryHistoryPreference.java38 public BatteryHistoryPreference(Context context, BatteryStats stats) { in BatteryHistoryPreference() argument
41 mStats = stats; in BatteryHistoryPreference()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java4201 String stats) { in updateIndexStats() argument
4210 new String[] { table, index, stats }); in updateIndexStats()
/packages/inputmethods/LatinIME/dictionaries/
Dsv_wordlist.combined.gz
Dnb_wordlist.combined.gz
Dda_wordlist.combined.gz
Dlv_wordlist.combined.gz1dictionary=main:lv,locale=lv,description=Latviešu,date=1355802843, ...
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_wordlist.combined.gz