Home
last modified time | relevance | path

Searched refs:STATE_NOTHING (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/procstats/
DServiceState.java29 import static com.android.internal.app.procstats.ProcessStats.STATE_NOTHING;
53 private int mRunState = STATE_NOTHING;
59 private int mStartedState = STATE_NOTHING;
63 private int mBoundState = STATE_NOTHING;
67 private int mExecState = STATE_NOTHING;
71 private int mForegroundState = STATE_NOTHING;
107 if (mStartedState != ProcessStats.STATE_NOTHING) { in setMemFactor()
110 if (mBoundState != ProcessStats.STATE_NOTHING) { in setMemFactor()
113 if (mExecState != ProcessStats.STATE_NOTHING) { in setMemFactor()
116 if (mForegroundState != ProcessStats.STATE_NOTHING) { in setMemFactor()
[all …]
DProcessState.java56 import static com.android.internal.app.procstats.ProcessStats.STATE_NOTHING;
137 private int mCurCombinedState = STATE_NOTHING;
140 private int mLastPssState = STATE_NOTHING;
193 if (mCurCombinedState != STATE_NOTHING) { in ProcessState()
274 mLastPssState = STATE_NOTHING; in resetSafely()
352 || mCurCombinedState != STATE_NOTHING; in isInUse()
361 && mCurCombinedState == STATE_NOTHING in hasAnyData()
378 ? (STATE_SERVICE_RESTARTING+(memFactor*STATE_COUNT)) : STATE_NOTHING; in setState()
403 if (state == STATE_NOTHING) { in setCombinedState()
407 } else if (mCurCombinedState == STATE_NOTHING) { in setCombinedState()
[all …]
DAssociationState.java47 int mProcState = ProcessStats.STATE_NOTHING;
55 int mActiveProcState = ProcessStats.STATE_NOTHING;
113 if (mActiveProcState != ProcessStats.STATE_NOTHING) { in startActive()
156 mProcState = ProcessStats.STATE_NOTHING; in stopTracking()
175 if (mProcState != ProcessStats.STATE_NOTHING) { in toString()
331 mySrc.mActiveProcState = ProcessStats.STATE_NOTHING; in add()
346 mySrc.mActiveProcState = ProcessStats.STATE_NOTHING; in add()
517 if (src.mProcState != ProcessStats.STATE_NOTHING) { in dumpStats()
549 if (src.mProcState != ProcessStats.STATE_NOTHING) { in dumpStats()
DSysMemUsageTable.java22 import static com.android.internal.app.procstats.ProcessStats.STATE_NOTHING;
155 ? iscreen : STATE_NOTHING); in dump()
160 printedMem != imem ? imem : STATE_NOTHING, '\0'); in dump()
DDumpUtils.java322 ? iscreen : STATE_NOTHING); in dumpSingleTime()
324 printMemLabel(pw, printedMem != imem ? imem : STATE_NOTHING, (char)0); in dumpSingleTime()
DProcessStats.java71 public static final int STATE_NOTHING = -1; field in ProcessStats
196 public int mMemFactor = STATE_NOTHING;
374 if (mMemFactor != STATE_NOTHING) { in addSysMemUsage()
467 mMemFactor = STATE_NOTHING; in reset()
869 if (mMemFactor != STATE_NOTHING) { in writeToParcel()
1423 act.mProcState = ProcessStats.STATE_NOTHING; in updateTrackingAssociationsLocked()
1717 if (src.mProcState != ProcessStats.STATE_NOTHING) { in dumpLocked()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java609 origBase.setState(ProcessStats.STATE_NOTHING, in makeActive()
614 ActivityManager.processStateAmToProto(ProcessStats.STATE_NOTHING), in makeActive()
644 origBase.setState(ProcessStats.STATE_NOTHING, in makeInactive()
649 ActivityManager.processStateAmToProto(ProcessStats.STATE_NOTHING), in makeInactive()
934 baseProcessTracker.setState(ProcessStats.STATE_NOTHING, in resetPackageList()
939 ActivityManager.processStateAmToProto(ProcessStats.STATE_NOTHING), in resetPackageList()
DProcessStatsService.java159 if (mProcessStats.mMemFactor != ProcessStats.STATE_NOTHING) { in setMemFactorLocked()
189 … return mProcessStats.mMemFactor != ProcessStats.STATE_NOTHING ? mProcessStats.mMemFactor : 0; in getMemFactorLocked()