Searched refs:prevProcState (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjusterModernImpl.java | 715 final int prevProcState = host.mState.getCurProcState(); in accept() local 725 updateProcStateSlotIfNecessary(host, prevProcState); in accept() 805 void onProcessStateChanged(@NonNull ProcessRecord app, int prevProcState) { in onProcessStateChanged() argument 806 updateProcStateSlotIfNecessary(app, prevProcState); in onProcessStateChanged() 862 private void updateProcStateSlotIfNecessary(ProcessRecord app, int prevProcState) { in updateProcStateSlotIfNecessary() argument 863 if (app.mState.getCurProcState() != prevProcState) { in updateProcStateSlotIfNecessary() 868 final int prevSlot = processStateToSlot(prevProcState); in updateProcStateSlotIfNecessary() 876 private void updateProcStateSlot(ProcessRecord app, int prevProcState) { in updateProcStateSlot() argument 881 final int prevSlot = processStateToSlot(prevProcState); in updateProcStateSlot() 947 final int prevProcState = app.mState.getCurProcState(); in fullUpdateLSP() local [all …]
|
D | OomAdjuster.java | 1808 int prevProcState = getInitialProcState(app); in computeOomAdjLSP() local 1887 return state.getCurAdj() < prevAppAdj || state.getCurProcState() < prevProcState; in computeOomAdjLSP() 2564 setIntermediateProcStateLSP(app, procState, prevProcState); in computeOomAdjLSP() 2568 return state.getCurAdj() < prevAppAdj || state.getCurProcState() < prevProcState in computeOomAdjLSP() 2596 int prevProcState) { in setIntermediateProcStateLSP() argument 2658 final int prevProcState = procState; in computeServiceHostOomAdjLSP() 3035 updated = adj < prevRawAdj || procState < prevProcState || schedGroup > prevSchedGroup in computeServiceHostOomAdjLSP() 3046 if (procState < prevProcState) { in computeServiceHostOomAdjLSP() 3047 setIntermediateProcStateLSP(app, procState, prevProcState); in computeServiceHostOomAdjLSP() 3101 final int prevProcState = procState; [all …]
|
D | ProcessStateRecord.java | 641 final int prevProcState = mRepProcState; in forceProcessStateUpTo() local 645 mService.mOomAdjuster.onProcessStateChanged(mApp, prevProcState); in forceProcessStateUpTo()
|
/frameworks/base/services/core/java/com/android/server/power/hint/ |
D | HintManagerService.java | 415 int prevProcState = mProcStatesCache.get(uid, Integer.MAX_VALUE); in onUidStateChanged() local 417 prevProcState <= ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND in onUidStateChanged()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowProcessController.java | 418 final int prevProcState = mRepProcState; in setReportedProcState() local 423 if (prevProcState >= CACHED_CONFIG_PROC_STATE && repProcState < CACHED_CONFIG_PROC_STATE in setReportedProcState()
|