Searched refs:CACHED_APP_MIN_ADJ (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjuster.java | 260 mNumSlots = ((ProcessList.CACHED_APP_MAX_ADJ - ProcessList.CACHED_APP_MIN_ADJ + 1) >> 1) in OomAdjuster() 293 final int cachedAdj = app.getCurRawAdj() >= ProcessList.CACHED_APP_MIN_ADJ in updateOomAdjLocked() 390 final int cachedAdj = oldAdj >= ProcessList.CACHED_APP_MIN_ADJ in updateOomAdjLocked() 649 int curCachedAdj = ProcessList.CACHED_APP_MIN_ADJ; in assignCachedAdjIfNecessary() 652 int curEmptyAdj = ProcessList.CACHED_APP_MIN_ADJ + ProcessList.CACHED_APP_IMPORTANCE_LEVELS; in assignCachedAdjIfNecessary() 1621 if (adj >= ProcessList.CACHED_APP_MIN_ADJ) { in computeOomAdjLocked() 1775 if (clientAdj < ProcessList.CACHED_APP_MIN_ADJ) { in computeOomAdjLocked() 2128 } else if ((app.setAdj < ProcessList.CACHED_APP_MIN_ADJ in applyOomAdjLocked() 2130 && app.curAdj >= ProcessList.CACHED_APP_MIN_ADJ in applyOomAdjLocked() 2599 if (app.curAdj >= ProcessList.CACHED_APP_MIN_ADJ && !app.frozen && !app.shouldNotFreeze) { in updateAppFreezeStateLocked() [all …]
|
D | ProcessRecord.java | 872 } else if (adj < ProcessList.CACHED_APP_MIN_ADJ) { in modifyRawOomAdj() 873 adj = ProcessList.CACHED_APP_MIN_ADJ; in modifyRawOomAdj() 1053 if (setAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in getSetAdjWithServices()
|
D | ProcessList.java | 178 static final int CACHED_APP_MIN_ADJ = 900; field in ProcessList 378 PERCEPTIBLE_LOW_APP_ADJ, CACHED_APP_MIN_ADJ, CACHED_APP_LMK_FIRST_ADJ 944 if (setAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in makeOomAdjString() 946 ProcessList.CACHED_APP_MIN_ADJ, compact); in makeOomAdjString() 1580 final long cachedAppMem = getMemLevel(CACHED_APP_MIN_ADJ); in getMemoryInfo()
|
D | CachedAppOptimizer.java | 967 if (proc.curAdj < ProcessList.CACHED_APP_MIN_ADJ in freezeProcess()
|
D | ActivityManagerService.java | 4413 UserHandle.USER_ALL, ProcessList.CACHED_APP_MIN_ADJ, in killAllBackgroundProcesses() 9195 && worstType > ProcessList.CACHED_APP_MIN_ADJ) { in killPids() 9196 worstType = ProcessList.CACHED_APP_MIN_ADJ; in killPids() 12079 printOomLevel(pw, "CACHED_APP_MIN_ADJ", ProcessList.CACHED_APP_MIN_ADJ); in dumpOomLocked() 12123 reportLmkKillAtOrBelow(pw, ProcessList.CACHED_APP_MIN_ADJ) && in dumpLmkLocked() 13052 ProcessList.PREVIOUS_APP_ADJ, ProcessList.SERVICE_B_ADJ, ProcessList.CACHED_APP_MIN_ADJ 13490 if (oomAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in dumpApplicationMemoryUsage() 14095 if (oomAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in dumpApplicationMemoryUsage() 14430 if (mi.oomAdj >= ProcessList.CACHED_APP_MIN_ADJ) { in reportMemUsage()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | MockingOomAdjusterTests.java | 43 import static com.android.server.am.ProcessList.CACHED_APP_MIN_ADJ; 330 app.setCurRawAdj(CACHED_APP_MIN_ADJ); in testUpdateOomAdj_DoOne_CachedEmpty() 335 assertProcStates(app, PROCESS_STATE_CACHED_EMPTY, CACHED_APP_MIN_ADJ, in testUpdateOomAdj_DoOne_CachedEmpty() 575 assertTrue(ProcessList.CACHED_APP_MIN_ADJ <= app.setAdj); in testUpdateOomAdj_DoOne_NonCachedToCached()
|