Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java707 public static String makeOomAdjString(int setAdj, boolean compact) { in makeOomAdjString() argument
708 if (setAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in makeOomAdjString()
709 return buildOomTag("cch", "cch", " ", setAdj, in makeOomAdjString()
711 } else if (setAdj >= ProcessList.SERVICE_B_ADJ) { in makeOomAdjString()
712 return buildOomTag("svcb ", "svcb", null, setAdj, in makeOomAdjString()
714 } else if (setAdj >= ProcessList.PREVIOUS_APP_ADJ) { in makeOomAdjString()
715 return buildOomTag("prev ", "prev", null, setAdj, in makeOomAdjString()
717 } else if (setAdj >= ProcessList.HOME_APP_ADJ) { in makeOomAdjString()
718 return buildOomTag("home ", "home", null, setAdj, in makeOomAdjString()
720 } else if (setAdj >= ProcessList.SERVICE_ADJ) { in makeOomAdjString()
[all …]
DAppCompactor.java304 COMPACT_PROCESS_MSG, app.setAdj, app.setProcState)); in compactAppSome()
313 COMPACT_PROCESS_MSG, app.setAdj, app.setProcState)); in compactAppFull()
552 && (proc.setAdj <= ProcessList.PERCEPTIBLE_APP_ADJ)) { in handleMessage()
DProcessRecord.java151 int setAdj; // Last set OOM adjustment for this process field in ProcessRecord
400 pw.print(" set="); pw.println(setAdj); in dump()
585 curAdj = setAdj = verifiedAdj = ProcessList.INVALID_ADJ; in ProcessRecord()
764 "Killing " + toShortString() + " (adj " + setAdj + "): " + reason, in kill()
768 EventLog.writeEvent(EventLogTags.AM_KILL, userId, pid, processName, setAdj, reason); in kill()
902 if (setAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in getSetAdjWithServices()
907 return setAdj; in getSetAdjWithServices()
DOomAdjuster.java1688 if (app.curAdj != app.setAdj) { in applyOomAdjLocked()
1692 if (app.setAdj <= ProcessList.PERCEPTIBLE_APP_ADJ && in applyOomAdjLocked()
1696 } else if ((app.setAdj < ProcessList.CACHED_APP_MIN_ADJ in applyOomAdjLocked()
1697 || app.setAdj > ProcessList.CACHED_APP_MAX_ADJ) in applyOomAdjLocked()
1703 && app.setAdj < ProcessList.FOREGROUND_APP_ADJ in applyOomAdjLocked()
1718 if (app.curAdj != app.setAdj) { in applyOomAdjLocked()
1725 app.setAdj = app.curAdj; in applyOomAdjLocked()
DEventLogTags.logtags141 …DeltaRssSwap|2|2),(Time|2|3),(LastAction|1|2),(LastActionTimestamp|2|3),(setAdj|1|2),(procState|1|…
DActivityManagerService.java3671 memInfos.add(new ProcessMemInfo(rec.processName, rec.pid, rec.setAdj, in doLowMemReportIfNeededLocked()
3678 if (rec.setAdj <= ProcessList.HEAVY_WEIGHT_APP_ADJ) { in doLowMemReportIfNeededLocked()
3735 + ProcessList.makeOomAdjString(app.setAdj, true) + " " in appDiedLocked()
3745 app.setAdj, app.setProcState); in appDiedLocked()
4365 oomAdj = proc != null ? proc.setAdj : 0; in getProcessMemoryInfo()
4395 if (proc.thread != null && proc.setAdj == oomAdj) { in getProcessMemoryInfo()
4441 oomAdj = proc != null ? proc.setAdj : 0; in getProcessPss()
4455 if (proc.thread != null && proc.setAdj == oomAdj) { in getProcessPss()
4854 app.curAdj = app.setAdj = app.verifiedAdj = ProcessList.INVALID_ADJ; in attachApplicationLocked()
6834 if (cpr.proc != null && r.setAdj <= ProcessList.PERCEPTIBLE_LOW_APP_ADJ) { in getContentProviderImpl()
[all …]
/frameworks/base/cmds/statsd/src/
Datoms.proto5265 // The "setAdj" (i.e. previous) oom_score_adj at the time of compaction.