/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | ProcStatsData.java | 63 private ProcessStats mStats; field in ProcStatsData 84 mStats = sStatsXfer; in ProcStatsData() 93 sStatsXfer = mStats; in xferStats() 107 int factor = mStats.mMemFactor; in getMemState() 122 return mStats.mTimePeriodEndRealtime - mStats.mTimePeriodStartRealtime; in getElapsedTime() 141 if (mStats == null || forceLoad) { in refreshStats() 149 memTotalTime = DumpUtils.dumpSingleTime(null, null, mStats.mMemFactorDurations, in refreshStats() 150 mStats.mMemFactor, mStats.mStartTime, now); in refreshStats() 154 mStats.computeTotalMemoryUse(totalMem, now); in refreshStats() 179 proc.evaluateTargetPackage(mPm, mStats, bgTotals, runTotals, sEntryCompare, mUseUss); in createPkgMap() [all …]
|
D | RecentAppStatsMixin.java | 118 final List<UsageStats> mStats = mPowerManager.isPowerSaveMode() in loadDisplayableRecentApps() local 125 final int statCount = mStats.size(); in loadDisplayableRecentApps() 127 final UsageStats pkgStats = mStats.get(i); in loadDisplayableRecentApps()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | ProcStatsData.java | 63 private ProcessStats mStats; field in ProcStatsData 84 mStats = sStatsXfer; in ProcStatsData() 93 sStatsXfer = mStats; in xferStats() 107 int factor = mStats.mMemFactor; in getMemState() 122 return mStats.mTimePeriodEndRealtime - mStats.mTimePeriodStartRealtime; in getElapsedTime() 141 if (mStats == null || forceLoad) { in refreshStats() 149 memTotalTime = DumpUtils.dumpSingleTime(null, null, mStats.mMemFactorDurations, in refreshStats() 150 mStats.mMemFactor, mStats.mStartTime, now); in refreshStats() 154 mStats.computeTotalMemoryUse(totalMem, now); in refreshStats() 179 proc.evaluateTargetPackage(mPm, mStats, bgTotals, runTotals, sEntryCompare, mUseUss); in createPkgMap() [all …]
|
D | RecentAppStatsMixin.java | 118 final List<UsageStats> mStats = mPowerManager.isPowerSaveMode() in loadDisplayableRecentApps() local 125 final int statCount = mStats.size(); in loadDisplayableRecentApps() 127 final UsageStats pkgStats = mStats.get(i); in loadDisplayableRecentApps()
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | ContentCache.java | 112 private final Statistics mStats; field in ContentCache 427 mStats = new Statistics(this); in ContentCache() 489 mStats.mStaleCount++; in putCursorImpl() 531 mStats.mHitCount++; in getCachedCursorImpl() 534 mStats.mMissCount++; in getCachedCursorImpl() 560 mStats.mProjectionMissCount++; in getMatrixCursor() 582 mStats.mHitCount++; in getMatrixCursor() 585 mStats.mMissCount++; in getMatrixCursor() 682 mStats.mInvalidateCount++; in invalidate() 692 mStats.mOpCount++; in dumpOnCount() [all …]
|
/packages/services/Car/car-lib/src/android/car/storagemonitoring/ |
D | IoStats.java | 53 private final List<IoStatsEntry> mStats; field in IoStats 57 mStats = stats; in IoStats() 62 mStats = in.createTypedArrayList(IoStatsEntry.CREATOR); in IoStats() 72 mStats = new ArrayList<>(); in IoStats() 74 mStats.add(new IoStatsEntry(statsArray.getJSONObject(i))); in IoStats() 80 dest.writeTypedList(mStats); in writeToParcel() 91 for (IoStatsEntry stat : mStats) { in writeToJson() 108 return mStats; in getStats() 113 return Objects.hash(mStats, mUptimeTimestamp); in hashCode()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | AbstractContactsProvider.java | 119 protected final ProviderAccessStats mStats = new ProviderAccessStats(); field in AbstractContactsProvider 157 mStats.incrementInsertStats(callingUid, isInBatch()); in insert() 171 mStats.finishOperation(callingUid); in insert() 178 mStats.incrementDeleteStats(callingUid, isInBatch()); in delete() 192 mStats.finishOperation(callingUid); in delete() 199 mStats.incrementUpdateStats(callingUid, isInBatch()); in update() 213 mStats.finishOperation(callingUid); in update() 220 mStats.incrementBatchStats(callingUid); in bulkInsert() 244 mStats.finishOperation(callingUid); in bulkInsert() 252 mStats.incrementBatchStats(callingUid); in applyBatch() [all …]
|
D | CallLogProvider.java | 191 private final ProviderAccessStats mStats = new ProviderAccessStats(); field in CallLogProvider 257 mStats.incrementBatchStats(callingUid); in applyBatch() 263 mStats.finishOperation(callingUid); in applyBatch() 272 mStats.incrementBatchStats(callingUid); in bulkInsert() 278 mStats.finishOperation(callingUid); in bulkInsert() 288 mStats.incrementQueryStats(callingUid); in query() 292 mStats.finishOperation(callingUid); in query() 431 mStats.incrementInsertStats(callingUid, applyingBatch()); in insert() 435 mStats.finishOperation(callingUid); in insert() 444 mStats.incrementInsertStats(callingUid, applyingBatch()); in update() [all …]
|
D | ProfileProvider.java | 75 mStats.incrementQueryStats(callingUid); in query() 80 mStats.finishOperation(callingUid); in query()
|
D | ContactsProvider2.java | 5468 mStats.incrementQueryStats(callingUid); in query() 5476 mStats.finishOperation(callingUid); in query()
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | VolumeSizesLoader.java | 34 private final StorageStatsManager mStats; field in VolumeSizesLoader 41 mStats = stats; in VolumeSizesLoader() 57 long privateTotalBytes = mVolumeProvider.getTotalBytes(mStats, mVolume); in getVolumeSize() 58 long privateFreeBytes = mVolumeProvider.getFreeBytes(mStats, mVolume); in getVolumeSize()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/ |
D | VolumeSizesLoader.java | 33 private StorageStatsManager mStats; field in VolumeSizesLoader 43 mStats = stats; in VolumeSizesLoader() 54 volumeSizes = getVolumeSize(mVolumeProvider, mStats, mVolume); in loadInBackground()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/storage/ |
D | VolumeSizesLoader.java | 33 private StorageStatsManager mStats; field in VolumeSizesLoader 43 mStats = stats; in VolumeSizesLoader() 54 volumeSizes = getVolumeSize(mVolumeProvider, mStats, mVolume); in loadInBackground()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryInfoLoaderTest.java | 52 private BatteryStats mStats; field in BatteryInfoLoaderTest 63 when(mStats.computeBatteryTimeRemaining(anyLong())).thenReturn(TEST_TIME_REMAINING); in setUp() 64 doReturn(mStats).when(mHelper).getStats(); in setUp()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/ |
D | RecentAppsPreferenceController.java | 71 private List<UsageStats> mStats; field in RecentAppsPreferenceController 204 mStats = mUsageStatsManager.queryUsageStats( in reloadData() 212 final int statCount = mStats.size(); in getDisplayableRecentAppList() 214 final UsageStats pkgStats = mStats.get(i); in getDisplayableRecentAppList()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/ |
D | AppMemoryPreferenceController.java | 48 private ProcStatsPackageEntry mStats; field in AppMemoryPreferenceController 84 mStats = entry; in onPostExecute() 126 mStatsManager.getMemInfo(), mStats, false); in handlePreferenceTreeClick() local
|
/packages/apps/Settings/src/com/android/settings/applications/appinfo/ |
D | AppMemoryPreferenceController.java | 48 private ProcStatsPackageEntry mStats; field in AppMemoryPreferenceController 84 mStats = entry; in onPostExecute() 126 mStatsManager.getMemInfo(), mStats, false); in handlePreferenceTreeClick() local
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryInfo.java | 52 private BatteryStats mStats; field in BatteryInfo 126 parse(mStats, parserList); in bindHistory() 227 info.mStats = stats; in getBatteryInfo()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryInfo.java | 54 private BatteryStats mStats; field in BatteryInfo 128 parse(mStats, parserList); in bindHistory() 230 info.mStats = stats; in getBatteryInfo()
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 467 private final ProviderAccessStats mStats = new ProviderAccessStats(); field in CalendarProvider2 859 mStats.incrementQueryStats(callingUid); in query() 865 mStats.finishOperation(callingUid); in query() 2262 mStats.incrementBatchStats(callingUid); in bulkInsert() 2266 mStats.finishOperation(callingUid); in bulkInsert() 2276 mStats.incrementBatchStats(callingUid); in applyBatch() 2280 mStats.finishOperation(callingUid); in applyBatch() 2315 mStats.incrementInsertStats(callingUid, applyingBatch()); in insertInTransaction() 2319 mStats.finishOperation(callingUid); in insertInTransaction() 3305 mStats.incrementDeleteStats(callingUid, applyingBatch()); in deleteInTransaction() [all …]
|