Searched refs:PERCEPTIBLE_APP_ADJ (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | ServiceBindingOomAdjPolicyTest.java | 34 import static com.android.server.am.ProcessList.PERCEPTIBLE_APP_ADJ; 265 PROCESS_STATE_FOREGROUND_SERVICE, PERCEPTIBLE_APP_ADJ, in testServiceDistinctBindingOomAdjMoreImportant() 280 PROCESS_STATE_FOREGROUND_SERVICE, PERCEPTIBLE_APP_ADJ, in testServiceDistinctBindingOomAdjMoreImportant() 300 PERCEPTIBLE_APP_ADJ, PROCESS_CAPABILITY_NONE, TEST_APP2_NAME, TEST_SERVICE2_NAME, in testServiceDistinctBindingOomAdjLessImportant() 313 PERCEPTIBLE_APP_ADJ, PROCESS_CAPABILITY_NONE, TEST_APP2_NAME, TEST_SERVICE2_NAME, in testServiceDistinctBindingOomAdjLessImportant() 328 PROCESS_STATE_FOREGROUND_SERVICE, PERCEPTIBLE_APP_ADJ, in testServiceDistinctBindingOomAdjWaivePriority() 343 PERCEPTIBLE_APP_ADJ, PROCESS_CAPABILITY_NONE, TEST_APP2_NAME, TEST_SERVICE2_NAME, in testServiceDistinctBindingOomAdjWaivePriority() 354 PROCESS_STATE_FOREGROUND_SERVICE, PERCEPTIBLE_APP_ADJ, in testServiceDistinctBindingOomAdjWaivePriority() 376 PERCEPTIBLE_APP_ADJ, PROCESS_CAPABILITY_NONE, TEST_APP2_NAME, TEST_SERVICE2_NAME, in testServiceDistinctBindingOomAdjNoIncludeCapabilities() 390 PERCEPTIBLE_APP_ADJ, PROCESS_CAPABILITY_NONE, TEST_APP2_NAME, TEST_SERVICE2_NAME, in testServiceDistinctBindingOomAdjNoIncludeCapabilities() [all …]
|
D | MockingOomAdjusterTests.java | 54 import static com.android.server.am.ProcessList.PERCEPTIBLE_APP_ADJ; 537 assertProcStates(app, PROCESS_STATE_FOREGROUND_SERVICE, PERCEPTIBLE_APP_ADJ, in testUpdateOomAdj_DoOne_FgServiceLocation() 551 assertProcStates(app, PROCESS_STATE_FOREGROUND_SERVICE, PERCEPTIBLE_APP_ADJ, in testUpdateOomAdj_DoOne_FgService() 640 assertProcStates(app, PROCESS_STATE_IMPORTANT_FOREGROUND, PERCEPTIBLE_APP_ADJ, in testUpdateOomAdj_DoOne_OverlayUi() 666 assertProcStates(app, PROCESS_STATE_FOREGROUND_SERVICE, PERCEPTIBLE_APP_ADJ, in testUpdateOomAdj_DoOne_PerceptibleRecent_FgService() 772 PERCEPTIBLE_APP_ADJ + 1, SCHED_GROUP_DEFAULT); in testUpdateOomAdj_DoOne_ImpFg_AlmostPerceptibleService() 784 assertProcStates(app, PROCESS_STATE_TRANSIENT_BACKGROUND, PERCEPTIBLE_APP_ADJ, in testUpdateOomAdj_DoOne_Toast() 1292 assertEquals(PERCEPTIBLE_APP_ADJ, app.mState.getSetAdj()); in testUpdateOomAdj_DoOne_Service_NotVisible() 1307 assertEquals(PERCEPTIBLE_APP_ADJ, app.mState.getSetAdj()); in testUpdateOomAdj_DoOne_Service_Perceptible() 1362 assertEquals(PERCEPTIBLE_APP_ADJ + 1, app.mState.getSetAdj()); in testUpdateOomAdj_DoOne_Service_AlmostPerceptible() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjuster.java | 112 import static com.android.server.am.ProcessList.PERCEPTIBLE_APP_ADJ; 1714 if (adj > PERCEPTIBLE_APP_ADJ) { in onPausedActivity() 1715 adj = PERCEPTIBLE_APP_ADJ; in onPausedActivity() 1738 if (adj > PERCEPTIBLE_APP_ADJ) { in onStoppingActivity() 1739 adj = PERCEPTIBLE_APP_ADJ; in onStoppingActivity() 2016 if (adj > PERCEPTIBLE_APP_ADJ in computeOomAdjLSP() 2025 newAdj = PERCEPTIBLE_APP_ADJ; in computeOomAdjLSP() 2047 newAdj = PERCEPTIBLE_APP_ADJ; in computeOomAdjLSP() 2109 if (adj > PERCEPTIBLE_APP_ADJ in computeOomAdjLSP() 2115 adj = PERCEPTIBLE_APP_ADJ; in computeOomAdjLSP() [all …]
|
D | ProcessServiceRecord.java | 386 } else if (adj < ProcessList.PERCEPTIBLE_APP_ADJ) { in modifyRawOomAdj() 387 adj = ProcessList.PERCEPTIBLE_APP_ADJ; in modifyRawOomAdj()
|
D | OomAdjusterModernImpl.java | 50 import static com.android.server.am.ProcessList.PERCEPTIBLE_APP_ADJ; 147 PERCEPTIBLE_APP_ADJ,
|
D | ProcessStateRecord.java | 491 curRawAdj <= ProcessList.PERCEPTIBLE_APP_ADJ); in setCurRawAdj()
|
D | ProcessList.java | 259 public static final int PERCEPTIBLE_APP_ADJ = 200; field in ProcessList 264 static final int VISIBLE_APP_LAYER_MAX = PERCEPTIBLE_APP_ADJ - VISIBLE_APP_ADJ - 1; 404 FOREGROUND_APP_ADJ, VISIBLE_APP_ADJ, PERCEPTIBLE_APP_ADJ, 1184 } else if (setAdj >= ProcessList.PERCEPTIBLE_APP_ADJ) { in makeOomAdjString() 1186 ProcessList.PERCEPTIBLE_APP_ADJ, compact); in makeOomAdjString() 4890 printOomLevel(pw, "PERCEPTIBLE_APP_ADJ", PERCEPTIBLE_APP_ADJ);
|
D | CachedAppOptimizer.java | 1869 if (proc.mState.getSetAdj() <= ProcessList.PERCEPTIBLE_APP_ADJ) { in shouldOomAdjThrottleCompaction()
|
D | AppProfiler.java | 1528 if (profile.getCurRawAdj() > ProcessList.PERCEPTIBLE_APP_ADJ in performAppGcsLPf()
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | ClientManager.h | 49 const int32_t PERCEPTIBLE_APP_ADJ = 200; variable 51 const int32_t VISIBLE_APP_LAYER_MAX = PERCEPTIBLE_APP_ADJ - VISIBLE_APP_ADJ - 1;
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.cpp | 161 static constexpr int32_t kSystemNativeClientScore = resource_policy::PERCEPTIBLE_APP_ADJ;
|