Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DOomAdjusterTests.java94 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_PERSISTENT_UI); in testMaybeUpdateUsageStats_ProcStatePersistentUI()
103 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_TOP); in testMaybeUpdateUsageStats_ProcStateTop()
112 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_TOP); in testMaybeUpdateUsageStats_ProcStateTop_PreviousInteraction()
122 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_TOP); in testMaybeUpdateUsageStats_ProcStateTop_PastUsageInterval()
132 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_BOUND_TOP); in testMaybeUpdateUsageStats_ProcStateBoundTop()
141 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE); in testMaybeUpdateUsageStats_ProcStateFGS()
152 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE); in testMaybeUpdateUsageStats_ProcStateFGS_ShortInteraction()
163 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE); in testMaybeUpdateUsageStats_ProcStateFGS_LongInteraction()
175 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE); in testMaybeUpdateUsageStats_ProcStateFGS_PreviousLongInteraction()
184 mProcessRecord.setCurProcState(ActivityManager.PROCESS_STATE_FOREGROUND_SERVICE_LOCATION); in testMaybeUpdateUsageStats_ProcStateFGSLocation()
[all …]
DActivityManagerServiceTest.java273 uidRec.setCurProcState(curState); in verifySeqCounterAndInteractions()
437 uidRec.setCurProcState(PROCESS_STATE_RECEIVER); in testBlockStateForUid()
444 uidRec.setCurProcState(PROCESS_STATE_BOUND_FOREGROUND_SERVICE); in testBlockStateForUid()
451 uidRec.setCurProcState(PROCESS_STATE_CACHED_EMPTY); in testBlockStateForUid()
458 uidRec.setCurProcState(PROCESS_STATE_CACHED_ACTIVITY); in testBlockStateForUid()
465 uidRec.setCurProcState(PROCESS_STATE_FOREGROUND_SERVICE); in testBlockStateForUid()
472 uidRec.setCurProcState(PROCESS_STATE_LAST_ACTIVITY); in testBlockStateForUid()
/frameworks/base/services/core/java/com/android/server/am/
DUidRecord.java128 public void setCurProcState(int curProcState) { in setCurProcState() method in UidRecord
133 setCurProcState(ActivityManager.PROCESS_STATE_CACHED_EMPTY); in reset()
DOomAdjuster.java510 uidRec.setCurProcState(app.getCurProcState()); in updateOomAdjLocked()
782 app.setCurProcState(PROCESS_STATE_CACHED_EMPTY); in computeOomAdjLocked()
813 app.setCurProcState(ActivityManager.PROCESS_STATE_PERSISTENT); in computeOomAdjLocked()
833 app.setCurProcState(ActivityManager.PROCESS_STATE_PERSISTENT_UI); in computeOomAdjLocked()
837 app.setCurProcState(PROCESS_STATE_BOUND_FOREGROUND_SERVICE); in computeOomAdjLocked()
1621 app.setCurProcState(procState); in computeOomAdjLocked()
DProcessRecord.java916 setCurProcState(newState); in forceProcessStateUpTo()
1003 void setCurProcState(int curProcState) { in setCurProcState() method in ProcessRecord
DActivityManagerService.java3379 validateUid.setCurProcState(validateUid.setProcState = item.processState); in dispatchUidsChanged()
/frameworks/base/services/
Dart-profile3553 HSPLcom/android/server/am/ProcessRecord;->setCurProcState(I)V