Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DProcessList.java43 final class ProcessList { class
191 ProcessList() { in ProcessList() method in ProcessList
269 mCachedRestoreLevel = (getMemLevel(ProcessList.CACHED_APP_MAX_ADJ)/1024) / 3; in updateOomLevels()
316 if (setAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in makeOomAdjString()
317 return buildOomTag("cch", " ", setAdj, ProcessList.CACHED_APP_MIN_ADJ); in makeOomAdjString()
318 } else if (setAdj >= ProcessList.SERVICE_B_ADJ) { in makeOomAdjString()
319 return buildOomTag("svcb ", null, setAdj, ProcessList.SERVICE_B_ADJ); in makeOomAdjString()
320 } else if (setAdj >= ProcessList.PREVIOUS_APP_ADJ) { in makeOomAdjString()
321 return buildOomTag("prev ", null, setAdj, ProcessList.PREVIOUS_APP_ADJ); in makeOomAdjString()
322 } else if (setAdj >= ProcessList.HOME_APP_ADJ) { in makeOomAdjString()
[all …]
DProcessRecord.java446 maxAdj = ProcessList.UNKNOWN_ADJ; in ProcessRecord()
447 curRawAdj = setRawAdj = ProcessList.INVALID_ADJ; in ProcessRecord()
448 curAdj = setAdj = verifiedAdj = ProcessList.INVALID_ADJ; in ProcessRecord()
563 if (adj < ProcessList.FOREGROUND_APP_ADJ) { in modifyRawOomAdj()
565 } else if (adj < ProcessList.VISIBLE_APP_ADJ) { in modifyRawOomAdj()
566 adj = ProcessList.VISIBLE_APP_ADJ; in modifyRawOomAdj()
567 } else if (adj < ProcessList.PERCEPTIBLE_APP_ADJ) { in modifyRawOomAdj()
568 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in modifyRawOomAdj()
569 } else if (adj < ProcessList.CACHED_APP_MIN_ADJ) { in modifyRawOomAdj()
570 adj = ProcessList.CACHED_APP_MIN_ADJ; in modifyRawOomAdj()
[all …]
DVrController.java101 setVrRenderThreadLocked(0, ProcessList.SCHED_GROUP_TOP_APP, true);
139 if (proc.curSchedGroup == ProcessList.SCHED_GROUP_TOP_APP) { in onTopProcChangedLocked()
363 if (!inVr || inPersistentVr || schedGroup != ProcessList.SCHED_GROUP_TOP_APP) { in setVrRenderThreadLocked()
DActivityManagerService.java776 final ProcessList mProcessList = new ProcessList();
2529 && (lastPssTime+ProcessList.PSS_SAFE_TIME_FROM_STATE_CHANGE)
2575 app.maxAdj = ProcessList.SYSTEM_ADJ; in setSystemProcess()
5246 ProcessList.remove(pid); in handleAppDiedLocked()
5364 if (rec.setAdj <= ProcessList.HEAVY_WEIGHT_APP_ADJ) { in doLowMemReportIfNeededLocked()
5418 + ProcessList.makeOomAdjString(app.setAdj) in appDiedLocked()
5419 + ProcessList.makeProcStateString(app.setProcState)); in appDiedLocked()
5868 ProcessList.SERVICE_ADJ, false, true, true, false, "kill background"); in killBackgroundProcesses()
5902 } else if (app.setAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in killAllBackgroundProcesses()
6090 if (proc.curRawAdj > ProcessList.PERCEPTIBLE_APP_ADJ) { in closeSystemDialogs()
[all …]
DUidRecord.java132 sb.append(ProcessList.makeProcStateString(curProcState)); in toString()
DAppErrors.java608 if (crashTime != null && now < crashTime+ProcessList.MIN_CRASH_INTERVAL) { in handleAppCrashLocked()
648 && now < crashTimePersistent + ProcessList.MIN_CRASH_INTERVAL) { in handleAppCrashLocked()
DActiveServices.java342 callerFg = callerApp.setSchedGroup != ProcessList.SCHED_GROUP_BACKGROUND; in startServiceLocked()
1283 final boolean callerFg = callerApp.setSchedGroup != ProcessList.SCHED_GROUP_BACKGROUND; in bindServiceLocked()
1602 != ProcessList.SCHED_GROUP_BACKGROUND) { in unbindFinishedLocked()
DBroadcastQueue.java732 ? receiverRecord.callerApp.setSchedGroup != ProcessList.SCHED_GROUP_BACKGROUND in requestStartTargetPermissionsReviewIfNeededLocked()
DActivityStackSupervisor.java2765 if (pr.setSchedGroup == ProcessList.SCHED_GROUP_BACKGROUND in cleanUpRemovedTaskLocked()
/frameworks/base/services/
Dprofile-classes3902 Lcom/android/server/am/ProcessList;