Home
last modified time | relevance | path

Searched refs:SCHED_GROUP_BACKGROUND (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DProcessStateRecord.java101 private int mCurSchedGroup = ProcessList.SCHED_GROUP_BACKGROUND;
107 private int mSetSchedGroup = ProcessList.SCHED_GROUP_BACKGROUND;
387 private int mCachedSchedGroup = ProcessList.SCHED_GROUP_BACKGROUND;
932 mCachedSchedGroup = ProcessList.SCHED_GROUP_BACKGROUND; in resetCachedInfo()
1005 ? ProcessList.SCHED_GROUP_DEFAULT : ProcessList.SCHED_GROUP_BACKGROUND; in getCachedIsReceivingBroadcast()
1088 mCurSchedGroup = mSetSchedGroup = ProcessList.SCHED_GROUP_BACKGROUND; in onCleanupApplicationRecordLSP()
DOomAdjuster.java1519 state.setCurrentSchedulingGroup(ProcessList.SCHED_GROUP_BACKGROUND); in computeOomAdjLSP()
1646 ? ProcessList.SCHED_GROUP_DEFAULT : ProcessList.SCHED_GROUP_BACKGROUND; in computeOomAdjLSP()
1657 ? ProcessList.SCHED_GROUP_DEFAULT : ProcessList.SCHED_GROUP_BACKGROUND; in computeOomAdjLSP()
1665 schedGroup = ProcessList.SCHED_GROUP_BACKGROUND; in computeOomAdjLSP()
1674 schedGroup = ProcessList.SCHED_GROUP_BACKGROUND; in computeOomAdjLSP()
1772 schedGroup = ProcessList.SCHED_GROUP_BACKGROUND; in computeOomAdjLSP()
1793 schedGroup = ProcessList.SCHED_GROUP_BACKGROUND; in computeOomAdjLSP()
1815 schedGroup = ProcessList.SCHED_GROUP_BACKGROUND; in computeOomAdjLSP()
1878 || schedGroup == ProcessList.SCHED_GROUP_BACKGROUND in computeOomAdjLSP()
1955 || schedGroup == ProcessList.SCHED_GROUP_BACKGROUND in computeOomAdjLSP()
[all …]
DProcessList.java279 static final int SCHED_GROUP_BACKGROUND = 0; field in ProcessList
4239 case SCHED_GROUP_BACKGROUND: in writeProcessOomListToProto()
4240 schedGroup = ProcessOomProto.SCHED_GROUP_BACKGROUND; in writeProcessOomListToProto()
4339 case SCHED_GROUP_BACKGROUND: in dumpProcessOomList()
DContentProviderHelper.java1614 || r.mState.getSetSchedGroup() != ProcessList.SCHED_GROUP_BACKGROUND; in requestTargetProviderPermissionsReviewIfNeededLocked()
DActiveServices.java637 callerFg = callerApp.mState.getSetSchedGroup() != ProcessList.SCHED_GROUP_BACKGROUND; in startServiceLocked()
2714 != ProcessList.SCHED_GROUP_BACKGROUND; in bindServiceLocked()
3048 != ProcessList.SCHED_GROUP_BACKGROUND) { in unbindFinishedLocked()
DBroadcastQueue.java875 != ProcessList.SCHED_GROUP_BACKGROUND : true; in requestStartTargetPermissionsReviewIfNeededLocked()
DActivityManagerService.java15605 if (pr.mState.getSetSchedGroup() == ProcessList.SCHED_GROUP_BACKGROUND in killProcessesForRemovedTask()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DMockingOomAdjusterTests.java54 import static com.android.server.am.ProcessList.SCHED_GROUP_BACKGROUND;
320 assertProcStates(app, PROCESS_STATE_RECEIVER, FOREGROUND_APP_ADJ, SCHED_GROUP_BACKGROUND); in testUpdateOomAdj_DoOne_ReceivingBroadcast()
332 assertProcStates(app, PROCESS_STATE_SERVICE, FOREGROUND_APP_ADJ, SCHED_GROUP_BACKGROUND); in testUpdateOomAdj_DoOne_ExecutingService()
349 SCHED_GROUP_BACKGROUND); in testUpdateOomAdj_DoOne_TopApp_Sleeping()
363 SCHED_GROUP_BACKGROUND); in testUpdateOomAdj_DoOne_CachedEmpty()
484 SCHED_GROUP_BACKGROUND); in testUpdateOomAdj_DoOne_HeavyWeight()
497 assertProcStates(app, PROCESS_STATE_HOME, HOME_APP_ADJ, SCHED_GROUP_BACKGROUND); in testUpdateOomAdj_DoOne_HomeApp()
512 SCHED_GROUP_BACKGROUND); in testUpdateOomAdj_DoOne_PreviousApp()
528 SCHED_GROUP_BACKGROUND); in testUpdateOomAdj_DoOne_Backup()
569 assertProcStates(app, PROCESS_STATE_SERVICE, SERVICE_B_ADJ, SCHED_GROUP_BACKGROUND); in testUpdateOomAdj_DoOne_ServiceB()
[all …]
/frameworks/base/core/proto/android/server/
Dactivitymanagerservice.proto830 SCHED_GROUP_BACKGROUND = 0; enumerator