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.java837 public static String makeOomAdjString(int setAdj, boolean compact) { in makeOomAdjString() argument
838 if (setAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in makeOomAdjString()
839 return buildOomTag("cch", "cch", " ", setAdj, in makeOomAdjString()
841 } else if (setAdj >= ProcessList.SERVICE_B_ADJ) { in makeOomAdjString()
842 return buildOomTag("svcb ", "svcb", null, setAdj, in makeOomAdjString()
844 } else if (setAdj >= ProcessList.PREVIOUS_APP_ADJ) { in makeOomAdjString()
845 return buildOomTag("prev ", "prev", null, setAdj, in makeOomAdjString()
847 } else if (setAdj >= ProcessList.HOME_APP_ADJ) { in makeOomAdjString()
848 return buildOomTag("home ", "home", null, setAdj, in makeOomAdjString()
850 } 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.java152 int setAdj; // Last set OOM adjustment for this process field in ProcessRecord
403 pw.print(" set="); pw.println(setAdj); in dump()
588 curAdj = setAdj = verifiedAdj = ProcessList.INVALID_ADJ; in ProcessRecord()
767 "Killing " + toShortString() + " (adj " + setAdj + "): " + reason, in kill()
771 EventLog.writeEvent(EventLogTags.AM_KILL, userId, pid, processName, setAdj, reason); in kill()
905 if (setAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in getSetAdjWithServices()
910 return setAdj; in getSetAdjWithServices()
DOomAdjuster.java1692 if (app.curAdj != app.setAdj) { in applyOomAdjLocked()
1696 if (app.setAdj <= ProcessList.PERCEPTIBLE_APP_ADJ && in applyOomAdjLocked()
1700 } else if ((app.setAdj < ProcessList.CACHED_APP_MIN_ADJ in applyOomAdjLocked()
1701 || app.setAdj > ProcessList.CACHED_APP_MAX_ADJ) in applyOomAdjLocked()
1707 && app.setAdj < ProcessList.FOREGROUND_APP_ADJ in applyOomAdjLocked()
1722 if (app.curAdj != app.setAdj) { in applyOomAdjLocked()
1729 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.java3700 memInfos.add(new ProcessMemInfo(rec.processName, rec.pid, rec.setAdj, in doLowMemReportIfNeededLocked()
3707 if (rec.setAdj <= ProcessList.HEAVY_WEIGHT_APP_ADJ) { in doLowMemReportIfNeededLocked()
3764 + ProcessList.makeOomAdjString(app.setAdj, true) + " " in appDiedLocked()
3774 app.setAdj, app.setProcState); in appDiedLocked()
4394 oomAdj = proc != null ? proc.setAdj : 0; in getProcessMemoryInfo()
4424 if (proc.thread != null && proc.setAdj == oomAdj) { in getProcessMemoryInfo()
4470 oomAdj = proc != null ? proc.setAdj : 0; in getProcessPss()
4484 if (proc.thread != null && proc.setAdj == oomAdj) { in getProcessPss()
4884 app.curAdj = app.setAdj = app.verifiedAdj = ProcessList.INVALID_ADJ; in attachApplicationLocked()
6871 if (cpr.proc != null && r.setAdj <= ProcessList.PERCEPTIBLE_LOW_APP_ADJ) { in getContentProviderImpl()
[all …]
/frameworks/base/cmds/statsd/src/
Datoms.proto5844 // The "setAdj" (i.e. previous) oom_score_adj at the time of compaction.