/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
H A D | BatteryHistoryPreference.java | 38 public BatteryHistoryPreference(Context context, BatteryStats stats) { argument 41 mStats = stats;
|
H A D | BatteryHistoryChart.java | 109 // are battery stats signal strength buckets. 337 void setStats(BatteryStats stats) { argument 338 mStats = stats; 360 if (stats.startIteratingHistoryLocked()) { 362 while (stats.getNextHistoryLocked(rec)) {
|
/packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/ |
H A D | MockActivityManager.java | 33 PkgUsageStats stats = new PkgUsageStats(packageName, 1, 0, new HashMap<String, Long>()); 34 mPackageUsageStats.put(packageName, stats);
|
H A D | ApplicationsProviderForTesting.java | 55 Map<String, PkgUsageStats> stats = new HashMap<String, PkgUsageStats>(); 57 stats.put(pus.packageName, pus); 59 return stats;
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
H A D | StorageMeasurement.java | 56 * Filesystem stats (using DefaultContainerService) 322 public void onGetStatsCompleted(PackageStats stats, boolean succeeded) { argument 330 mAppsSizeForThisStatsObserver += stats.codeSize + stats.dataSize; 332 mAppsSizeForThisStatsObserver += stats.externalObbSize + 333 stats.externalCodeSize + stats.externalDataSize + 334 stats.externalCacheSize + stats.externalMediaSize; 336 mAppsSizeForThisStatsObserver += stats [all...] |
/packages/experimental/procstatlog/ |
H A D | procstatlog.c | 49 // /proc/binder/stats - per line: "/proc/binder/stats:BC_REPLY" 54 // /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state 105 struct data *stats, int stats_count) { 143 struct data *data = &stats[num++]; 160 static int read_proc_yaffs(struct data *stats, int stats_count) { argument 193 struct data *data = &stats[num++]; 285 struct data *stats = malloc((stats_count + 1) * sizeof(struct data)); local 286 struct data *next = stats; 295 struct data *end = stats 102 read_lines( const char *filename, char delimiter, const char *terminator, int skip_words, struct data *stats, int stats_count) argument 354 free_stats(struct data *stats) argument [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
H A D | ApplicationsState.java | 813 public void onGetStatsCompleted(PackageStats stats, boolean succeeded) { 817 AppEntry entry = mEntriesMap.get(stats.packageName); 822 long externalCodeSize = stats.externalCodeSize 823 + stats.externalObbSize; 824 long externalDataSize = stats.externalDataSize 825 + stats.externalMediaSize + stats.externalCacheSize; 827 + getTotalInternalSize(stats); 829 entry.cacheSize != stats.cacheSize || 830 entry.codeSize != stats [all...] |
H A D | ManageApplications.java | 331 final long[] stats = mContainerService.getFileSystemStats( 333 mTotalStorage = stats[0]; 334 mFreeStorage = stats[1]; 350 final long[] stats = mContainerService.getFileSystemStats( 352 mTotalStorage = stats[0]; 353 mFreeStorage = stats[1];
|
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/ |
H A D | ApplicationsProvider.java | 530 PkgUsageStats stats = usageStats.get(activityPackageName); 533 if (stats != null) { 534 launchCount = stats.launchCount; 535 if (stats.componentResumeTimes.containsKey(activityClassName)) { 536 lastResumeTime = stats.componentResumeTimes.get(activityClassName); 562 if (DBG) Log.d(TAG, "Update application usage stats."); 570 PkgUsageStats stats = statsEntry.getValue(); 571 updatedLaunchCount.put(LAUNCH_COUNT, stats.launchCount); 576 for (Map.Entry<String, Long> crtEntry: stats.componentResumeTimes.entrySet()) { 591 if (DBG) Log.d(TAG, "Finished updating application usage stats i [all...] |
/packages/apps/Settings/src/com/android/settings/ |
H A D | UsageStats.java | 118 PkgUsageStats[] stats; 120 stats = mUsageStatsService.getAllPkgUsageStats(); 122 Log.e(TAG, "Failed initializing usage stats service"); 125 if (stats == null) { 128 for (PkgUsageStats ps : stats) { 190 Log.w(TAG, "No usage stats info for package:" + position);
|
H A D | DataUsageSummary.java | 417 // kick off background task to update stats 767 // hide detail stats when not in detail mode 1163 // kick off loader for detailed stats 1477 public void bindStats(NetworkStats stats, int[] restrictedAppIds) { argument 1484 final int size = stats != null ? stats.size() : 0; 1486 entry = stats.getValues(i, entry);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | ChartDataUsageView.java | 162 public void bindNetworkStats(NetworkStatsHistory stats) { argument 163 mSeries.bindNetworkStats(stats); 164 mHistory = stats; 171 public void bindDetailNetworkStats(NetworkStatsHistory stats) { argument 172 mDetailSeries.bindNetworkStats(stats); 173 mDetailSeries.setVisibility(stats != null ? View.VISIBLE : View.GONE);
|
H A D | ChartNetworkSeriesView.java | 137 public void bindNetworkStats(NetworkStatsHistory stats) { argument 138 mStats = stats; 177 // bail when not enough stats to render 212 // skip until we find first stats on screen
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ContactsDatabaseHelper.java | 2331 // Upgraded the sqlite index stats 3836 * Adds index stats into the SQLite database to force it to always use the lookup indexes. 3840 // Specific stats strings are based on an actual large database after running ANALYZE 3955 Log.e(TAG, "Could not update index stats", e); 3962 * @param stats has the following structure: the first index is the expected size of 3967 String stats) { 3976 new String[] { table, index, stats }); 3966 updateIndexStats(SQLiteDatabase db, String table, String index, String stats) argument
|