Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerServiceTest.java194 mAms.mProcessList.mProcStateSeqCounter = 42; in incrementProcStateSeqAndNotifyAppsLocked()
277 mAms.mProcessList.mActiveUids.put(uid, uidRec); in addUidRecord()
284 mAms.mProcessList.mLruProcesses.add(appRec); in addUidRecord()
298 mAms.mProcessList.incrementProcStateSeqAndNotifyAppsLocked(mAms.mProcessList.mActiveUids); in verifySeqCounterAndInteractions()
301 assertEquals(expectedGlobalCounter, mAms.mProcessList.mProcStateSeqCounter); in verifySeqCounterAndInteractions()
304 for (int i = mAms.mProcessList.getLruSizeLocked() - 1; i >= 0; --i) { in verifySeqCounterAndInteractions()
305 final ProcessRecord app = mAms.mProcessList.mLruProcesses.get(i); in verifySeqCounterAndInteractions()
343 final IsolatedUidRangeAllocator allocator = mAms.mProcessList.mAppIsolatedUidRangeAllocator; in testIsolatedUidRangeAllocator()
439 final IsolatedUidRange globalUidRange = mAms.mProcessList.mGlobalIsolatedUids; in testGlobalIsolatedUidAllocator()
464 expectedBlockState, mAms.mProcessList.getBlockStateForUid(uidRec)); in testBlockStateForUid()
[all …]
DActivityManagerInternalTest.java130 mAms.mProcessList.mActiveUids.clear(); in verifyNetworkUpdatedProcStateSeq()
139 mAms.mProcessList.mActiveUids.put(uid, record); in addActiveUidRecord()
DOomAdjusterTests.java80 sService.mOomAdjuster = new OomAdjuster(sService, sService.mProcessList, null); in setUpOnce()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java708 final ProcessList mProcessList; field in ActivityManagerService
1783 for (int i = mProcessList.mLruProcesses.size() - 1; i >= 0; i--) { in handleMessage()
1784 ProcessRecord r = mProcessList.mLruProcesses.get(i); in handleMessage()
1797 mProcessList.clearAllDnsCacheLocked(); in handleMessage()
1801 mProcessList.setAllHttpProxy(); in handleMessage()
1829 mProcessList.killAppZygoteIfNeededLocked(appZygote, false /* force */); in handleMessage()
1854 mProcessList.updateAllTimePrefsLocked(msg.arg1); in handleMessage()
1950 mProcessList.handleAllTrustStorageUpdateLocked(); in handleMessage()
2121 ProcessRecord app = mProcessList.newProcessRecordLocked(info, info.processName, in setSystemProcess()
2131 mProcessList.updateLruProcessLocked(app, false, null); in setSystemProcess()
[all …]
DAppErrors.java441 mService.mProcessList.noteAppKill(r, (crashInfo != null in crashApplicationInner()
513 mService.mProcessList.removeProcessLocked(r, false, true, in crashApplicationInner()
532 mService.mProcessList.removeProcessLocked(r, false, false, in crashApplicationInner()
590 mService.mProcessList.noteAppKill(pid, uid, in handleAppCrashInActivityController()
750 mService.mProcessList.removeProcessLocked(app, false, tryAgain,
DOomAdjuster.java205 private final ProcessList mProcessList; field in OomAdjuster
233 mProcessList = processList; in OomAdjuster()
350 mProcessList.incrementProcStateSeqAndNotifyAppsLocked(uids); in updateOomAdjLocked()
508 ArrayList<ProcessRecord> activeProcesses = fullUpdate ? mProcessList.mLruProcesses in updateOomAdjLockedInner()
570 assignCachedAdjIfNecessary(mProcessList.mLruProcesses); in updateOomAdjLockedInner()
772 ArrayList<ProcessRecord> lruList = mProcessList.mLruProcesses; in updateAndTrimProcessLocked()
867 mProcessList.incrementProcStateSeqAndNotifyAppsLocked(activeUids); in updateAndTrimProcessLocked()
1970 && app.lastPss >= mProcessList.getCachedRestoreThresholdKb()) { in computeOomAdjLocked()
2559 proto.write(ActivityManagerServiceDumpProcessesProto.LRU_SEQ, mProcessList.mLruSeq); in dumpProcessListVariablesLocked()
2570 pw.println(" mAdjSeq=" + mAdjSeq + " mLruSeq=" + mProcessList.mLruSeq); in dumpSequenceNumbersLocked()
[all …]
DProcessRecord.java918 mService.mProcessList.noteAppKill(this, reasonCode, subReason, reason); in kill()
1457 mService.mProcessList.updateLruProcessLocked(this, activityChange, null /* client */); in updateProcessInfo()
1552 return mService.mProcessList.mLruProcesses; in getLruProcessList()
1709 mService.mProcessList.mAppExitInfoTracker.scheduleLogAnrTrace( in appNotResponding()
DBroadcastQueue.java299 mService.mProcessList.updateLruProcessLocked(app, false, null); in processCurBroadcastLocked()
1013 final ProcessRecord proc = mService.mProcessList.mProcessNames.get( in processNextBroadcastLocked()
DActiveServices.java574 UidRecord uidRec = mAm.mProcessList.getUidRecordLocked(r.appInfo.uid); in startServiceLocked()
4208 if (timeout != null && mAm.mProcessList.mLruProcesses.contains(proc)) { in serviceTimeout()
DActivityManagerShellCommand.java1046 mInternal.mProcessList.mAppExitInfoTracker.clearHistoryProcessExitInfo(packageName, userId);
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DMockingOomAdjusterTests.java173 sService.mOomAdjuster = new OomAdjuster(sService, sService.mProcessList, in setUpOnce()
1050 ArrayList<ProcessRecord> lru = sService.mProcessList.mLruProcesses; in testUpdateOomAdj_DoOne_Service_Chain_BoundByFgService_Cycle()
1087 ArrayList<ProcessRecord> lru = sService.mProcessList.mLruProcesses; in testUpdateOomAdj_DoOne_Service_Chain_BoundByFgService_Cycle_2()
1324 ArrayList<ProcessRecord> lru = sService.mProcessList.mLruProcesses; in testUpdateOomAdj_DoAll_Unbound()
1348 ArrayList<ProcessRecord> lru = sService.mProcessList.mLruProcesses; in testUpdateOomAdj_DoAll_BoundFgService()
1375 ArrayList<ProcessRecord> lru = sService.mProcessList.mLruProcesses; in testUpdateOomAdj_DoAll_BoundFgService_Cycle()
1424 ArrayList<ProcessRecord> lru = sService.mProcessList.mLruProcesses; in testUpdateOomAdj_DoAll_BoundFgService_Cycle_Branch_2()
1470 ArrayList<ProcessRecord> lru = sService.mProcessList.mLruProcesses; in testUpdateOomAdj_DoAll_BoundFgService_Cycle_Branch_3()
1516 ArrayList<ProcessRecord> lru = sService.mProcessList.mLruProcesses; in testUpdateOomAdj_DoAll_BoundFgService_Cycle_Branch_4()
1562 ArrayList<ProcessRecord> lru = sService.mProcessList.mLruProcesses; in testUpdateOomAdj_DoAll_Provider_Cycle_Branch_2()
[all …]
DApplicationExitInfoTest.java105 private ProcessList mProcessList; field in ApplicationExitInfoTest
122 mProcessList = spy(new ProcessList()); in setUp()
133 setFieldValue(ProcessList.class, mProcessList, "mAppExitInfoTracker", mAppExitInfoTracker); in setUp()
1013 return mProcessList; in getProcessList()