/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerServiceTest.java | 194 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 …]
|
D | ActivityManagerInternalTest.java | 130 mAms.mProcessList.mActiveUids.clear(); in verifyNetworkUpdatedProcStateSeq() 139 mAms.mProcessList.mActiveUids.put(uid, record); in addActiveUidRecord()
|
D | OomAdjusterTests.java | 80 sService.mOomAdjuster = new OomAdjuster(sService, sService.mProcessList, null); in setUpOnce()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerService.java | 708 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 …]
|
D | AppErrors.java | 441 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,
|
D | OomAdjuster.java | 205 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 …]
|
D | ProcessRecord.java | 918 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()
|
D | BroadcastQueue.java | 299 mService.mProcessList.updateLruProcessLocked(app, false, null); in processCurBroadcastLocked() 1013 final ProcessRecord proc = mService.mProcessList.mProcessNames.get( in processNextBroadcastLocked()
|
D | ActiveServices.java | 574 UidRecord uidRec = mAm.mProcessList.getUidRecordLocked(r.appInfo.uid); in startServiceLocked() 4208 if (timeout != null && mAm.mProcessList.mLruProcesses.contains(proc)) { in serviceTimeout()
|
D | ActivityManagerShellCommand.java | 1046 mInternal.mProcessList.mAppExitInfoTracker.clearHistoryProcessExitInfo(packageName, userId);
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | MockingOomAdjusterTests.java | 173 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 …]
|
D | ApplicationExitInfoTest.java | 105 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()
|