/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjusterModernImpl.java | 255 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 …]
|
D | OomAdjuster.java | 1203 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 …]
|
D | ActiveUids.java | 50 mService.mAtmInternal.onUidActive(uid, value.getCurProcState()); in put() 112 pw.print(" curProcState="); pw.print(uidRec.getCurProcState()); in dump()
|
D | UidRecord.java | 196 int getCurProcState() { in getCurProcState() method in UidRecord
|
D | ContentProviderHelper.java | 272 ? 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()
|
D | ProcessStateRecord.java | 599 int getCurProcState() { in getCurProcState() method in ProcessStateRecord 1351 pw.print(prefix); pw.print("curProcState="); pw.print(getCurProcState()); in dump()
|
D | ProcessList.java | 3276 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 …]
|
D | ActiveServices.java | 1128 ? 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 …]
|
D | ProcessProfileRecord.java | 652 mSetProcState = state.getCurProcState(); in updateProcState()
|
D | ProcessServiceRecord.java | 636 final boolean procIsBoundForeground = mApp.mState.getCurProcState() in incServiceCrashCountLocked()
|
D | ProcessRecord.java | 725 int getCurProcState() { in getCurProcState() method in ProcessRecord 726 return mState.getCurProcState(); in getCurProcState()
|
D | AppProfiler.java | 1438 int procState = app.mState.getCurProcState(); in updateLowMemStateLSP() 1462 if ((app.mState.getCurProcState() >= ActivityManager.PROCESS_STATE_IMPORTANT_BACKGROUND in trimMemoryUiHiddenIfNecessaryLSP()
|
D | ServiceRecord.java | 1281 ? app.mState.getCurProcState() : PROCESS_STATE_NONEXISTENT; in updateProcessStateOnRequest()
|
D | BroadcastQueueModernImpl.java | 1194 queue.lastProcessState = app.mState.getCurProcState(); in dispatchReceivers()
|
D | ActivityManagerService.java | 3255 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/ |
D | ActivityManagerServiceTest.java | 740 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/ |
D | art-profile-boot | 410 Lcom/android/server/am/ProcessRecord;->getCurProcState()I 434 Lcom/android/server/am/UidRecord;->getCurProcState()I
|
D | art-profile | 1050 HSPLcom/android/server/am/ProcessStateRecord;->getCurProcState()I
|
D | art-wear-profile | 6960 HPLcom/android/server/am/ProcessStateRecord;->getCurProcState()I 7209 PLcom/android/server/am/UidRecord;->getCurProcState()I
|