Home
last modified time | relevance | path

Searched refs:getSetProcState (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java513 && (uidRec.getSetProcState() != uidRec.getCurProcState() in performUpdateOomAdjLSP()
614 state.getSetProcState()); in performUpdateOomAdjLSP()
629 state.getSetProcState()))) { in performUpdateOomAdjLSP()
1288 && (uidRec.getSetProcState() != uidRec.getCurProcState() in updateUidsLSP()
1292 + ": proc state from " + uidRec.getSetProcState() + " to " in updateUidsLSP()
1301 if (!ActivityManager.isProcStateBackground(uidRec.getSetProcState()) in updateUidsLSP()
1325 final boolean wasCached = uidRec.getSetProcState() in updateUidsLSP()
1330 || uidRec.getSetProcState() == PROCESS_STATE_NONEXISTENT) { in updateUidsLSP()
1341 uidRec.getUid(), uidRec.getSetProcState()); in updateUidsLSP()
1742 || state.getSetProcState() <= PROCESS_STATE_TOP)) { in computeOomAdjLSP()
[all …]
DCachedAppOptimizer.java442 COMPACT_PROCESS_MSG, app.mState.getSetAdj(), app.mState.getSetProcState())); in compactAppSome()
459 COMPACT_PROCESS_MSG, app.mState.getSetAdj(), app.mState.getSetProcState())); in compactAppFull()
478 COMPACT_PROCESS_MSG, app.mState.getCurAdj(), app.mState.getSetProcState())); in compactAppPersistent()
496 COMPACT_PROCESS_MSG, app.mState.getCurAdj(), app.mState.getSetProcState())); in compactAppBfgs()
DAppProfiler.java484 if (profile.getThread() != null && procState == profile.getSetProcState() in collectPssInBackground()
508 && profile.getSetProcState() == procState in collectPssInBackground()
522 + profile.getSetProcState() + " " in collectPssInBackground()
879 || profile.getSetProcState() == PROCESS_STATE_NONEXISTENT) { in requestPssAllProcsLPr()
886 profile.setPssProcState(profile.getSetProcState()); in requestPssAllProcsLPr()
889 updateNextPssTimeLPf(profile.getSetProcState(), profile, now, true); in requestPssAllProcsLPr()
1287 state.getSetAdj(), state.getSetProcState(), in doLowMemReportIfNeededLocked()
DUidRecord.java174 int getSetProcState() { in getSetProcState() method in UidRecord
DProcessList.java3144 && (maxProcState < 0 || app.mState.getSetProcState() > maxProcState))) {
3716 && rec.mState.getSetProcState() >= PROCESS_STATE_CACHED_ACTIVITY) { in haveBackgroundProcessLOSP()
4203 final int procState = object2.first.mState.getSetProcState() in sortProcessOomList()
4204 - object1.first.mState.getSetProcState(); in sortProcessOomList()
4289 makeProcStateProtoEnum(state.getSetProcState())); in writeProcessOomListToProto()
4300 if (state.getSetProcState() >= ActivityManager.PROCESS_STATE_SERVICE) { in writeProcessOomListToProto()
4424 pw.print(" set="); pw.print(makeProcStateString(state.getSetProcState())); in dumpProcessOomList()
4438 if (state.getSetProcState() >= ActivityManager.PROCESS_STATE_SERVICE) { in dumpProcessOomList()
4820 isProcStateAllowedWhileIdleOrPowerSaveMode(uidRec.getSetProcState(), in getBlockStateForUid()
4822 || isProcStateAllowedWhileOnRestrictBackground(uidRec.getSetProcState()); in getBlockStateForUid()
[all …]
DProcessProfileRecord.java580 int getSetProcState() { in getSetProcState() method in ProcessProfileRecord
DProcessStateRecord.java573 int getSetProcState() { in getSetProcState() method in ProcessStateRecord
DProcessRecord.java462 if (mState.getSetProcState() > ActivityManager.PROCESS_STATE_SERVICE) { in dump()
DContentProviderHelper.java1403 if (conn.client.mState.getSetProcState() in handleProviderRemoval()
DActivityManagerService.java2811 if (procState[0] > proc.mState.getSetProcState()) { in getPackageProcessState()
2814 procState[0] = proc.mState.getSetProcState(); in getPackageProcessState()
3102 final int setProcState = app.mState.getSetProcState(); in appDiedLocked()
7396 final int setProcState = state.getSetProcState(); in performIdleMaintenance()
7440 state.getSetProcState(), proc.mProfile, now, true); in performIdleMaintenance()
14249 if (app.mState.getSetProcState() >= ActivityManager.PROCESS_STATE_HOME) { in checkExcessivePowerUsage()
14255 || app.mState.getSetProcState() <= ActivityManager.PROCESS_STATE_HOME) { in checkExcessivePowerUsage()
14381 ? uidRec.getSetProcState() : PROCESS_STATE_NONEXISTENT; in enqueueUidChangeLocked()
DActiveServices.java4443 && s.app.mState.getSetProcState() <= PROCESS_STATE_HEAVY_WEIGHT) { in removeConnectionLocked()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DMockingOomAdjusterTests.java403 assertEquals(PROCESS_STATE_CACHED_RECENT, app.mState.getSetProcState()); in testUpdateOomAdj_DoOne_RecentTasks()
540 assertEquals(PROCESS_STATE_CACHED_ACTIVITY_CLIENT, app.mState.getSetProcState()); in testUpdateOomAdj_DoOne_ClientActivities()
552 assertEquals(PROCESS_STATE_CACHED_ACTIVITY, app.mState.getSetProcState()); in testUpdateOomAdj_DoOne_TreatLikeActivity()
647 assertEquals(PROCESS_STATE_CACHED_ACTIVITY, app.mState.getSetProcState()); in testUpdateOomAdj_DoOne_Service_Started_WaivePriority_TreatLikeActivity()
698 assertEquals(PROCESS_STATE_CACHED_EMPTY, app.mState.getSetProcState()); in testUpdateOomAdj_DoOne_Service_CachedActivity()
783 assertEquals(PROCESS_STATE_BOUND_FOREGROUND_SERVICE, app.mState.getSetProcState()); in testUpdateOomAdj_DoOne_Service_BoundFgService()
798 assertEquals(PROCESS_STATE_TRANSIENT_BACKGROUND, app.mState.getSetProcState()); in testUpdateOomAdj_DoOne_Service_BoundNotForeground()
813 assertEquals(PROCESS_STATE_FOREGROUND_SERVICE, app.mState.getSetProcState()); in testUpdateOomAdj_DoOne_Service_ImportantFgService()
944 assertEquals(PROCESS_STATE_IMPORTANT_BACKGROUND, app.mState.getSetProcState()); in testUpdateOomAdj_DoOne_Service_Bind_ImportantBg()
1129 assertEquals(PROCESS_STATE_CACHED_EMPTY, client2.mState.getSetProcState()); in testUpdateOomAdj_DoOne_Service_Chain_BoundByFgService_Cycle()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java472 uidRec.getSetProcState()), in testBlockStateForUid()
788 item.procState, validateUidRecord.getSetProcState()); in testDispatchUidChanges_validateUidsUpdated()
/frameworks/base/services/
Dart-profile8691 HPLcom/android/server/am/ProcessProfileRecord;->getSetProcState()I
8952 HSPLcom/android/server/am/ProcessStateRecord;->getSetProcState()I
9203 HSPLcom/android/server/am/UidRecord;->getSetProcState()I