Home
last modified time | relevance | path

Searched refs:ProcessList (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java163 private final ProcessList mProcessList;
165 OomAdjuster(ActivityManagerService service, ProcessList processList, ActiveUids activeUids) { in OomAdjuster()
224 final int cachedAdj = app.getCurRawAdj() >= ProcessList.CACHED_APP_MIN_ADJ in updateOomAdjLocked()
225 ? app.getCurRawAdj() : ProcessList.UNKNOWN_ADJ; in updateOomAdjLocked()
229 && (wasCached != app.cached || app.getCurRawAdj() == ProcessList.UNKNOWN_ADJ)) { in updateOomAdjLocked()
256 final long oldTime = now - ProcessList.MAX_EMPTY_TIME; in updateOomAdjLocked()
283 final int numSlots = (ProcessList.CACHED_APP_MAX_ADJ in updateOomAdjLocked()
284 - ProcessList.CACHED_APP_MIN_ADJ + 1) / 2 in updateOomAdjLocked()
285 / ProcessList.CACHED_APP_IMPORTANCE_LEVELS; in updateOomAdjLocked()
316 int curCachedAdj = ProcessList.CACHED_APP_MIN_ADJ; in updateOomAdjLocked()
[all …]
DProcessList.java127 public final class ProcessList { class
637 ProcessList() { in ProcessList() method in ProcessList
780 mCachedRestoreLevel = (getMemLevel(ProcessList.CACHED_APP_MAX_ADJ) / 1024) / 3; in updateOomLevels()
838 if (setAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in makeOomAdjString()
840 ProcessList.CACHED_APP_MIN_ADJ, compact); in makeOomAdjString()
841 } else if (setAdj >= ProcessList.SERVICE_B_ADJ) { in makeOomAdjString()
843 ProcessList.SERVICE_B_ADJ, compact); in makeOomAdjString()
844 } else if (setAdj >= ProcessList.PREVIOUS_APP_ADJ) { in makeOomAdjString()
846 ProcessList.PREVIOUS_APP_ADJ, compact); in makeOomAdjString()
847 } else if (setAdj >= ProcessList.HOME_APP_ADJ) { in makeOomAdjString()
[all …]
DProcessRecord.java124 final ProcessList.ProcStateMemTracker procStateMemTracker
125 = new ProcessList.ProcStateMemTracker();
586 maxAdj = ProcessList.UNKNOWN_ADJ; in ProcessRecord()
587 mCurRawAdj = setRawAdj = ProcessList.INVALID_ADJ; in ProcessRecord()
588 curAdj = setAdj = verifiedAdj = ProcessList.INVALID_ADJ; in ProcessRecord()
722 if (adj < ProcessList.FOREGROUND_APP_ADJ) { in modifyRawOomAdj()
724 } else if (adj < ProcessList.VISIBLE_APP_ADJ) { in modifyRawOomAdj()
725 adj = ProcessList.VISIBLE_APP_ADJ; in modifyRawOomAdj()
726 } else if (adj < ProcessList.PERCEPTIBLE_APP_ADJ) { in modifyRawOomAdj()
727 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in modifyRawOomAdj()
[all …]
DActivityManagerService.java672 final ProcessList mProcessList = new ProcessList();
1986 && (lastPssTime+ProcessList.PSS_SAFE_TIME_FROM_STATE_CHANGE)
1990 ProcessList.abortNextPssTime(proc.procStateMemTracker);
1993 (lastPssTime+ProcessList.PSS_SAFE_TIME_FROM_STATE_CHANGE-now) +
2007 ProcessList.commitNextPssTime(proc.procStateMemTracker);
2011 ProcessList.abortNextPssTime(proc.procStateMemTracker);
2079 app.maxAdj = ProcessList.SYSTEM_ADJ; in setSystemProcess()
3630 ProcessList.remove(pid); in handleAppDiedLocked()
3707 if (rec.setAdj <= ProcessList.HEAVY_WEIGHT_APP_ADJ) { in doLowMemReportIfNeededLocked()
3752 ProcessList.killProcessGroup(app.uid, pid); in appDiedLocked()
[all …]
DUidRecord.java157 proto.write(UidRecordProto.CURRENT, ProcessList.makeProcStateProtoEnum(mCurProcState)); in writeToProto()
187 sb.append(ProcessList.makeProcStateString(mCurProcState)); in toString()
DAppErrors.java587 ProcessList.killProcessGroup(uid, pid); in handleAppCrashInActivityController()
704 if (now > sr.restartTime + ProcessList.MIN_CRASH_INTERVAL) {
717 if (crashTime != null && now < crashTime + ProcessList.MIN_CRASH_INTERVAL) {
758 && now < crashTimePersistent + ProcessList.MIN_CRASH_INTERVAL) {
DAppCompactor.java552 && (proc.setAdj <= ProcessList.PERCEPTIBLE_APP_ADJ)) { in handleMessage()
DActiveServices.java437 callerFg = callerApp.setSchedGroup != ProcessList.SCHED_GROUP_BACKGROUND; in startServiceLocked()
1654 final boolean callerFg = callerApp.setSchedGroup != ProcessList.SCHED_GROUP_BACKGROUND; in bindServiceLocked()
2014 != ProcessList.SCHED_GROUP_BACKGROUND) { in unbindFinishedLocked()
DBroadcastQueue.java858 ? receiverRecord.callerApp.setSchedGroup != ProcessList.SCHED_GROUP_BACKGROUND in requestStartTargetPermissionsReviewIfNeededLocked()
DActivityManagerShellCommand.java1462 mPw.print(ProcessList.makeProcStateString(procState));
/frameworks/base/services/core/java/com/android/server/wm/
DVrController.java28 import com.android.server.am.ProcessList;
119 setVrRenderThreadLocked(0, ProcessList.SCHED_GROUP_TOP_APP, true);
158 if (curSchedGroup == ProcessList.SCHED_GROUP_TOP_APP) { in onTopProcChangedLocked()
388 if (!inVr || inPersistentVr || schedGroup != ProcessList.SCHED_GROUP_TOP_APP) { in setVrRenderThreadLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java74 import com.android.server.am.ProcessList.IsolatedUidRange;
75 import com.android.server.am.ProcessList.IsolatedUidRangeAllocator;
386 public void verifyIsolatedUid(ProcessList.IsolatedUidRange range, int uid) { in verifyIsolatedUid()
390 public void verifyIsolatedUidAllocator(ProcessList.IsolatedUidRange range) { in verifyIsolatedUidAllocator()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java35 import com.android.server.am.ProcessList;
499 return data.ifield1 + "-" + ProcessList.makeProcStateString(data.ifield2) in getContent()
/frameworks/base/services/
Dart-profile2510 …SPLcom/android/server/am/-$$Lambda$ProcessList$Clv-1gpwGcZ-lQ1Ghdh2VzSdPZ4;-><init>(Lcom/android/s…
2511 HSPLcom/android/server/am/-$$Lambda$ProcessList$Clv-1gpwGcZ-lQ1Ghdh2VzSdPZ4;->run()V
3382 …>(Lcom/android/server/am/ActivityManagerService;Lcom/android/server/am/ProcessList;Lcom/android/se…
3432 PLcom/android/server/am/ProcessList$IsolatedUidRange;->allocateIsolatedUidLocked(I)I
3433 HSPLcom/android/server/am/ProcessList$IsolatedUidRangeAllocator;-><init>(Lcom/android/server/am/Pro…
3434 HSPLcom/android/server/am/ProcessList$KillHandler;->handleMessage(Landroid/os/Message;)V
3435 HSPLcom/android/server/am/ProcessList$ProcStateMemTracker;-><init>()V
3436 PLcom/android/server/am/ProcessList$ProcStateMemTracker;->dumpLine(Ljava/io/PrintWriter;)V
3437 HSPLcom/android/server/am/ProcessList;-><init>()V
3438 HSPLcom/android/server/am/ProcessList;->abortNextPssTime(Lcom/android/server/am/ProcessList$ProcSta…
[all …]
/frameworks/base/core/proto/android/server/
Dactivitymanagerservice.proto893 // Activity manager's version of Process enum, see ProcessList.java