Home
last modified time | relevance | path

Searched refs:curProcState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DUidRecord.java37 int curProcState; field in UidRecord
127 curProcState = ActivityManager.PROCESS_STATE_CACHED_EMPTY; in reset()
151 proto.write(UidRecordProto.CURRENT, ProcessList.makeProcStateProtoEnum(curProcState)); in writeToProto()
181 sb.append(ProcessList.makeProcStateString(curProcState)); in toString()
DProcessList.java353 public static String makeProcStateString(int curProcState) { in makeProcStateString() argument
355 switch (curProcState) { in makeProcStateString()
423 public static int makeProcStateProtoEnum(int curProcState) { in makeProcStateProtoEnum() argument
424 switch (curProcState) { in makeProcStateProtoEnum()
DProcessRecord.java103 int curProcState = PROCESS_STATE_NONEXISTENT; // Currently computed process state field in ProcessRecord
334 pw.print(prefix); pw.print("curProcState="); pw.print(curProcState); in dump()
810 curProcState = repProcState = newState; in forceProcessStateUpTo()
DActivityManagerService.java4824 app.curProcState > ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND)) { in setProcessMemoryTrimLevel()
4937 validateUid.curProcState = validateUid.setProcState = item.processState; in dispatchUidsChanged()
7442 noteUidProcessState(uidRec.uid, uidRec.curProcState); in addProcessNameLocked()
8766 return uidRec.curProcState <= ActivityManager.PROCESS_STATE_IMPORTANT_FOREGROUND; in isAppForeground()
8780 return uidRec == null ? ActivityManager.PROCESS_STATE_NONEXISTENT : uidRec.curProcState; in getUidStateLocked()
9028 pr.curProcState; in getProcessStatesAndOomScoresForPIDs()
9420 !ActivityManager.isProcStateBackground(proc.curProcState)) { in getAppStartModeLocked()
12056 startAssociationLocked(r.uid, r.processName, r.curProcState, in incProviderCountLocked()
14228 return uidRec != null ? uidRec.curProcState : ActivityManager.PROCESS_STATE_NONEXISTENT; in getUidProcessState()
15882 int procState = app.curProcState; in fillInProcMemInfo()
[all …]
DActiveServices.java552 if (proc == null || proc.curProcState > ActivityManager.PROCESS_STATE_RECEIVER) { in startServiceLocked()
580 } else if (proc.curProcState >= ActivityManager.PROCESS_STATE_SERVICE) { in startServiceLocked()
589 sb.append("Not potential delay (state=").append(proc.curProcState) in startServiceLocked()
1139 if (uidRec.curProcState <= ActivityManager.PROCESS_STATE_TOP) { in foregroundServiceProcStateChangedLocked()
1257 r.app.uidRecord.curProcState in setServiceForegroundInnerLocked()
1601 mAm.startAssociationLocked(callerApp.uid, callerApp.processName, callerApp.curProcState, in bindServiceLocked()
DAppErrors.java679 (app.curProcState == ActivityManager.PROCESS_STATE_BOUND_FOREGROUND_SERVICE); in handleAppCrashLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java276 uidRec.curProcState = curState; in verifySeqCounterAndInteractions()
311 valueToString(ActivityManager.class, "PROCESS_STATE_", uidRec.curProcState)); in testBlockStateForUid()
316 uidRec.curProcState = PROCESS_STATE_RECEIVER; in testBlockStateForUid()
323 uidRec.curProcState = PROCESS_STATE_BOUND_FOREGROUND_SERVICE; in testBlockStateForUid()
330 uidRec.curProcState = PROCESS_STATE_CACHED_EMPTY; in testBlockStateForUid()
337 uidRec.curProcState = PROCESS_STATE_CACHED_ACTIVITY; in testBlockStateForUid()
344 uidRec.curProcState = PROCESS_STATE_FOREGROUND_SERVICE; in testBlockStateForUid()
351 uidRec.curProcState = PROCESS_STATE_LAST_ACTIVITY; in testBlockStateForUid()
595 + validateUidRecord.curProcState + " should have been equal", in testDispatchUidChanges_validateUidsUpdated()
596 item.processState, validateUidRecord.curProcState); in testDispatchUidChanges_validateUidsUpdated()
[all …]