Home
last modified time | relevance | path

Searched refs:setAdj (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java319 public static String makeOomAdjString(int setAdj) { in makeOomAdjString() argument
320 if (setAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in makeOomAdjString()
321 return buildOomTag("cch", " ", setAdj, ProcessList.CACHED_APP_MIN_ADJ); in makeOomAdjString()
322 } else if (setAdj >= ProcessList.SERVICE_B_ADJ) { in makeOomAdjString()
323 return buildOomTag("svcb ", null, setAdj, ProcessList.SERVICE_B_ADJ); in makeOomAdjString()
324 } else if (setAdj >= ProcessList.PREVIOUS_APP_ADJ) { in makeOomAdjString()
325 return buildOomTag("prev ", null, setAdj, ProcessList.PREVIOUS_APP_ADJ); in makeOomAdjString()
326 } else if (setAdj >= ProcessList.HOME_APP_ADJ) { in makeOomAdjString()
327 return buildOomTag("home ", null, setAdj, ProcessList.HOME_APP_ADJ); in makeOomAdjString()
328 } else if (setAdj >= ProcessList.SERVICE_ADJ) { in makeOomAdjString()
[all …]
DProcessRecord.java97 int setAdj; // Last set OOM adjustment for this process field in ProcessRecord
326 pw.print(" set="); pw.println(setAdj); in dump()
504 curAdj = setAdj = verifiedAdj = ProcessList.INVALID_ADJ; in ProcessRecord()
669 "Killing " + toShortString() + " (adj " + setAdj + "): " + reason, in kill()
673 EventLog.writeEvent(EventLogTags.AM_KILL, userId, pid, processName, setAdj, reason); in kill()
800 if (setAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in getSetAdjWithServices()
805 return setAdj; in getSetAdjWithServices()
DActivityManagerService.java6006 memInfos.add(new ProcessMemInfo(rec.processName, rec.pid, rec.setAdj, in doLowMemReportIfNeededLocked()
6013 if (rec.setAdj <= ProcessList.HEAVY_WEIGHT_APP_ADJ) { in doLowMemReportIfNeededLocked()
6070 + ProcessList.makeOomAdjString(app.setAdj) in appDiedLocked()
6080 app.setAdj, app.setProcState); in appDiedLocked()
6734 } else if (app.setAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in killAllBackgroundProcesses()
6969 oomAdj = proc != null ? proc.setAdj : 0; in getProcessMemoryInfo()
6978 if (proc.thread != null && proc.setAdj == oomAdj) { in getProcessMemoryInfo()
7001 oomAdj = proc != null ? proc.setAdj : 0; in getProcessPss()
7010 if (proc.thread != null && proc.setAdj == oomAdj) { in getProcessPss()
7098 if (app.setAdj < minOomAdj) { in killPackageProcessesLocked()
[all …]