Home
last modified time | relevance | path

Searched refs:processList (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DCacheOomRankerTest.java207 ArrayList<ProcessRecord> processList = list.getLruProcessesLSP(); in reRankLruCachedApps_lruImpactsOrdering() local
210 processList.add(lastUsed40MinutesAgo); in reRankLruCachedApps_lruImpactsOrdering()
213 processList.add(lastUsed42MinutesAgo); in reRankLruCachedApps_lruImpactsOrdering()
216 processList.add(lastUsed60MinutesAgo); in reRankLruCachedApps_lruImpactsOrdering()
219 processList.add(lastUsed15MinutesAgo); in reRankLruCachedApps_lruImpactsOrdering()
222 processList.add(lastUsed17MinutesAgo); in reRankLruCachedApps_lruImpactsOrdering()
226 processList.add(lastUsed30MinutesAgo); in reRankLruCachedApps_lruImpactsOrdering()
227 list.setLruProcessServiceStartLSP(processList.size()); in reRankLruCachedApps_lruImpactsOrdering()
229 mCacheOomRanker.reRankLruCachedAppsLSP(processList, list.getLruProcessServiceStartLOSP()); in reRankLruCachedApps_lruImpactsOrdering()
232 assertThat(processList).containsExactly(lastUsed60MinutesAgo, lastUsed42MinutesAgo, in reRankLruCachedApps_lruImpactsOrdering()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DProcessRecordTests.java80 final ProcessList processList = new ProcessList(); in setUpOnce() local
81 setFieldValue(ActivityManagerService.class, sService, "mProcessList", processList); in setUpOnce()
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjusterModernImpl.java756 OomAdjusterModernImpl(ActivityManagerService service, ProcessList processList, in OomAdjusterModernImpl() argument
758 this(service, processList, activeUids, createAdjusterThread()); in OomAdjusterModernImpl()
761 OomAdjusterModernImpl(ActivityManagerService service, ProcessList processList, in OomAdjusterModernImpl() argument
763 super(service, processList, activeUids, adjusterThread); in OomAdjusterModernImpl()
766 OomAdjusterModernImpl(ActivityManagerService service, ProcessList processList, in OomAdjusterModernImpl() argument
768 super(service, processList, activeUids, injector); in OomAdjusterModernImpl()
DOomAdjuster.java457 OomAdjuster(ActivityManagerService service, ProcessList processList, ActiveUids activeUids) { in OomAdjuster() argument
458 this(service, processList, activeUids, createAdjusterThread()); in OomAdjuster()
470 OomAdjuster(ActivityManagerService service, ProcessList processList, ActiveUids activeUids, in OomAdjuster() argument
472 this(service, processList, activeUids, adjusterThread, new Injector()); in OomAdjuster()
475 OomAdjuster(ActivityManagerService service, ProcessList processList, ActiveUids activeUids, in OomAdjuster() argument
477 this(service, processList, activeUids, createAdjusterThread(), injector); in OomAdjuster()
480 OomAdjuster(ActivityManagerService service, ProcessList processList, ActiveUids activeUids, in OomAdjuster() argument
484 mProcessList = processList; in OomAdjuster()
DContentProviderHelper.java1446 long startTime, ProcessList processList, @UserIdInt int expectedUserId) { in incProviderCountLocked() argument
1483 processList.updateLruProcessLocked(cpr.proc, false, null); in incProviderCountLocked()