Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DMockingOomAdjusterTests.java61 import static com.android.server.am.ProcessList.SCHED_GROUP_BACKGROUND;
434 assertProcStates(app, PROCESS_STATE_RECEIVER, FOREGROUND_APP_ADJ, SCHED_GROUP_BACKGROUND); in testUpdateOomAdj_DoOne_ReceivingBroadcast()
446 assertProcStates(app, PROCESS_STATE_SERVICE, FOREGROUND_APP_ADJ, SCHED_GROUP_BACKGROUND); in testUpdateOomAdj_DoOne_ExecutingService()
463 SCHED_GROUP_BACKGROUND); in testUpdateOomAdj_DoOne_TopApp_Sleeping()
479 SCHED_GROUP_BACKGROUND); in testUpdateOomAdj_DoOne_CachedEmpty()
800 SCHED_GROUP_BACKGROUND); in testUpdateOomAdj_DoOne_HeavyWeight()
813 assertProcStates(app, PROCESS_STATE_HOME, HOME_APP_ADJ, SCHED_GROUP_BACKGROUND); in testUpdateOomAdj_DoOne_HomeApp()
828 SCHED_GROUP_BACKGROUND, "previous"); in testUpdateOomAdj_DoOne_PreviousApp()
839 SCHED_GROUP_BACKGROUND, "previous-expired"); in testUpdateOomAdj_DoOne_PreviousApp()
858 SCHED_GROUP_BACKGROUND); in testUpdateOomAdj_DoOne_Backup()
[all …]
DBroadcastQueueModernImplTest.java1516 assertEquals(ProcessList.SCHED_GROUP_BACKGROUND, queue.getPreferredSchedulingGroupLocked()); in testGetPreferredSchedulingGroup()
/frameworks/base/services/core/java/com/android/server/am/
DProcessStateRecord.java109 private int mCurSchedGroup = ProcessList.SCHED_GROUP_BACKGROUND;
115 private int mSetSchedGroup = ProcessList.SCHED_GROUP_BACKGROUND;
447 private int mCachedSchedGroup = ProcessList.SCHED_GROUP_BACKGROUND;
1015 mCachedSchedGroup = ProcessList.SCHED_GROUP_BACKGROUND; in resetCachedInfo()
1218 mCurSchedGroup = mSetSchedGroup = ProcessList.SCHED_GROUP_BACKGROUND; in onCleanupApplicationRecordLSP()
DOomAdjuster.java118 import static com.android.server.am.ProcessList.SCHED_GROUP_BACKGROUND;
1817 state.setCurrentSchedulingGroup(SCHED_GROUP_BACKGROUND); in computeOomAdjLSP()
1956 ? SCHED_GROUP_DEFAULT : SCHED_GROUP_BACKGROUND; in computeOomAdjLSP()
1964 schedGroup = SCHED_GROUP_BACKGROUND; in computeOomAdjLSP()
1973 schedGroup = SCHED_GROUP_BACKGROUND; in computeOomAdjLSP()
2130 schedGroup = SCHED_GROUP_BACKGROUND; in computeOomAdjLSP()
2150 schedGroup = SCHED_GROUP_BACKGROUND; in computeOomAdjLSP()
2174 schedGroup = SCHED_GROUP_BACKGROUND; in computeOomAdjLSP()
2183 schedGroup = SCHED_GROUP_BACKGROUND; in computeOomAdjLSP()
2255 || schedGroup == SCHED_GROUP_BACKGROUND in computeOomAdjLSP()
[all …]
DOomAdjusterModernImpl.java57 import static com.android.server.am.ProcessList.SCHED_GROUP_BACKGROUND;
1189 && service.mState.getCurrentSchedulingGroup() > SCHED_GROUP_BACKGROUND in forEachConnectionLSP()
1204 && service.mState.getCurrentSchedulingGroup() > SCHED_GROUP_BACKGROUND in forEachConnectionLSP()
1219 && provider.mState.getCurrentSchedulingGroup() > SCHED_GROUP_BACKGROUND in forEachConnectionLSP()
DBroadcastSkipPolicy.java709 != ProcessList.SCHED_GROUP_BACKGROUND : true; in requestStartTargetPermissionsReviewIfNeededLocked()
DBroadcastProcessQueue.java611 return ProcessList.SCHED_GROUP_BACKGROUND; in getPreferredSchedulingGroupLocked()
DProcessList.java296 static final int SCHED_GROUP_BACKGROUND = 0; field in ProcessList
4633 case SCHED_GROUP_BACKGROUND:
4634 schedGroup = ProcessOomProto.SCHED_GROUP_BACKGROUND;
4735 case SCHED_GROUP_BACKGROUND:
DContentProviderHelper.java1757 || r.mState.getSetSchedGroup() != ProcessList.SCHED_GROUP_BACKGROUND; in requestTargetProviderPermissionsReviewIfNeededLocked()
DActiveServices.java955 callerFg = callerApp.mState.getSetSchedGroup() != ProcessList.SCHED_GROUP_BACKGROUND; in startServiceLocked()
4148 != ProcessList.SCHED_GROUP_BACKGROUND; in bindServiceLocked()
4622 != ProcessList.SCHED_GROUP_BACKGROUND) { in unbindFinishedLocked()
/frameworks/base/core/proto/android/server/
Dactivitymanagerservice.proto857 SCHED_GROUP_BACKGROUND = 0; enumerator