Home
last modified time | relevance | path

Searched refs:getCurProcState (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DOomAdjusterModernImpl.java255 sb.append(mApp != null ? mApp.mState.getCurProcState() : PROCESS_STATE_UNKNOWN); in toString()
283 valueFunction = (proc) -> proc.mState.getCurProcState(); in ProcessRecordNodes()
284 mSlotFunction = (proc) -> processStateToSlot(proc.mState.getCurProcState()); in ProcessRecordNodes()
358 sb.append(last.mApp.mState.getCurProcState()); in forEachNewNode()
439 slot = processStateToSlot(app.mState.getCurProcState()); in moveAppToTail()
489 return processStateToSlot(app.mState.getCurProcState()); in getCurrentSlot()
715 final int prevProcState = host.mState.getCurProcState(); in accept()
863 if (app.mState.getCurProcState() != prevProcState) { in updateProcStateSlotIfNecessary()
867 final int slot = processStateToSlot(app.mState.getCurProcState()); in updateProcStateSlotIfNecessary()
880 final int slot = processStateToSlot(app.mState.getCurProcState()); in updateProcStateSlot()
[all …]
DOomAdjuster.java1203 switch (state.getCurProcState()) { in assignCachedAdjIfNecessary()
1343 switch (state.getCurProcState()) { in updateAndTrimProcessLSP()
1425 if (state.getCurProcState() >= ActivityManager.PROCESS_STATE_HOME in updateAndTrimProcessLSP()
1473 if (uidRec.getCurProcState() > state.getCurProcState()) { in updateAppUidRecLSP()
1474 uidRec.setCurProcState(state.getCurProcState()); in updateAppUidRecLSP()
1499 if (uidRec.getCurProcState() != PROCESS_STATE_NONEXISTENT) { in updateUidsLSP()
1500 if (uidRec.getSetProcState() != uidRec.getCurProcState() in updateUidsLSP()
1509 + uidRec.getCurProcState() + ", capability from " in updateUidsLSP()
1515 if (ActivityManager.isProcStateBackground(uidRec.getCurProcState()) in updateUidsLSP()
1564 final boolean isCached = uidRec.getCurProcState() in updateUidsLSP()
[all …]
DActiveUids.java50 mService.mAtmInternal.onUidActive(uid, value.getCurProcState()); in put()
112 pw.print(" curProcState="); pw.print(uidRec.getCurProcState()); in dump()
DUidRecord.java196 int getCurProcState() { in getCurProcState() method in UidRecord
DContentProviderHelper.java272 ? r.mState.getCurProcState() : ActivityManager.PROCESS_STATE_UNKNOWN; in getContentProviderImpl()
313 final int providerProcessState = cpr.proc.mState.getCurProcState(); in getContentProviderImpl()
552 callingProcessState, proc.mState.getCurProcState(), in getContentProviderImpl()
1472 mService.startAssociationLocked(r.uid, r.processName, r.mState.getCurProcState(), in incProviderCountLocked()
1676 if (app == null || app.mState.getCurProcState() in maybeUpdateProviderUsageStatsLocked()
DProcessStateRecord.java599 int getCurProcState() { in getCurProcState() method in ProcessStateRecord
1351 pw.print(prefix); pw.print("curProcState="); pw.print(getCurProcState()); in dump()
DProcessList.java3276 mService.noteUidProcessState(uidRec.getUid(), uidRec.getCurProcState(),
4144 int procState = state.getCurProcState();
4330 pw.print(makeProcStateString(proc.mState.getCurProcState()));
4655 makeProcStateProtoEnum(state.getCurProcState()));
4681 makeProcStateProtoEnum(state.getCurProcState()));
4762 String procState = makeProcStateString(state.getCurProcState());
4819 pw.print("state: cur="); pw.print(makeProcStateString(state.getCurProcState()));
5183 return uidRec == null ? PROCESS_STATE_NONEXISTENT : uidRec.getCurProcState();
5236 isProcStateAllowedWhileIdleOrPowerSaveMode(uidRec.getCurProcState(),
5238 || isProcStateAllowedWhileOnRestrictBackground(uidRec.getCurProcState(),
[all …]
DActiveServices.java1128 ? callingApp.mState.getCurProcState() : ActivityManager.PROCESS_STATE_UNKNOWN; in startServiceLocked()
1237 if (proc == null || proc.mState.getCurProcState() > PROCESS_STATE_RECEIVER) { in startServiceInnerLocked()
1265 } else if (proc.mState.getCurProcState() >= ActivityManager.PROCESS_STATE_SERVICE) { in startServiceInnerLocked()
1274 sb.append("Not potential delay (state=").append(proc.mState.getCurProcState()) in startServiceInnerLocked()
2067 if (uidRec.getCurProcState() <= PROCESS_STATE_TOP) { in foregroundServiceProcStateChangedLocked()
2442 || r.app.mState.getCurProcState() <= PROCESS_STATE_TOP in setServiceForegroundInnerLocked()
2636 uidRec.getCurProcState() <= PROCESS_STATE_TOP; in setServiceForegroundInnerLocked()
3427 return mProcessRecord.mState.getCurProcState() != PROCESS_STATE_TOP; in isNotTop()
3896 final boolean currentlyTop = sr.app.mState.getCurProcState() <= PROCESS_STATE_TOP; in onFgsTimeout()
4193 ? callingApp.mState.getCurProcState() : ActivityManager.PROCESS_STATE_UNKNOWN; in bindServiceLocked()
[all …]
DProcessProfileRecord.java652 mSetProcState = state.getCurProcState(); in updateProcState()
DProcessServiceRecord.java636 final boolean procIsBoundForeground = mApp.mState.getCurProcState() in incServiceCrashCountLocked()
DProcessRecord.java725 int getCurProcState() { in getCurProcState() method in ProcessRecord
726 return mState.getCurProcState(); in getCurProcState()
DAppProfiler.java1438 int procState = app.mState.getCurProcState(); in updateLowMemStateLSP()
1462 if ((app.mState.getCurProcState() >= ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND in trimMemoryUiHiddenIfNecessaryLSP()
DServiceRecord.java1281 ? app.mState.getCurProcState() : PROCESS_STATE_NONEXISTENT; in updateProcessStateOnRequest()
DBroadcastQueueModernImpl.java1194 queue.lastProcessState = app.mState.getCurProcState(); in dispatchReceivers()
DActivityManagerService.java3255 app.mState.getCurProcState() > PROCESS_STATE_IMPORTANT_FOREGROUND)) { in setProcessMemoryTrimLevel()
5970 return uidRec.getCurProcState() <= PROCESS_STATE_IMPORTANT_FOREGROUND; in isAppForeground()
6067 states[i] = pr.mState.getCurProcState(); in getProcessStatesAndOomScoresForPIDs()
6457 proc.mState.getCurProcState())) { in getAppStartModeLOSP()
6602 final int procstate = state.getCurProcState(); in isProcessInStateToScheduleUserInitiatedJobsLocked()
15590 ? callerApp.getCurProcState() in broadcastIntentLockedTraced()
16181 return app.mState.getCurProcState(); in getRealProcessStateLocked()
17654 if (uidRec == null || uidRec.getCurProcState() > PROCESS_STATE_TOP) { in adjustFifoProcessesIfNeeded()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerServiceTest.java740 valueToString(ActivityManager.class, "PROCESS_STATE_", uidRec.getCurProcState()) in testBlockStateForUid()
1160 + validateUidRecord.getCurProcState() + " should have been equal", in testDispatchUidChanges_validateUidsUpdated()
1161 item.procState, validateUidRecord.getCurProcState()); in testDispatchUidChanges_validateUidsUpdated()
1163 + validateUidRecord.getCurProcState() + " should have been equal", in testDispatchUidChanges_validateUidsUpdated()
1435 app.mState.getCurProcState()); in testStartForegroundServiceDelegate()
1449 app.mState.getCurProcState()); in testStartForegroundServiceDelegate()
/frameworks/base/services/
Dart-profile-boot410 Lcom/android/server/am/ProcessRecord;->getCurProcState()I
434 Lcom/android/server/am/UidRecord;->getCurProcState()I
Dart-profile1050 HSPLcom/android/server/am/ProcessStateRecord;->getCurProcState()I
Dart-wear-profile6960 HPLcom/android/server/am/ProcessStateRecord;->getCurProcState()I
7209 PLcom/android/server/am/UidRecord;->getCurProcState()I