Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java343 switch (app.getCurProcState()) { in updateOomAdjLocked()
454 switch (app.getCurProcState()) { in updateOomAdjLocked()
509 if (uidRec.getCurProcState() > app.getCurProcState()) { in updateOomAdjLocked()
510 uidRec.setCurProcState(app.getCurProcState()); in updateOomAdjLocked()
518 if (app.getCurProcState() >= ActivityManager.PROCESS_STATE_HOME in updateOomAdjLocked()
551 if (uidRec.getCurProcState() != PROCESS_STATE_NONEXISTENT in updateOomAdjLocked()
552 && (uidRec.setProcState != uidRec.getCurProcState() in updateOomAdjLocked()
556 + uidRec.getCurProcState() + ", whitelist from " + uidRec.setWhitelist in updateOomAdjLocked()
558 if (ActivityManager.isProcStateBackground(uidRec.getCurProcState()) in updateOomAdjLocked()
591 final boolean isCached = uidRec.getCurProcState() in updateOomAdjLocked()
[all …]
DActiveUids.java37 mService.mAtmInternal.onUidActive(uid, value.getCurProcState()); in put()
DUidRecord.java124 public int getCurProcState() { in getCurProcState() method in UidRecord
DActiveServices.java589 if (proc == null || proc.getCurProcState() > ActivityManager.PROCESS_STATE_RECEIVER) { in startServiceLocked()
617 } else if (proc.getCurProcState() >= ActivityManager.PROCESS_STATE_SERVICE) { in startServiceLocked()
626 sb.append("Not potential delay (state=").append(proc.getCurProcState()) in startServiceLocked()
1237 if (uidRec.getCurProcState() <= ActivityManager.PROCESS_STATE_TOP) { in foregroundServiceProcStateChangedLocked()
1383 r.app.uidRecord.getCurProcState() in setServiceForegroundInnerLocked()
1771 callerApp.getCurProcState(), s.appInfo.uid, s.appInfo.longVersionCode, in bindServiceLocked()
1828 || (callerApp.getCurProcState() <= ActivityManager.PROCESS_STATE_TOP in bindServiceLocked()
DProcessList.java2423 mService.noteUidProcessState(uidRec.uid, uidRec.getCurProcState()); in addProcessNameLocked()
3141 int procState = app.getCurProcState(); in fillInProcMemInfoLocked()
3145 outInfo.processState = app.getCurProcState(); in fillInProcMemInfoLocked()
3303 return uidRec == null ? PROCESS_STATE_NONEXISTENT : uidRec.getCurProcState(); in getUidProcStateLocked()
DProcessRecord.java410 pw.print(prefix); pw.print("curProcState="); pw.print(getCurProcState()); in dump()
1008 int getCurProcState() { in getCurProcState() method in ProcessRecord
DActivityManagerService.java3218 app.getCurProcState() > ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND)) { in setProcessMemoryTrimLevel()
5738 return uidRec.getCurProcState() <= ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND; in isAppForeground()
5807 states[i] = (pr == null) ? PROCESS_STATE_NONEXISTENT : pr.getCurProcState(); in getProcessStatesAndOomScoresForPIDs()
6091 !ActivityManager.isProcStateBackground(proc.getCurProcState())) { in getAppStartModeLocked()
6648 startAssociationLocked(r.uid, r.processName, r.getCurProcState(), in incProviderCountLocked()
10491 pw.print(ProcessList.makeProcStateString(proc.getCurProcState())); in dumpLruEntryLocked()
11828 ProcessList.makeProcStateProtoEnum(r.getCurProcState())); in writeProcessOomListToProto()
11854 ProcessList.makeProcStateProtoEnum(r.getCurProcState())); in writeProcessOomListToProto()
11927 String procState = ProcessList.makeProcStateString(r.getCurProcState()); in dumpProcessOomList()
11982 ProcessList.makeProcStateString(r.getCurProcState())); in dumpProcessOomList()
[all …]
DAppErrors.java685 (app.getCurProcState() == ActivityManager.PROCESS_STATE_BOUND_FOREGROUND_SERVICE);
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java431 valueToString(ActivityManager.class, "PROCESS_STATE_", uidRec.getCurProcState()) in testBlockStateForUid()
716 + validateUidRecord.getCurProcState() + " should have been equal", in testDispatchUidChanges_validateUidsUpdated()
717 item.processState, validateUidRecord.getCurProcState()); in testDispatchUidChanges_validateUidsUpdated()
719 + validateUidRecord.getCurProcState() + " should have been equal", in testDispatchUidChanges_validateUidsUpdated()
/frameworks/base/services/
Dart-profile3509 HSPLcom/android/server/am/ProcessRecord;->getCurProcState()I