Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DVrController.java119 setVrRenderThreadLocked(0, ProcessList.SCHED_GROUP_TOP_APP, true);
166 if (curSchedGroup == ProcessList.SCHED_GROUP_TOP_APP) { in onTopProcChangedLocked()
396 if (!inVr || inPersistentVr || schedGroup != ProcessList.SCHED_GROUP_TOP_APP) { in setVrRenderThreadLocked()
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java1567 state.setCurrentSchedulingGroup(ProcessList.SCHED_GROUP_TOP_APP); in computeOomAdjLSP()
1581 state.setCurrentSchedulingGroup(ProcessList.SCHED_GROUP_TOP_APP); in computeOomAdjLSP()
1613 schedGroup = ProcessList.SCHED_GROUP_TOP_APP; in computeOomAdjLSP()
1624 schedGroup = ProcessList.SCHED_GROUP_TOP_APP; in computeOomAdjLSP()
2186 if (schedGroup < ProcessList.SCHED_GROUP_TOP_APP in computeOomAdjLSP()
2189 schedGroup = ProcessList.SCHED_GROUP_TOP_APP; in computeOomAdjLSP()
2646 case ProcessList.SCHED_GROUP_TOP_APP: in applyOomAdjLSP()
2661 if (curSchedGroup == ProcessList.SCHED_GROUP_TOP_APP) { in applyOomAdjLSP()
2663 if (oldSchedGroup != ProcessList.SCHED_GROUP_TOP_APP) { in applyOomAdjLSP()
2694 } else if (oldSchedGroup == ProcessList.SCHED_GROUP_TOP_APP && in applyOomAdjLSP()
[all …]
DProcessList.java285 public static final int SCHED_GROUP_TOP_APP = 3; field in ProcessList
4245 case SCHED_GROUP_TOP_APP: in writeProcessOomListToProto()
4246 schedGroup = ProcessOomProto.SCHED_GROUP_TOP_APP; in writeProcessOomListToProto()
4345 case SCHED_GROUP_TOP_APP: in dumpProcessOomList()
DActivityManagerService.java6880 if (proc.mState.getCurrentSchedulingGroup() == ProcessList.SCHED_GROUP_TOP_APP) { in setRenderThread()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DMockingOomAdjusterTests.java57 import static com.android.server.am.ProcessList.SCHED_GROUP_TOP_APP;
248 SCHED_GROUP_TOP_APP); in testUpdateOomAdj_DoOne_Persistent_TopUi_Awake()
263 SCHED_GROUP_TOP_APP); in testUpdateOomAdj_DoOne_Persistent_TopApp()
277 assertProcStates(app, PROCESS_STATE_TOP, FOREGROUND_APP_ADJ, SCHED_GROUP_TOP_APP); in testUpdateOomAdj_DoOne_TopApp_Awake()
291 assertProcStates(app, PROCESS_STATE_TOP_SLEEPING, VISIBLE_APP_ADJ, SCHED_GROUP_TOP_APP); in testUpdateOomAdj_DoOne_RunningAnimations()
381 field.set(callback, SCHED_GROUP_TOP_APP); in testUpdateOomAdj_DoOne_VisibleActivities()
388 assertProcStates(app, PROCESS_STATE_TOP, VISIBLE_APP_ADJ, SCHED_GROUP_TOP_APP); in testUpdateOomAdj_DoOne_VisibleActivities()
1512 SCHED_GROUP_TOP_APP); in testUpdateOomAdj_DoOne_ScheduleLikeTop()
1520 SCHED_GROUP_TOP_APP); in testUpdateOomAdj_DoOne_ScheduleLikeTop()
/frameworks/base/core/proto/android/server/
Dactivitymanagerservice.proto832 SCHED_GROUP_TOP_APP = 2; enumerator