Searched refs:ProcessList (Results 1 – 15 of 15) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjuster.java | 162 private final ProcessList mProcessList; 164 OomAdjuster(ActivityManagerService service, ProcessList processList, ActiveUids activeUids) { in OomAdjuster() 220 final int cachedAdj = app.getCurRawAdj() >= ProcessList.CACHED_APP_MIN_ADJ in updateOomAdjLocked() 221 ? app.getCurRawAdj() : ProcessList.UNKNOWN_ADJ; in updateOomAdjLocked() 225 && (wasCached != app.cached || app.getCurRawAdj() == ProcessList.UNKNOWN_ADJ)) { in updateOomAdjLocked() 252 final long oldTime = now - ProcessList.MAX_EMPTY_TIME; in updateOomAdjLocked() 279 final int numSlots = (ProcessList.CACHED_APP_MAX_ADJ in updateOomAdjLocked() 280 - ProcessList.CACHED_APP_MIN_ADJ + 1) / 2 in updateOomAdjLocked() 281 / ProcessList.CACHED_APP_IMPORTANCE_LEVELS; in updateOomAdjLocked() 312 int curCachedAdj = ProcessList.CACHED_APP_MIN_ADJ; in updateOomAdjLocked() [all …]
|
D | ProcessList.java | 126 public final class ProcessList { class 561 ProcessList() { in ProcessList() method in ProcessList 651 mCachedRestoreLevel = (getMemLevel(ProcessList.CACHED_APP_MAX_ADJ) / 1024) / 3; in updateOomLevels() 708 if (setAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in makeOomAdjString() 710 ProcessList.CACHED_APP_MIN_ADJ, compact); in makeOomAdjString() 711 } else if (setAdj >= ProcessList.SERVICE_B_ADJ) { in makeOomAdjString() 713 ProcessList.SERVICE_B_ADJ, compact); in makeOomAdjString() 714 } else if (setAdj >= ProcessList.PREVIOUS_APP_ADJ) { in makeOomAdjString() 716 ProcessList.PREVIOUS_APP_ADJ, compact); in makeOomAdjString() 717 } else if (setAdj >= ProcessList.HOME_APP_ADJ) { in makeOomAdjString() [all …]
|
D | ProcessRecord.java | 123 final ProcessList.ProcStateMemTracker procStateMemTracker 124 = new ProcessList.ProcStateMemTracker(); 583 maxAdj = ProcessList.UNKNOWN_ADJ; in ProcessRecord() 584 mCurRawAdj = setRawAdj = ProcessList.INVALID_ADJ; in ProcessRecord() 585 curAdj = setAdj = verifiedAdj = ProcessList.INVALID_ADJ; in ProcessRecord() 719 if (adj < ProcessList.FOREGROUND_APP_ADJ) { in modifyRawOomAdj() 721 } else if (adj < ProcessList.VISIBLE_APP_ADJ) { in modifyRawOomAdj() 722 adj = ProcessList.VISIBLE_APP_ADJ; in modifyRawOomAdj() 723 } else if (adj < ProcessList.PERCEPTIBLE_APP_ADJ) { in modifyRawOomAdj() 724 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in modifyRawOomAdj() [all …]
|
D | ActivityManagerService.java | 663 final ProcessList mProcessList = new ProcessList(); 1975 && (lastPssTime+ProcessList.PSS_SAFE_TIME_FROM_STATE_CHANGE) 1979 ProcessList.abortNextPssTime(proc.procStateMemTracker); 1982 (lastPssTime+ProcessList.PSS_SAFE_TIME_FROM_STATE_CHANGE-now) + 1996 ProcessList.commitNextPssTime(proc.procStateMemTracker); 2000 ProcessList.abortNextPssTime(proc.procStateMemTracker); 2068 app.maxAdj = ProcessList.SYSTEM_ADJ; in setSystemProcess() 3606 ProcessList.remove(pid); in handleAppDiedLocked() 3683 if (rec.setAdj <= ProcessList.HEAVY_WEIGHT_APP_ADJ) { in doLowMemReportIfNeededLocked() 3728 ProcessList.killProcessGroup(app.uid, pid); in appDiedLocked() [all …]
|
D | UidRecord.java | 157 proto.write(UidRecordProto.CURRENT, ProcessList.makeProcStateProtoEnum(mCurProcState)); in writeToProto() 187 sb.append(ProcessList.makeProcStateString(mCurProcState)); in toString()
|
D | AppErrors.java | 590 ProcessList.killProcessGroup(uid, pid); in handleAppCrashInActivityController() 707 if (now > sr.restartTime + ProcessList.MIN_CRASH_INTERVAL) { 720 if (crashTime != null && now < crashTime + ProcessList.MIN_CRASH_INTERVAL) { 761 && now < crashTimePersistent + ProcessList.MIN_CRASH_INTERVAL) {
|
D | AppCompactor.java | 552 && (proc.setAdj <= ProcessList.PERCEPTIBLE_APP_ADJ)) { in handleMessage()
|
D | ActiveServices.java | 424 callerFg = callerApp.setSchedGroup != ProcessList.SCHED_GROUP_BACKGROUND; in startServiceLocked() 1630 final boolean callerFg = callerApp.setSchedGroup != ProcessList.SCHED_GROUP_BACKGROUND; in bindServiceLocked() 1990 != ProcessList.SCHED_GROUP_BACKGROUND) { in unbindFinishedLocked()
|
D | BroadcastQueue.java | 853 ? receiverRecord.callerApp.setSchedGroup != ProcessList.SCHED_GROUP_BACKGROUND in requestStartTargetPermissionsReviewIfNeededLocked()
|
D | ActivityManagerShellCommand.java | 1455 mPw.print(ProcessList.makeProcStateString(procState));
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | VrController.java | 28 import com.android.server.am.ProcessList; 119 setVrRenderThreadLocked(0, ProcessList.SCHED_GROUP_TOP_APP, true); 158 if (curSchedGroup == ProcessList.SCHED_GROUP_TOP_APP) { in onTopProcChangedLocked() 388 if (!inVr || inPersistentVr || schedGroup != ProcessList.SCHED_GROUP_TOP_APP) { in setVrRenderThreadLocked()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerServiceTest.java | 74 import com.android.server.am.ProcessList.IsolatedUidRange; 75 import com.android.server.am.ProcessList.IsolatedUidRangeAllocator; 375 public void verifyIsolatedUid(ProcessList.IsolatedUidRange range, int uid) { in verifyIsolatedUid() 379 public void verifyIsolatedUidAllocator(ProcessList.IsolatedUidRange range) { in verifyIsolatedUidAllocator()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyLogger.java | 35 import com.android.server.am.ProcessList; 499 return data.ifield1 + "-" + ProcessList.makeProcStateString(data.ifield2) in getContent()
|
/frameworks/base/services/ |
D | art-profile | 2510 …SPLcom/android/server/am/-$$Lambda$ProcessList$Clv-1gpwGcZ-lQ1Ghdh2VzSdPZ4;-><init>(Lcom/android/s… 2511 HSPLcom/android/server/am/-$$Lambda$ProcessList$Clv-1gpwGcZ-lQ1Ghdh2VzSdPZ4;->run()V 3382 …>(Lcom/android/server/am/ActivityManagerService;Lcom/android/server/am/ProcessList;Lcom/android/se… 3432 PLcom/android/server/am/ProcessList$IsolatedUidRange;->allocateIsolatedUidLocked(I)I 3433 HSPLcom/android/server/am/ProcessList$IsolatedUidRangeAllocator;-><init>(Lcom/android/server/am/Pro… 3434 HSPLcom/android/server/am/ProcessList$KillHandler;->handleMessage(Landroid/os/Message;)V 3435 HSPLcom/android/server/am/ProcessList$ProcStateMemTracker;-><init>()V 3436 PLcom/android/server/am/ProcessList$ProcStateMemTracker;->dumpLine(Ljava/io/PrintWriter;)V 3437 HSPLcom/android/server/am/ProcessList;-><init>()V 3438 HSPLcom/android/server/am/ProcessList;->abortNextPssTime(Lcom/android/server/am/ProcessList$ProcSta… [all …]
|
/frameworks/base/core/proto/android/server/ |
D | activitymanagerservice.proto | 893 // Activity manager's version of Process enum, see ProcessList.java
|