Home
last modified time | relevance | path

Searched refs:mStatsManager (Results 1 – 13 of 13) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppMemoryPreferenceController.java47 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/
DAppMemoryPreferenceController.java47 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/
DProcessStatsBase.java63 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()
DProcessStatsSummary.java71 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()
DProcessStatsUi.java115 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/
DProcessStatsBase.java63 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()
DProcessStatsSummary.java71 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()
DProcessStatsUi.java115 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/
DAnomalyConfigJobServiceTest.java58 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/
DStorageAsyncLoader.java52 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/
DStorageAsyncLoader.java53 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/
DStorageAsyncLoader.java53 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/
DAppsAsyncLoader.java71 private StorageStatsSource mStatsManager; field in AppsAsyncLoader
87 mStatsManager = source; in AppsAsyncLoader()
125 appSpace = mStatsManager.getStatsForUid(app.volumeUuid, app.uid); in loadApps()