Searched refs:setAdj (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessList.java | 322 public static String makeOomAdjString(int setAdj) { in makeOomAdjString() argument 323 if (setAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in makeOomAdjString() 324 return buildOomTag("cch", " ", setAdj, ProcessList.CACHED_APP_MIN_ADJ); in makeOomAdjString() 325 } else if (setAdj >= ProcessList.SERVICE_B_ADJ) { in makeOomAdjString() 326 return buildOomTag("svcb ", null, setAdj, ProcessList.SERVICE_B_ADJ); in makeOomAdjString() 327 } else if (setAdj >= ProcessList.PREVIOUS_APP_ADJ) { in makeOomAdjString() 328 return buildOomTag("prev ", null, setAdj, ProcessList.PREVIOUS_APP_ADJ); in makeOomAdjString() 329 } else if (setAdj >= ProcessList.HOME_APP_ADJ) { in makeOomAdjString() 330 return buildOomTag("home ", null, setAdj, ProcessList.HOME_APP_ADJ); in makeOomAdjString() 331 } else if (setAdj >= ProcessList.SERVICE_ADJ) { in makeOomAdjString() [all …]
|
D | ProcessRecord.java | 90 int setAdj; // Last set OOM adjustment for this process field in ProcessRecord 274 pw.print(" set="); pw.println(setAdj); in dump() 417 curAdj = setAdj = -100; in ProcessRecord() 542 Slog.i(TAG, "Killing " + toShortString() + " (adj " + setAdj + "): " + reason); in kill() 544 EventLog.writeEvent(EventLogTags.AM_KILL, userId, pid, processName, setAdj, reason); in kill() 651 if (setAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in getSetAdjWithServices() 656 return setAdj; in getSetAdjWithServices()
|
D | ActivityManagerService.java | 4608 memInfos.add(new ProcessMemInfo(rec.processName, rec.pid, rec.setAdj, in doLowMemReportIfNeededLocked() 4615 if (rec.setAdj <= ProcessList.HEAVY_WEIGHT_APP_ADJ) { in doLowMemReportIfNeededLocked() 5217 } else if (app.setAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in killAllBackgroundProcesses() 5391 oomAdj = proc != null ? proc.setAdj : 0; in getProcessMemoryInfo() 5398 if (proc.thread != null && proc.setAdj == oomAdj) { in getProcessMemoryInfo() 5419 oomAdj = proc != null ? proc.setAdj : 0; in getProcessPss() 5426 if (proc.thread != null && proc.setAdj == oomAdj) { in getProcessPss() 5517 if (app.setAdj < minOomAdj) { in killPackageProcessesLocked() 6019 app.curAdj = app.setAdj = -100; in attachApplicationLocked() 9482 if (cpr.proc != null && r.setAdj <= ProcessList.PERCEPTIBLE_APP_ADJ) { in getContentProviderImpl() [all …]
|