Home
last modified time | relevance | path

Searched refs:STATE_COUNT (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/procstats/
DProcessState.java60 import static com.android.internal.app.procstats.ProcessStats.STATE_COUNT;
361 ? (STATE_SERVICE_RESTARTING+(memFactor*STATE_COUNT)) : STATE_NOTHING; in setState()
363 state = PROCESS_STATE_TO_STATE[state] + (memFactor*STATE_COUNT); in setState()
443 setState(STATE_SERVICE_RESTARTING + (memFactor*STATE_COUNT), now); in incStartedServices()
458 if (mNumStartedServices == 0 && (mCurState%STATE_COUNT) == STATE_SERVICE_RESTARTING) { in decStartedServices()
668 int procState = type % STATE_COUNT; in aggregatePss()
716 final int procState = type % STATE_COUNT; in aggregatePss()
748 int bucket = ((screenStates[is] + memStates[im]) * STATE_COUNT) in computeProcessTimeLocked()
808 final int bucket = ((iscreen + imem) * STATE_COUNT) + procStates[ip]; in dumpProcessState()
857 final int bucket = ((iscreen + imem) * STATE_COUNT) + procStates[ip]; in dumpPss()
[all …]
DSysMemUsageTable.java21 import static com.android.internal.app.procstats.ProcessStats.STATE_COUNT;
149 final int bucket = ((iscreen + imem) * STATE_COUNT); in dump()
DProcessStats.java90 public static final int STATE_COUNT = STATE_CACHED_EMPTY+1; field in ProcessStats
308 int state = mMemFactor * STATE_COUNT; in addSysMemUsage()
334 for (int i=0; i<STATE_COUNT; i++) { in computeTotalMemoryUse()
353 int stateBucket = memBucket * STATE_COUNT; in computeTotalMemoryUse()
710 out.writeInt(STATE_COUNT); in writeToParcel()
902 if (!readCheckedInt(in, STATE_COUNT, "state count")) { in readFromParcel()
1461 for (int i=0; i<STATE_COUNT; i++) { in dumpTotalsLocked()
1682 for (int i=0; i<STATE_COUNT; i++) { in dumpCheckinLocked()
1790 public long[] processStatePss = new long[STATE_COUNT];
1791 public double[] processStateWeight = new double[STATE_COUNT];
[all …]
DDumpUtils.java175 state = printArrayEntry(pw, ADJ_SCREEN_TAGS, state, ADJ_SCREEN_MOD*STATE_COUNT); in printProcStateTag()
176 state = printArrayEntry(pw, ADJ_MEM_TAGS, state, STATE_COUNT); in printProcStateTag()