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()
426 uidRec.setCurProcState(PROCESS_STATE_RECEIVER); in testBlockStateForUid()
433 uidRec.setCurProcState(PROCESS_STATE_BOUND_FOREGROUND_SERVICE); in testBlockStateForUid()
440 uidRec.setCurProcState(PROCESS_STATE_CACHED_EMPTY); in testBlockStateForUid()
447 uidRec.setCurProcState(PROCESS_STATE_CACHED_ACTIVITY); in testBlockStateForUid()
454 uidRec.setCurProcState(PROCESS_STATE_FOREGROUND_SERVICE); in testBlockStateForUid()
461 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.java506 uidRec.setCurProcState(app.getCurProcState()); in updateOomAdjLocked()
778 app.setCurProcState(PROCESS_STATE_CACHED_EMPTY); in computeOomAdjLocked()
809 app.setCurProcState(ActivityManager.PROCESS_STATE_PERSISTENT); in computeOomAdjLocked()
829 app.setCurProcState(ActivityManager.PROCESS_STATE_PERSISTENT_UI); in computeOomAdjLocked()
833 app.setCurProcState(PROCESS_STATE_BOUND_FOREGROUND_SERVICE); in computeOomAdjLocked()
1617 app.setCurProcState(procState); in computeOomAdjLocked()
DProcessRecord.java913 setCurProcState(newState); in forceProcessStateUpTo()
1000 void setCurProcState(int curProcState) { in setCurProcState() method in ProcessRecord
DActivityManagerService.java3351 validateUid.setCurProcState(validateUid.setProcState = item.processState); in dispatchUidsChanged()
/frameworks/base/services/
Dart-profile3553 HSPLcom/android/server/am/ProcessRecord;->setCurProcState(I)V