Home
last modified time | relevance | path

Searched refs:procState (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java352 String procState; in makeProcStateString() local
355 procState = "N "; in makeProcStateString()
358 procState = "P "; in makeProcStateString()
361 procState = "PU"; in makeProcStateString()
364 procState = "T "; in makeProcStateString()
367 procState = "IF"; in makeProcStateString()
370 procState = "IB"; in makeProcStateString()
373 procState = "BU"; in makeProcStateString()
376 procState = "HW"; in makeProcStateString()
379 procState = "S "; in makeProcStateString()
[all …]
DProcessMemInfo.java23 final int procState; field in ProcessMemInfo
34 procState = _procState; in ProcessMemInfo()
DActivityManagerService.java1864 int procState;
1875 procState = proc.pssProcState;
1877 if (proc.thread != null && procState == proc.setProcState
1889 if (pss != 0 && proc.thread != null && proc.setProcState == procState
1892 recordPssSample(proc, procState, pss, tmp[0],
12210 static int procStateToImportance(int procState, int memAdj,
12212 int imp = ActivityManager.RunningAppProcessInfo.procStateToImportance(procState);
12236 int procState = app.curProcState;
12237 outInfo.importance = procStateToImportance(procState, adj, outInfo);
13703 String procState = ProcessList.makeProcStateString(r.curProcState); in dumpProcessOomList() local
[all …]
/frameworks/base/core/java/android/app/
DIProcessObserver.aidl23 void onProcessStateChanged(int pid, int uid, int procState); in onProcessStateChanged() argument
DAppImportanceMonitor.java54 public void onProcessStateChanged(int pid, int uid, int procState) {
57 ActivityManager.RunningAppProcessInfo.procStateToImportance(procState),
DIApplicationThread.java58 void scheduleResumeActivity(IBinder token, int procState, boolean isForward, Bundle resumeArgs) in scheduleResumeActivity() argument
63 String referrer, IVoiceInteractor voiceInteractor, int procState, Bundle state, in scheduleLaunchActivity() argument
DApplicationThreadNative.java119 int procState = data.readInt(); in onTransact() local
122 scheduleResumeActivity(b, procState, isForward, resumeArgs); in onTransact()
147 int procState = data.readInt(); in onTransact() local
157 voiceInteractor, procState, state, persistentState, ri, pi, in onTransact()
743 public final void scheduleResumeActivity(IBinder token, int procState, boolean isForward, in scheduleResumeActivity() argument
749 data.writeInt(procState); in scheduleResumeActivity()
770 String referrer, IVoiceInteractor voiceInteractor, int procState, Bundle state, in scheduleLaunchActivity() argument
784 data.writeInt(procState); in scheduleLaunchActivity()
DActivityManager.java2034 public static int procStateToImportance(int procState) { in procStateToImportance() argument
2035 if (procState >= ActivityManager.PROCESS_STATE_HOME) { in procStateToImportance()
2037 } else if (procState >= ActivityManager.PROCESS_STATE_SERVICE) { in procStateToImportance()
2039 } else if (procState > ActivityManager.PROCESS_STATE_HEAVY_WEIGHT) { in procStateToImportance()
2041 } else if (procState >= ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND) { in procStateToImportance()
2043 } else if (procState >= ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND) { in procStateToImportance()
DActivityThread.java623 String referrer, IVoiceInteractor voiceInteractor, int procState, Bundle state, in scheduleLaunchActivity() argument
628 updateProcessState(procState, false); in scheduleLaunchActivity()
/frameworks/base/core/java/com/android/internal/app/
DProcessStats.java742 int procState = type % STATE_COUNT; in computeTotalMemoryUse() local
747 if (procState <= STATE_IMPORTANT_FOREGROUND) { in computeTotalMemoryUse()
749 } else if (procState <= STATE_RECEIVER) { in computeTotalMemoryUse()
790 final int procState = type % STATE_COUNT; in computeTotalMemoryUse() local
791 data.processStateTime[procState] += time; in computeTotalMemoryUse()
796 } else if (procState <= STATE_IMPORTANT_FOREGROUND) { in computeTotalMemoryUse()
799 } else if (procState <= STATE_RECEIVER) { in computeTotalMemoryUse()
806 double newAvg = ( (data.processStatePss[procState] in computeTotalMemoryUse()
807 * (double)data.processStateSamples[procState]) in computeTotalMemoryUse()
809 ) / (data.processStateSamples[procState]+samples); in computeTotalMemoryUse()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java6161 int procState; in updateProcessStateLocked() local
6163 procState = PROCESS_STATE_FOREGROUND; in updateProcessStateLocked()
6165 procState = PROCESS_STATE_ACTIVE; in updateProcessStateLocked()
6167 procState = PROCESS_STATE_RUNNING; in updateProcessStateLocked()
6169 updateRealProcessStateLocked(procName, procState, elapsedRealtimeMs); in updateProcessStateLocked()
6172 public void updateRealProcessStateLocked(String procName, int procState, in updateRealProcessStateLocked() argument
6175 if (proc.mProcessState != procState) { in updateRealProcessStateLocked()
6177 if (procState < proc.mProcessState) { in updateRealProcessStateLocked()
6181 changed = mProcessState > procState; in updateRealProcessStateLocked()
6188 proc.mProcessState = procState; in updateRealProcessStateLocked()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java453 public void onProcessStateChanged(int pid, int uid, int procState) {
464 pidState.put(pid, procState);