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() 419 valueToString(ActivityManager.class, "PROCESS_STATE_", uidRec.setProcState), in testBlockStateForUid() 425 uidRec.setProcState = PROCESS_STATE_RECEIVER; in testBlockStateForUid() 432 uidRec.setProcState = PROCESS_STATE_FOREGROUND_SERVICE; in testBlockStateForUid() 439 uidRec.setProcState = PROCESS_STATE_CACHED_ACTIVITY; in testBlockStateForUid() 446 uidRec.setProcState = PROCESS_STATE_NONEXISTENT; in testBlockStateForUid() 453 uidRec.setProcState = PROCESS_STATE_SERVICE; in testBlockStateForUid() 460 uidRec.setProcState = PROCESS_STATE_TOP; in testBlockStateForUid() 709 item.processState, validateUidRecord.setProcState); in testDispatchUidChanges_validateUidsUpdated() 787 uidRecord.setProcState = expectedProcState; in testEnqueueUidChangeLocked_dispatchUidsChanged()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjuster.java | 548 && (uidRec.setProcState != uidRec.getCurProcState() in updateOomAdjLocked() 551 + ": proc state from " + uidRec.setProcState + " to " in updateOomAdjLocked() 558 if (!ActivityManager.isProcStateBackground(uidRec.setProcState) in updateOomAdjLocked() 585 final boolean wasCached = uidRec.setProcState in updateOomAdjLocked() 589 if (wasCached != isCached || uidRec.setProcState == PROCESS_STATE_NONEXISTENT) { in updateOomAdjLocked() 592 uidRec.setProcState = uidRec.getCurProcState(); in updateOomAdjLocked() 595 mService.mAtmInternal.onUidProcStateChanged(uidRec.uid, uidRec.setProcState); in updateOomAdjLocked() 995 || app.setProcState <= PROCESS_STATE_TOP)) { in computeOomAdjLocked() 1848 if (app.setProcState == PROCESS_STATE_NONEXISTENT in applyOomAdjLocked() 1849 || 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 | 162 int setProcState = PROCESS_STATE_NONEXISTENT; // Last set process state in process tracker field in ProcessRecord 410 pw.print(" setProcState="); pw.print(setProcState); in dump() 475 if (setProcState > ActivityManager.PROCESS_STATE_SERVICE) { in dump()
|
D | ActivityManagerService.java | 1974 if (proc.thread != null && procState == proc.setProcState 1993 if (pss != 0 && proc.thread != null && proc.setProcState == procState 2005 proc.setProcState + " " + 3163 if (procState > proc.setProcState) { in getPackageProcessState() 3166 procState = proc.setProcState; in getPackageProcessState() 3351 validateUid.setCurProcState(validateUid.setProcState = item.processState); in dispatchUidsChanged() 3672 rec.setProcState, rec.adjType, rec.makeAdjReason())); in doLowMemReportIfNeededLocked() 3736 + ProcessList.makeProcStateString(app.setProcState), app.info.uid); in appDiedLocked() 3745 app.setAdj, app.setProcState); in appDiedLocked() 6637 if (conn.client.setProcState < PROCESS_STATE_LAST_ACTIVITY) { in decProviderCountLocked() [all …]
|
D | ProcessList.java | 1341 && proc.setProcState >= ActivityManager.PROCESS_STATE_CACHED_EMPTY 1358 && proc.setProcState >= ActivityManager.PROCESS_STATE_CACHED_EMPTY) { 2443 && (maxProcState < 0 || app.setProcState > maxProcState))) { in killAllBackgroundProcessesExceptLocked() 2985 && rec.setProcState >= PROCESS_STATE_CACHED_ACTIVITY) { in haveBackgroundProcessLocked()
|
D | ActiveServices.java | 3134 && s.app.setProcState <= ActivityManager.PROCESS_STATE_HEAVY_WEIGHT) { in removeConnectionLocked() 3608 && proc.setProcState >= ActivityManager.PROCESS_STATE_LAST_ACTIVITY) { in killServicesLocked()
|