Home
last modified time | relevance | path

Searched refs:STATE_NOTHING (Results 1 – 10 of 10) 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 …]
DUidState.java20 import static com.android.internal.app.procstats.ProcessStats.STATE_NOTHING;
41 private int mCurCombinedState = STATE_NOTHING;
88 int minCombined = STATE_NOTHING; in calcCombinedState()
89 int min = STATE_NOTHING; in calcCombinedState()
93 if (combinedState != STATE_NOTHING) { in calcCombinedState()
94 if (min == STATE_NOTHING || state < min) { in calcCombinedState()
112 if (state == STATE_NOTHING) { in setCombinedStateInner()
115 } else if (mCurCombinedState == STATE_NOTHING) { in setCombinedStateInner()
136 if (mCurCombinedState != STATE_NOTHING) { in commitStateTime()
287 ? iscreen : STATE_NOTHING); in dumpState()
[all …]
DProcessState.java42 import static com.android.internal.app.procstats.ProcessStats.STATE_NOTHING;
144 private int mCurCombinedState = STATE_NOTHING;
146 private int mStateBeforeFrozen = STATE_NOTHING;
148 private int mLastPssState = STATE_NOTHING;
206 if (mCurCombinedState != STATE_NOTHING) { in ProcessState()
302 mLastPssState = STATE_NOTHING; in resetSafely()
413 || mCurCombinedState != STATE_NOTHING; in isInUse()
422 && mCurCombinedState == STATE_NOTHING in hasAnyData()
460 ? (STATE_SERVICE_RESTARTING + (memFactor * STATE_COUNT)) : STATE_NOTHING; in setState()
495 if (state == STATE_NOTHING) { in setCombinedStateIdv()
[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.java70 int mProcState = ProcessStats.STATE_NOTHING;
79 int mActiveProcState = ProcessStats.STATE_NOTHING;
207 if (mActiveProcState != ProcessStats.STATE_NOTHING) { in startActive()
295 mProcState = ProcessStats.STATE_NOTHING; in stopTrackingProcState()
364 mProcState = ProcessStats.STATE_NOTHING; in stopTracking()
403 mActiveProcState = ProcessStats.STATE_NOTHING; in add()
418 mActiveProcState = ProcessStats.STATE_NOTHING; in add()
469 if (mProcState != ProcessStats.STATE_NOTHING) { in toString()
982 if (src.mProcState != ProcessStats.STATE_NOTHING) { in dumpSources()
997 if (src.mProcState != ProcessStats.STATE_NOTHING) { in dumpSources()
DDumpUtils.java41 import static com.android.internal.app.procstats.ProcessStats.STATE_NOTHING;
396 ? iscreen : STATE_NOTHING); in dumpSingleTime()
398 printMemLabel(pw, printedMem != imem ? imem : STATE_NOTHING, (char)0); in dumpSingleTime()
DProcessStats.java81 public static final int STATE_NOTHING = -1; field in ProcessStats
214 public int mMemFactor = STATE_NOTHING;
428 if (mMemFactor != STATE_NOTHING) { in addSysMemUsage()
522 mMemFactor = STATE_NOTHING; in reset()
935 if (mMemFactor != STATE_NOTHING) { in writeToParcel()
1936 if (src.mProcState != ProcessStats.STATE_NOTHING) { in dumpLocked()
/frameworks/base/services/core/java/com/android/server/am/
DProcessProfileRecord.java277 origBase.setState(ProcessStats.STATE_NOTHING, in onProcessActive()
317 origBase.setState(ProcessStats.STATE_NOTHING, in onProcessInactive()
DProcessStatsService.java194 if (mProcessStats.mMemFactor != ProcessStats.STATE_NOTHING) { in setMemFactorLocked()
224 … return mProcessStats.mMemFactor != ProcessStats.STATE_NOTHING ? mProcessStats.mMemFactor : 0; in getMemFactorLocked()
DProcessRecord.java1460 baseProcessTracker.setState(ProcessStats.STATE_NOTHING, in resetPackageList()