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.java40 import static com.android.internal.app.procstats.ProcessStats.STATE_NOTHING;
139 private int mCurCombinedState = STATE_NOTHING;
142 private int mLastPssState = STATE_NOTHING;
195 if (mCurCombinedState != STATE_NOTHING) { in ProcessState()
276 mLastPssState = STATE_NOTHING; in resetSafely()
354 || mCurCombinedState != STATE_NOTHING; in isInUse()
363 && mCurCombinedState == STATE_NOTHING in hasAnyData()
380 ? (STATE_SERVICE_RESTARTING+(memFactor*STATE_COUNT)) : STATE_NOTHING; in setState()
405 if (state == STATE_NOTHING) { in setCombinedState()
409 } else if (mCurCombinedState == STATE_NOTHING) { in setCombinedState()
[all …]
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()
DAssociationState.java60 int mProcState = ProcessStats.STATE_NOTHING;
68 int mActiveProcState = ProcessStats.STATE_NOTHING;
131 if (mActiveProcState != ProcessStats.STATE_NOTHING) { in startActive()
197 mProcState = ProcessStats.STATE_NOTHING; in stopTracking()
216 if (mProcState != ProcessStats.STATE_NOTHING) { in toString()
438 mySrc.mActiveProcState = ProcessStats.STATE_NOTHING; in add()
454 mySrc.mActiveProcState = ProcessStats.STATE_NOTHING; in add()
803 if (src.mProcState != ProcessStats.STATE_NOTHING) { in dumpStats()
818 if (src.mProcState != ProcessStats.STATE_NOTHING) { in dumpStats()
DDumpUtils.java39 import static com.android.internal.app.procstats.ProcessStats.STATE_NOTHING;
381 ? iscreen : STATE_NOTHING); in dumpSingleTime()
383 printMemLabel(pw, printedMem != imem ? imem : STATE_NOTHING, (char)0); in dumpSingleTime()
DProcessStats.java79 public static final int STATE_NOTHING = -1; field in ProcessStats
204 public int mMemFactor = STATE_NOTHING;
396 if (mMemFactor != STATE_NOTHING) { in addSysMemUsage()
489 mMemFactor = STATE_NOTHING; in reset()
893 if (mMemFactor != STATE_NOTHING) { in writeToParcel()
1448 act.mProcState = ProcessStats.STATE_NOTHING; in updateTrackingAssociationsLocked()
1814 if (src.mProcState != ProcessStats.STATE_NOTHING) { in dumpLocked()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java685 origBase.setState(ProcessStats.STATE_NOTHING, in makeActive()
690 ActivityManager.processStateAmToProto(ProcessStats.STATE_NOTHING), in makeActive()
720 origBase.setState(ProcessStats.STATE_NOTHING, in makeInactive()
725 ActivityManager.processStateAmToProto(ProcessStats.STATE_NOTHING), in makeInactive()
1082 baseProcessTracker.setState(ProcessStats.STATE_NOTHING, in resetPackageList()
1087 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()