Searched refs:setProcState (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerServiceTest.java | 272 uidRec.setProcState = prevState; in verifySeqCounterAndInteractions() 430 valueToString(ActivityManager.class, "PROCESS_STATE_", uidRec.setProcState), in testBlockStateForUid() 436 uidRec.setProcState = PROCESS_STATE_RECEIVER; in testBlockStateForUid() 443 uidRec.setProcState = PROCESS_STATE_FOREGROUND_SERVICE; in testBlockStateForUid() 450 uidRec.setProcState = PROCESS_STATE_CACHED_ACTIVITY; in testBlockStateForUid() 457 uidRec.setProcState = PROCESS_STATE_NONEXISTENT; in testBlockStateForUid() 464 uidRec.setProcState = PROCESS_STATE_SERVICE; in testBlockStateForUid() 471 uidRec.setProcState = PROCESS_STATE_TOP; in testBlockStateForUid() 720 item.processState, validateUidRecord.setProcState); in testDispatchUidChanges_validateUidsUpdated() 798 uidRecord.setProcState = expectedProcState; in testEnqueueUidChangeLocked_dispatchUidsChanged()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjuster.java | 552 && (uidRec.setProcState != uidRec.getCurProcState() in updateOomAdjLocked() 555 + ": proc state from " + uidRec.setProcState + " to " in updateOomAdjLocked() 562 if (!ActivityManager.isProcStateBackground(uidRec.setProcState) in updateOomAdjLocked() 589 final boolean wasCached = uidRec.setProcState in updateOomAdjLocked() 593 if (wasCached != isCached || uidRec.setProcState == PROCESS_STATE_NONEXISTENT) { in updateOomAdjLocked() 596 uidRec.setProcState = uidRec.getCurProcState(); in updateOomAdjLocked() 599 mService.mAtmInternal.onUidProcStateChanged(uidRec.uid, uidRec.setProcState); in updateOomAdjLocked() 999 || app.setProcState <= PROCESS_STATE_TOP)) { in computeOomAdjLocked() 1852 if (app.setProcState == PROCESS_STATE_NONEXISTENT in applyOomAdjLocked() 1853 || ProcessList.procStatesDifferForMem(app.getCurProcState(), app.setProcState)) { in applyOomAdjLocked() [all …]
|
D | AppCompactor.java | 304 COMPACT_PROCESS_MSG, app.setAdj, app.setProcState)); in compactAppSome() 313 COMPACT_PROCESS_MSG, app.setAdj, app.setProcState)); in compactAppFull() 323 COMPACT_PROCESS_MSG, app.curAdj, app.setProcState)); in compactAppPersistent() 338 COMPACT_PROCESS_MSG, app.curAdj, app.setProcState)); in compactAppBfgs()
|
D | UidRecord.java | 36 int setProcState = ActivityManager.PROCESS_STATE_NONEXISTENT; field in UidRecord
|
D | ProcessRecord.java | 163 int setProcState = PROCESS_STATE_NONEXISTENT; // Last set process state in process tracker field in ProcessRecord 413 pw.print(" setProcState="); pw.print(setProcState); in dump() 478 if (setProcState > ActivityManager.PROCESS_STATE_SERVICE) { in dump()
|
D | ActivityManagerService.java | 1985 if (proc.thread != null && procState == proc.setProcState 2004 if (pss != 0 && proc.thread != null && proc.setProcState == procState 2016 proc.setProcState + " " + 3191 if (procState > proc.setProcState) { in getPackageProcessState() 3194 procState = proc.setProcState; in getPackageProcessState() 3379 validateUid.setCurProcState(validateUid.setProcState = item.processState); in dispatchUidsChanged() 3701 rec.setProcState, rec.adjType, rec.makeAdjReason())); in doLowMemReportIfNeededLocked() 3765 + ProcessList.makeProcStateString(app.setProcState), app.info.uid); in appDiedLocked() 3774 app.setAdj, app.setProcState); in appDiedLocked() 6674 if (conn.client.setProcState < PROCESS_STATE_LAST_ACTIVITY) { in decProviderCountLocked() [all …]
|
D | ProcessList.java | 1433 && proc.setProcState >= ActivityManager.PROCESS_STATE_CACHED_EMPTY 1450 && proc.setProcState >= ActivityManager.PROCESS_STATE_CACHED_EMPTY) { 2571 && (maxProcState < 0 || app.setProcState > maxProcState))) { in killAllBackgroundProcessesExceptLocked() 3104 && rec.setProcState >= PROCESS_STATE_CACHED_ACTIVITY) { in haveBackgroundProcessLocked()
|
D | ActiveServices.java | 3171 && s.app.setProcState <= ActivityManager.PROCESS_STATE_HEAVY_WEIGHT) { in removeConnectionLocked() 3648 && proc.setProcState >= ActivityManager.PROCESS_STATE_LAST_ACTIVITY) { in killServicesLocked()
|