Searched refs:STATE_COUNT (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/procstats/ |
D | DumpUtils.java | 44 STATE_NAMES = new String[STATE_COUNT]; 60 STATE_LABELS = new String[STATE_COUNT]; 78 STATE_NAMES_CSV = new String[STATE_COUNT]; 94 STATE_TAGS = new String[STATE_COUNT]; 110 STATE_PROTO_ENUMS = new int[STATE_COUNT]; 254 state = printArrayEntry(pw, ADJ_SCREEN_TAGS, state, ADJ_SCREEN_MOD*STATE_COUNT); in printProcStateTag() 255 state = printArrayEntry(pw, ADJ_MEM_TAGS, state, STATE_COUNT); in printProcStateTag() 262 state, ADJ_SCREEN_MOD * STATE_COUNT); in printProcStateTagProto() 263 state = printProto(proto, memId, ADJ_MEM_PROTO_ENUMS, state, STATE_COUNT); in printProcStateTagProto() 275 state, ADJ_SCREEN_MOD * STATE_COUNT); in printProcStateAdjTagProto() [all …]
|
D | ProcessState.java | 50 import static com.android.internal.app.procstats.ProcessStats.STATE_COUNT; 378 ? (STATE_SERVICE_RESTARTING+(memFactor*STATE_COUNT)) : STATE_NOTHING; in setState() 380 state = PROCESS_STATE_TO_STATE[state] + (memFactor*STATE_COUNT); in setState() 479 setCombinedState(STATE_SERVICE_RESTARTING + (memFactor*STATE_COUNT), now); in incStartedServices() 494 … if (mNumStartedServices == 0 && (mCurCombinedState %STATE_COUNT) == STATE_SERVICE_RESTARTING) { in decStartedServices() 737 int procState = type % STATE_COUNT; in aggregatePss() 785 final int procState = type % STATE_COUNT; in aggregatePss() 817 int bucket = ((screenStates[is] + memStates[im]) * STATE_COUNT) in computeProcessTimeLocked() 883 final int bucket = ((iscreen + imem) * STATE_COUNT) + procStates[ip]; in dumpProcessState() 934 final int bucket = ((iscreen + imem) * STATE_COUNT) + procStates[ip]; in dumpPss() [all …]
|
D | SysMemUsageTable.java | 21 import static com.android.internal.app.procstats.ProcessStats.STATE_COUNT; 149 final int bucket = ((iscreen + imem) * STATE_COUNT); in dump()
|
D | ProcessStats.java | 86 public static final int STATE_COUNT = STATE_CACHED_EMPTY+1; field in ProcessStats 375 int state = mMemFactor * STATE_COUNT; in addSysMemUsage() 401 for (int i=0; i<STATE_COUNT; i++) { in computeTotalMemoryUse() 420 int stateBucket = memBucket * STATE_COUNT; in computeTotalMemoryUse() 800 out.writeInt(STATE_COUNT); in writeToParcel() 1016 if (!readCheckedInt(in, STATE_COUNT, "state count")) { in readFromParcel() 1428 final int procState = proc.getCombinedState() % STATE_COUNT; in updateTrackingAssociationsLocked() 1817 for (int i=0; i<STATE_COUNT; i++) { in dumpTotalsLocked() 2093 for (int i=0; i<STATE_COUNT; i++) { in dumpCheckinLocked() 2343 public long[] processStatePss = new long[STATE_COUNT]; [all …]
|
D | AssociationState.java | 585 for (int iprocstate = 0; iprocstate < ProcessStats.STATE_COUNT; iprocstate++) { in dumpTime()
|