Home
last modified time | relevance | path

Searched refs:getSetAdj (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DMockingOomAdjusterTests.java693 assertEquals(PERCEPTIBLE_RECENT_FOREGROUND_APP_ADJ + 2, app.mState.getSetAdj()); in testUpdateOomAdj_DoOne_PerceptibleRecent_AlmostPerceptibleService()
703 assertEquals(sFirstCachedAdj, app.mState.getSetAdj()); in testUpdateOomAdj_DoOne_PerceptibleRecent_AlmostPerceptibleService()
727 assertEquals(PERCEPTIBLE_RECENT_FOREGROUND_APP_ADJ + 2, app.mState.getSetAdj()); in testUpdateOomAdj_DoOne_PerceptibleRecent_AlmostPerceptibleService()
750 assertNotEquals(PERCEPTIBLE_RECENT_FOREGROUND_APP_ADJ + 2, app.mState.getSetAdj()); in testUpdateOomAdj_DoOne_PerceptibleRecent_AlmostPerceptibleService()
926 assertTrue(ProcessList.CACHED_APP_MIN_ADJ <= app.mState.getSetAdj()); in testUpdateOomAdj_DoOne_NonCachedToCached()
927 assertTrue(ProcessList.CACHED_APP_MAX_ADJ >= app.mState.getSetAdj()); in testUpdateOomAdj_DoOne_NonCachedToCached()
999 assertEquals(FOREGROUND_APP_ADJ, app.mState.getSetAdj()); in testUpdateOomAdj_DoOne_Service_Started_WaivePriority_AdjustWithActivity()
1049 assertEquals(PREVIOUS_APP_ADJ, app.mState.getSetAdj()); in testUpdateOomAdj_DoOne_Service_AllowOomManagement()
1082 assertEquals(FOREGROUND_APP_ADJ, app.mState.getSetAdj()); in testUpdateOomAdj_DoOne_Service_Bound_ImportantFg()
1255 assertEquals(BACKUP_APP_ADJ, app.mState.getSetAdj()); in testUpdateOomAdj_DoOne_Service_BoundByBackup_AboveClient()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java1141 } else if ((state.getSetAdj() >= CACHED_APP_MIN_ADJ) in assignCachedAdjIfNecessary()
3372 if (state.getCurAdj() != state.getSetAdj()) { in applyOomAdjLSP()
3373 mCachedAppOptimizer.onOomAdjustChanged(state.getSetAdj(), state.getCurAdj(), app); in applyOomAdjLSP()
3376 final int oldOomAdj = state.getSetAdj(); in applyOomAdjLSP()
3377 if (state.getCurAdj() != state.getSetAdj()) { in applyOomAdjLSP()
3625 if (((oldProcState != state.getSetProcState()) || (oldOomAdj != state.getSetAdj())) in applyOomAdjLSP()
3629 state.getSetAdj(), oldOomAdj); in applyOomAdjLSP()
3902 } else if (state.getSetAdj() < FREEZER_CUTOFF_ADJ) { in updateAppFreezeStateLSP()
3990 if (app.getSetAdj() <= client.getSetAdj() in evaluateServiceConnectionAdd()
4013 if (app.getSetAdj() < client.getSetAdj() in evaluateServiceConnectionRemoval()
[all …]
DProcessRecord.java710 int getSetAdj() { in getSetAdj() method in ProcessRecord
711 return mState.getSetAdj(); in getSetAdj()
1288 "Killing " + toShortString() + " (adj " + mState.getSetAdj() in killLocked()
1297 userId, mPid, processName, mState.getSetAdj(), reason, getRss(mPid)); in killLocked()
DUidRecord.java234 int adj = mProcRecords.valueAt(i).getSetAdj(); in getMinProcAdj()
DContentProviderHelper.java335 if (success && verifiedAdj != cpr.proc.mState.getSetAdj() in getContentProviderImpl()
367 cpr.proc.mState.setVerifiedAdj(cpr.proc.mState.getSetAdj()); in getContentProviderImpl()
1475 && r.mState.getSetAdj() <= ProcessList.PERCEPTIBLE_LOW_APP_ADJ) { in incProviderCountLocked()
1840 + " (adj " + (proc != null ? proc.mState.getSetAdj() : "??") + ")", in removeDyingProviderLocked()
DProcessProfileRecord.java636 int getSetAdj() { in getSetAdj() method in ProcessProfileRecord
DProcessList.java3083 if (app.mState.getSetAdj() < minOomAdj) {
4328 pw.print(makeOomAdjString(proc.mState.getSetAdj(), false));
4593 final int adj = object2.first.mState.getSetAdj() - object1.first.mState.getSetAdj();
4627 String oomAdj = makeOomAdjString(state.getSetAdj(), true);
4679 proto.write(ProcessOomProto.Detail.SET_ADJ, state.getSetAdj());
4732 String oomAdj = makeOomAdjString(state.getSetAdj(), false);
4816 pw.print(" set="); pw.println(state.getSetAdj());
DProcessStateRecord.java527 int getSetAdj() { in getSetAdj() method in ProcessStateRecord
DCachedAppOptimizer.java1468 if (app.mState.getSetAdj() >= ProcessList.CACHED_APP_MIN_ADJ) { in freezeAppAsyncInternalLSP()
1869 if (proc.mState.getSetAdj() <= ProcessList.PERCEPTIBLE_APP_ADJ) { in shouldOomAdjThrottleCompaction()
DAppProfiler.java1632 state.getSetAdj(), state.getSetProcState(), in doLowMemReportIfNeededLocked()
1641 if (state.getSetAdj() <= ProcessList.HEAVY_WEIGHT_APP_ADJ) { in doLowMemReportIfNeededLocked()
DOomAdjusterModernImpl.java360 sb.append(last.mApp.getSetAdj()); in forEachNewNode()
/frameworks/base/services/
Dart-profile992 HSPLcom/android/server/am/ProcessRecord;->getSetAdj()I
1051 HSPLcom/android/server/am/ProcessStateRecord;->getSetAdj()I
Dart-wear-profile6807 HPLcom/android/server/am/ProcessRecord;->getSetAdj()I
6972 HPLcom/android/server/am/ProcessStateRecord;->getSetAdj()I