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/
DDumpUtils.java57 STATE_NAMES = new String[STATE_COUNT];
73 STATE_NAMES_CSV = new String[STATE_COUNT];
89 STATE_TAGS = new String[STATE_COUNT];
105 STATE_PROTO_ENUMS = new int[STATE_COUNT];
245 state = printArrayEntry(pw, ADJ_SCREEN_TAGS, state, ADJ_SCREEN_MOD*STATE_COUNT); in printProcStateTag()
246 state = printArrayEntry(pw, ADJ_MEM_TAGS, state, STATE_COUNT); in printProcStateTag()
253 state, ADJ_SCREEN_MOD * STATE_COUNT); in printProcStateTagProto()
254 state = printProto(proto, memId, ADJ_MEM_PROTO_ENUMS, state, STATE_COUNT); in printProcStateTagProto()
DProcessState.java61 import static com.android.internal.app.procstats.ProcessStats.STATE_COUNT;
352 ? (STATE_SERVICE_RESTARTING+(memFactor*STATE_COUNT)) : STATE_NOTHING; in setState()
354 state = PROCESS_STATE_TO_STATE[state] + (memFactor*STATE_COUNT); in setState()
434 setState(STATE_SERVICE_RESTARTING + (memFactor*STATE_COUNT), now); in incStartedServices()
449 if (mNumStartedServices == 0 && (mCurState%STATE_COUNT) == STATE_SERVICE_RESTARTING) { in decStartedServices()
682 int procState = type % STATE_COUNT; in aggregatePss()
730 final int procState = type % STATE_COUNT; in aggregatePss()
762 int bucket = ((screenStates[is] + memStates[im]) * STATE_COUNT) in computeProcessTimeLocked()
824 final int bucket = ((iscreen + imem) * STATE_COUNT) + procStates[ip]; in dumpProcessState()
873 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.java83 public static final int STATE_COUNT = STATE_CACHED_EMPTY+1; field in ProcessStats
341 int state = mMemFactor * STATE_COUNT; in addSysMemUsage()
367 for (int i=0; i<STATE_COUNT; i++) { in computeTotalMemoryUse()
386 int stateBucket = memBucket * STATE_COUNT; in computeTotalMemoryUse()
754 out.writeInt(STATE_COUNT); in writeToParcel()
957 if (!readCheckedInt(in, STATE_COUNT, "state count")) { in readFromParcel()
1526 for (int i=0; i<STATE_COUNT; i++) { in dumpTotalsLocked()
1781 for (int i=0; i<STATE_COUNT; i++) { in dumpCheckinLocked()
1939 public long[] processStatePss = new long[STATE_COUNT];
1940 public double[] processStateWeight = new double[STATE_COUNT];
[all …]