/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/ |
D | AppMemoryPreferenceController.java | 47 private ProcStatsData mStatsManager; field in AppMemoryPreferenceController 62 if (mStatsManager == null) { in doInBackground() 63 mStatsManager = new ProcStatsData(activity, false); in doInBackground() 64 mStatsManager.setDuration(ProcessStatsBase.sDurations[0]); in doInBackground() 66 mStatsManager.refreshStats(true); in doInBackground() 67 for (ProcStatsPackageEntry pkgEntry : mStatsManager.getEntries()) { in doInBackground() 87 * mStatsManager.getMemInfo().getWeightToRam(); in onPostExecute() 126 mStatsManager.getMemInfo(), mStats, false); in handlePreferenceTreeClick()
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppMemoryPreferenceController.java | 47 private ProcStatsData mStatsManager; field in AppMemoryPreferenceController 62 if (mStatsManager == null) { in doInBackground() 63 mStatsManager = new ProcStatsData(activity, false); in doInBackground() 64 mStatsManager.setDuration(ProcessStatsBase.sDurations[0]); in doInBackground() 66 mStatsManager.refreshStats(true); in doInBackground() 67 for (ProcStatsPackageEntry pkgEntry : mStatsManager.getEntries()) { in doInBackground() 87 * mStatsManager.getMemInfo().getWeightToRam(); in onPostExecute() 126 mStatsManager.getMemInfo(), mStats, false); in handlePreferenceTreeClick()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | ProcessStatsBase.java | 63 protected ProcStatsData mStatsManager; field in ProcessStatsBase 71 mStatsManager = new ProcStatsData(getActivity(), icicle != null in onCreate() 77 mStatsManager.setDuration(icicle != null in onCreate() 84 outState.putLong(DURATION, mStatsManager.getDuration()); in onSaveInstanceState() 91 mStatsManager.refreshStats(false); in onResume() 99 mStatsManager.xferStats(); in onDestroy() 121 mStatsManager.setDuration(sDurations[position]); in onItemSelected()
|
D | ProcessStatsSummary.java | 71 MemInfo memInfo = mStatsManager.getMemInfo(); in refreshUi() 82 int memState = mStatsManager.getMemState(); in refreshUi() 98 int numApps = mStatsManager.getEntries().size(); in refreshUi() 119 mStatsManager.xferStats(); in onPreferenceClick()
|
D | ProcessStatsUi.java | 115 MemInfo memInfo = mStatsManager.getMemInfo(); in onPreferenceTreeClick() 159 MemInfo memInfo = mStatsManager.getMemInfo(); in refreshUi() 161 List<ProcStatsPackageEntry> pkgEntries = mStatsManager.getEntries(); in refreshUi()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcessStatsBase.java | 63 protected ProcStatsData mStatsManager; field in ProcessStatsBase 71 mStatsManager = new ProcStatsData(getActivity(), icicle != null in onCreate() 77 mStatsManager.setDuration(icicle != null in onCreate() 84 outState.putLong(DURATION, mStatsManager.getDuration()); in onSaveInstanceState() 91 mStatsManager.refreshStats(false); in onResume() 99 mStatsManager.xferStats(); in onDestroy() 121 mStatsManager.setDuration(sDurations[position]); in onItemSelected()
|
D | ProcessStatsSummary.java | 71 MemInfo memInfo = mStatsManager.getMemInfo(); in refreshUi() 82 int memState = mStatsManager.getMemState(); in refreshUi() 98 int numApps = mStatsManager.getEntries().size(); in refreshUi() 119 mStatsManager.xferStats(); in onPreferenceClick()
|
D | ProcessStatsUi.java | 115 MemInfo memInfo = mStatsManager.getMemInfo(); in onPreferenceTreeClick() 159 MemInfo memInfo = mStatsManager.getMemInfo(); in refreshUi() 161 List<ProcStatsPackageEntry> pkgEntries = mStatsManager.getEntries(); in refreshUi()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/ |
D | AnomalyConfigJobServiceTest.java | 58 private StatsManager mStatsManager; field in AnomalyConfigJobServiceTest 110 mJobService.checkAnomalyConfig(mStatsManager); in checkAnomalyConfig_newConfigExist_removeOldConfig() 112 verify(mStatsManager).removeConfig(StatsManagerConfig.ANOMALY_CONFIG_KEY); in checkAnomalyConfig_newConfigExist_removeOldConfig() 123 mJobService.checkAnomalyConfig(mStatsManager); in checkAnomalyConfig_newConfigExist_uploadNewConfig() 125 verify(mStatsManager).addConfig(eq(StatsManagerConfig.ANOMALY_CONFIG_KEY), any()); in checkAnomalyConfig_newConfigExist_uploadNewConfig()
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | StorageAsyncLoader.java | 52 private final StorageStatsSource mStatsManager; field in StorageAsyncLoader 59 mStatsManager = source; in StorageAsyncLoader() 90 stats = mStatsManager.getStatsForPackage(/* volumeUuid= */ null, app.packageName, in getStorageResultForUser() 99 long cacheQuota = mStatsManager.getCacheQuotaBytes(/* volumeUuid= */null, app.uid); in getStorageResultForUser() 146 result.mStorageStats = mStatsManager.getExternalStorageStats(null, in getStorageResultForUser()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/ |
D | StorageAsyncLoader.java | 53 private StorageStatsSource mStatsManager; field in StorageAsyncLoader 62 mStatsManager = source; in StorageAsyncLoader() 102 stats = mStatsManager.getStatsForPackage(mUuid, app.packageName, myUser); in getStorageResultForUser() 110 final long cacheQuota = mStatsManager.getCacheQuotaBytes(mUuid, app.uid); in getStorageResultForUser() 154 result.externalStats = mStatsManager.getExternalStorageStats(mUuid, in getStorageResultForUser()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | StorageAsyncLoader.java | 53 private StorageStatsSource mStatsManager; field in StorageAsyncLoader 62 mStatsManager = source; in StorageAsyncLoader() 102 stats = mStatsManager.getStatsForPackage(mUuid, app.packageName, myUser); in getStorageResultForUser() 110 final long cacheQuota = mStatsManager.getCacheQuotaBytes(mUuid, app.uid); in getStorageResultForUser() 154 result.externalStats = mStatsManager.getExternalStorageStats(mUuid, in getStorageResultForUser()
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | AppsAsyncLoader.java | 71 private StorageStatsSource mStatsManager; field in AppsAsyncLoader 87 mStatsManager = source; in AppsAsyncLoader() 125 appSpace = mStatsManager.getStatsForUid(app.volumeUuid, app.uid); in loadApps()
|