Home
last modified time | relevance | path

Searched refs:mProcessList (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java173 mAms.mProcessList.mProcStateSeqCounter = 42; in incrementProcStateSeqAndNotifyAppsLocked()
256 mAms.mProcessList.mActiveUids.put(uid, uidRec); in addUidRecord()
260 mAms.mProcessList.mLruProcesses.add(appRec); in addUidRecord()
277 assertEquals(expectedGlobalCounter, mAms.mProcessList.mProcStateSeqCounter); in verifySeqCounterAndInteractions()
280 for (int i = mAms.mProcessList.getLruSizeLocked() - 1; i >= 0; --i) { in verifySeqCounterAndInteractions()
281 final ProcessRecord app = mAms.mProcessList.mLruProcesses.get(i); in verifySeqCounterAndInteractions()
319 final IsolatedUidRangeAllocator allocator = mAms.mProcessList.mAppIsolatedUidRangeAllocator; in testIsolatedUidRangeAllocator()
415 final IsolatedUidRange globalUidRange = mAms.mProcessList.mGlobalIsolatedUids; in testGlobalIsolatedUidAllocator()
872 mAms.mProcessList.mActiveUids.put(Process.myUid(), record); in verifyWaitingForNetworkStateUpdate()
895 mAms.mProcessList.mActiveUids.clear(); in verifyWaitingForNetworkStateUpdate()
DActivityManagerInternalTest.java120 mAms.mProcessList.mActiveUids.clear(); in verifyNetworkUpdatedProcStateSeq()
129 mAms.mProcessList.mActiveUids.put(uid, record); in addActiveUidRecord()
DOomAdjusterTests.java69 sService.mOomAdjuster = new OomAdjuster(sService, sService.mProcessList, null); in setUpOnce()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java672 final ProcessList mProcessList = new ProcessList(); field in ActivityManagerService
1704 for (int i = mProcessList.mLruProcesses.size() - 1; i >= 0; i--) { in handleMessage()
1705 ProcessRecord r = mProcessList.mLruProcesses.get(i); in handleMessage()
1718 mProcessList.clearAllDnsCacheLocked(); in handleMessage()
1722 mProcessList.setAllHttpProxy(); in handleMessage()
1750 mProcessList.killAppZygoteIfNeededLocked(appZygote); in handleMessage()
1775 mProcessList.updateAllTimePrefsLocked(msg.arg1); in handleMessage()
1906 mProcessList.handleAllTrustStorageUpdateLocked(); in handleMessage()
2072 ProcessRecord app = mProcessList.newProcessRecordLocked(info, info.processName, in setSystemProcess()
2082 mProcessList.updateLruProcessLocked(app, false, null); in setSystemProcess()
[all …]
DOomAdjuster.java163 private final ProcessList mProcessList; field in OomAdjuster
167 mProcessList = processList; in OomAdjuster()
257 final int N = mProcessList.getLruSizeLocked(); in updateOomAdjLocked()
326 ProcessRecord app = mProcessList.mLruProcesses.get(i); in updateOomAdjLocked()
332 ProcessRecord app = mProcessList.mLruProcesses.get(i); in updateOomAdjLocked()
428 ProcessRecord app = mProcessList.mLruProcesses.get(i); in updateOomAdjLocked()
436 ProcessRecord app = mProcessList.mLruProcesses.get(i); in updateOomAdjLocked()
449 ProcessRecord app = mProcessList.mLruProcesses.get(i); in updateOomAdjLocked()
1577 && app.lastPss >= mProcessList.getCachedRestoreThresholdKb()) { in computeOomAdjLocked()
2121 proto.write(ActivityManagerServiceDumpProcessesProto.LRU_SEQ, mProcessList.mLruSeq); in dumpProcessListVariablesLocked()
[all …]
DAppErrors.java513 mService.mProcessList.removeProcessLocked(r, false, true, "crash"); in crashApplicationInner()
531 mService.mProcessList.removeProcessLocked(r, false, false, "crash"); in crashApplicationInner()
744 mService.mProcessList.removeProcessLocked(app, false, tryAgain, "crash");
DProcessRecord.java1305 mService.mProcessList.updateLruProcessLocked(this, activityChange, null /* client */); in updateProcessInfo()
1400 return mService.mProcessList.mLruProcesses; in getLruProcessList()
DBroadcastQueue.java313 mService.mProcessList.updateLruProcessLocked(app, false, null); in processCurBroadcastLocked()
1020 final ProcessRecord proc = mService.mProcessList.mProcessNames.get( in processNextBroadcastLocked()
DActiveServices.java532 UidRecord uidRec = mAm.mProcessList.getUidRecordLocked(r.appInfo.uid); in startServiceLocked()
3890 if (timeout != null && mAm.mProcessList.mLruProcesses.contains(proc)) { in serviceTimeout()