Home
last modified time | relevance | path

Searched refs:PERCEPTIBLE_APP_ADJ (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DMockingOomAdjusterTests.java47 import static com.android.server.am.ProcessList.PERCEPTIBLE_APP_ADJ;
391 assertProcStates(app, PROCESS_STATE_FOREGROUND_SERVICE, PERCEPTIBLE_APP_ADJ, in testUpdateOomAdj_DoOne_FgServiceLocation()
404 assertProcStates(app, PROCESS_STATE_FOREGROUND_SERVICE, PERCEPTIBLE_APP_ADJ, in testUpdateOomAdj_DoOne_FgService()
417 assertProcStates(app, PROCESS_STATE_IMPORTANT_FOREGROUND, PERCEPTIBLE_APP_ADJ, in testUpdateOomAdj_DoOne_OverlayUi()
444 assertProcStates(app, PROCESS_STATE_TRANSIENT_BACKGROUND, PERCEPTIBLE_APP_ADJ, in testUpdateOomAdj_DoOne_Toast()
843 assertEquals(PERCEPTIBLE_APP_ADJ, app.setAdj); in testUpdateOomAdj_DoOne_Service_NotVisible()
858 assertEquals(PERCEPTIBLE_APP_ADJ, app.setAdj); in testUpdateOomAdj_DoOne_Service_Perceptible()
946 assertProcStates(app, PROCESS_STATE_BOUND_FOREGROUND_SERVICE, PERCEPTIBLE_APP_ADJ, in testUpdateOomAdj_DoOne_Provider_FgService()
1014 assertProcStates(app, PROCESS_STATE_FOREGROUND_SERVICE, PERCEPTIBLE_APP_ADJ, in testUpdateOomAdj_DoOne_Service_BoundByFgService_Branch()
1033 assertProcStates(app, PROCESS_STATE_FOREGROUND_SERVICE, PERCEPTIBLE_APP_ADJ, in testUpdateOomAdj_DoOne_Service_Chain_BoundByFgService()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java1026 if (adj > ProcessList.PERCEPTIBLE_APP_ADJ) { in onPausedActivity()
1027 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in onPausedActivity()
1051 if (adj > ProcessList.PERCEPTIBLE_APP_ADJ) { in onStoppingActivity()
1052 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in onStoppingActivity()
1293 if (adj > ProcessList.PERCEPTIBLE_APP_ADJ in computeOomAdjLocked()
1297 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in computeOomAdjLocked()
1308 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in computeOomAdjLocked()
1332 if (adj > ProcessList.PERCEPTIBLE_APP_ADJ in computeOomAdjLocked()
1338 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in computeOomAdjLocked()
1620 && clientAdj > ProcessList.PERCEPTIBLE_APP_ADJ) { in computeOomAdjLocked()
[all …]
DProcessRecord.java868 } else if (adj < ProcessList.PERCEPTIBLE_APP_ADJ) { in modifyRawOomAdj()
869 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in modifyRawOomAdj()
1404 mWindowProcessController.setPerceptible(curRawAdj <= ProcessList.PERCEPTIBLE_APP_ADJ); in setCurRawAdj()
DProcessList.java226 static final int PERCEPTIBLE_APP_ADJ = 200; field in ProcessList
231 static final int VISIBLE_APP_LAYER_MAX = PERCEPTIBLE_APP_ADJ - VISIBLE_APP_ADJ - 1;
377 FOREGROUND_APP_ADJ, VISIBLE_APP_ADJ, PERCEPTIBLE_APP_ADJ,
968 } else if (setAdj >= ProcessList.PERCEPTIBLE_APP_ADJ) { in makeOomAdjString()
970 ProcessList.PERCEPTIBLE_APP_ADJ, compact); in makeOomAdjString()
DCachedAppOptimizer.java720 && (proc.setAdj <= ProcessList.PERCEPTIBLE_APP_ADJ)) { in handleMessage()
DActivityManagerService.java12071 printOomLevel(pw, "PERCEPTIBLE_APP_ADJ", ProcessList.PERCEPTIBLE_APP_ADJ); in dumpOomLocked()
12131 reportLmkKillAtOrBelow(pw, ProcessList.PERCEPTIBLE_APP_ADJ) && in dumpLmkLocked()
13049 ProcessList.PERCEPTIBLE_APP_ADJ, ProcessList.PERCEPTIBLE_LOW_APP_ADJ,
17579 if (proc.getCurRawAdj() > ProcessList.PERCEPTIBLE_APP_ADJ || proc.reportLowMemory) { in performAppGcsLocked()