Home
last modified time | relevance | path

Searched refs:mMemFactor (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessStats.java171 public int mMemFactor = STATE_NOTHING; field in ProcessStats
307 if (mMemFactor != STATE_NOTHING) { in addSysMemUsage()
308 int state = mMemFactor * STATE_COUNT; in addSysMemUsage()
355 if (mMemFactor == memBucket) { in computeTotalMemoryUse()
400 mMemFactor = STATE_NOTHING; in reset()
764 if (mMemFactor != STATE_NOTHING) { in writeToParcel()
765 mMemFactorDurations[mMemFactor] += now - mStartTime; in writeToParcel()
1221 long totalTime = DumpUtils.dumpSingleTime(null, null, mMemFactorDurations, mMemFactor, in dumpLocked()
1408 long totalTime = DumpUtils.dumpSingleTime(null, null, mMemFactorDurations, mMemFactor, in dumpSummaryLocked()
1450 DumpUtils.dumpSingleTime(pw, " ", mMemFactorDurations, mMemFactor, mStartTime, now); in dumpTotalsLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java143 if (memFactor != mProcessStats.mMemFactor) { in setMemFactorLocked()
144 if (mProcessStats.mMemFactor != ProcessStats.STATE_NOTHING) { in setMemFactorLocked()
145 mProcessStats.mMemFactorDurations[mProcessStats.mMemFactor] in setMemFactorLocked()
148 mProcessStats.mMemFactor = memFactor; in setMemFactorLocked()
172 … return mProcessStats.mMemFactor != ProcessStats.STATE_NOTHING ? mProcessStats.mMemFactor : 0; in getMemFactorLocked()