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.java339 switch (app.getCurProcState()) { in updateOomAdjLocked()
450 switch (app.getCurProcState()) { in updateOomAdjLocked()
505 if (uidRec.getCurProcState() > app.getCurProcState()) { in updateOomAdjLocked()
506 uidRec.setCurProcState(app.getCurProcState()); in updateOomAdjLocked()
514 if (app.getCurProcState() >= ActivityManager.PROCESS_STATE_HOME in updateOomAdjLocked()
547 if (uidRec.getCurProcState() != PROCESS_STATE_NONEXISTENT in updateOomAdjLocked()
548 && (uidRec.setProcState != uidRec.getCurProcState() in updateOomAdjLocked()
552 + uidRec.getCurProcState() + ", whitelist from " + uidRec.setWhitelist in updateOomAdjLocked()
554 if (ActivityManager.isProcStateBackground(uidRec.getCurProcState()) in updateOomAdjLocked()
587 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.java576 if (proc == null || proc.getCurProcState() > ActivityManager.PROCESS_STATE_RECEIVER) { in startServiceLocked()
604 } else if (proc.getCurProcState() >= ActivityManager.PROCESS_STATE_SERVICE) { in startServiceLocked()
613 sb.append("Not potential delay (state=").append(proc.getCurProcState()) in startServiceLocked()
1213 if (uidRec.getCurProcState() <= ActivityManager.PROCESS_STATE_TOP) { in foregroundServiceProcStateChangedLocked()
1359 r.app.uidRecord.getCurProcState() in setServiceForegroundInnerLocked()
1747 callerApp.getCurProcState(), s.appInfo.uid, s.appInfo.longVersionCode, in bindServiceLocked()
1804 || (callerApp.getCurProcState() <= ActivityManager.PROCESS_STATE_TOP in bindServiceLocked()
DProcessList.java2295 mService.noteUidProcessState(uidRec.uid, uidRec.getCurProcState()); in addProcessNameLocked()
3022 int procState = app.getCurProcState(); in fillInProcMemInfoLocked()
3026 outInfo.processState = app.getCurProcState(); in fillInProcMemInfoLocked()
3184 return uidRec == null ? PROCESS_STATE_NONEXISTENT : uidRec.getCurProcState(); in getUidProcStateLocked()
DProcessRecord.java407 pw.print(prefix); pw.print("curProcState="); pw.print(getCurProcState()); in dump()
1005 int getCurProcState() { in getCurProcState() method in ProcessRecord
DActivityManagerService.java3194 app.getCurProcState() > ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND)) { in setProcessMemoryTrimLevel()
5709 return uidRec.getCurProcState() <= ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND; in isAppForeground()
5778 states[i] = (pr == null) ? PROCESS_STATE_NONEXISTENT : pr.getCurProcState(); in getProcessStatesAndOomScoresForPIDs()
6062 !ActivityManager.isProcStateBackground(proc.getCurProcState())) { in getAppStartModeLocked()
6619 startAssociationLocked(r.uid, r.processName, r.getCurProcState(), in incProviderCountLocked()
10440 pw.print(ProcessList.makeProcStateString(proc.getCurProcState())); in dumpLruEntryLocked()
11777 ProcessList.makeProcStateProtoEnum(r.getCurProcState())); in writeProcessOomListToProto()
11803 ProcessList.makeProcStateProtoEnum(r.getCurProcState())); in writeProcessOomListToProto()
11876 String procState = ProcessList.makeProcStateString(r.getCurProcState()); in dumpProcessOomList()
11931 ProcessList.makeProcStateString(r.getCurProcState())); in dumpProcessOomList()
[all …]
DAppErrors.java688 (app.getCurProcState() == ActivityManager.PROCESS_STATE_BOUND_FOREGROUND_SERVICE);
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java420 valueToString(ActivityManager.class, "PROCESS_STATE_", uidRec.getCurProcState()) in testBlockStateForUid()
705 + validateUidRecord.getCurProcState() + " should have been equal", in testDispatchUidChanges_validateUidsUpdated()
706 item.processState, validateUidRecord.getCurProcState()); in testDispatchUidChanges_validateUidsUpdated()
708 + validateUidRecord.getCurProcState() + " should have been equal", in testDispatchUidChanges_validateUidsUpdated()
/frameworks/base/services/
Dart-profile3509 HSPLcom/android/server/am/ProcessRecord;->getCurProcState()I