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.java173 ArrayList<ProcessRecord> processList = list.getLruProcessesLSP(); in reRankLruCachedApps_lruImpactsOrdering() local
176 processList.add(lastUsed40MinutesAgo); in reRankLruCachedApps_lruImpactsOrdering()
179 processList.add(lastUsed42MinutesAgo); in reRankLruCachedApps_lruImpactsOrdering()
182 processList.add(lastUsed60MinutesAgo); in reRankLruCachedApps_lruImpactsOrdering()
185 processList.add(lastUsed15MinutesAgo); in reRankLruCachedApps_lruImpactsOrdering()
188 processList.add(lastUsed17MinutesAgo); in reRankLruCachedApps_lruImpactsOrdering()
192 processList.add(lastUsed30MinutesAgo); in reRankLruCachedApps_lruImpactsOrdering()
194 mCacheOomRanker.reRankLruCachedAppsLSP(processList, list.getLruProcessServiceStartLOSP()); in reRankLruCachedApps_lruImpactsOrdering()
197 assertThat(processList).containsExactly(lastUsed60MinutesAgo, lastUsed42MinutesAgo, in reRankLruCachedApps_lruImpactsOrdering()
210 ArrayList<ProcessRecord> processList = list.getLruProcessesLSP(); in reRankLruCachedApps_rssImpactsOrdering() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DProcessRecordTests.java77 final ProcessList processList = new ProcessList(); in setUpOnce() local
78 setFieldValue(ActivityManagerService.class, sService, "mProcessList", processList); in setUpOnce()
DOomAdjusterTests.java68 MyOomAdjuster(ActivityManagerService service, ProcessList processList, in MyOomAdjuster() argument
70 super(service, processList, activeUids); in MyOomAdjuster()
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java371 OomAdjuster(ActivityManagerService service, ProcessList processList, ActiveUids activeUids) { in OomAdjuster() argument
372 this(service, processList, activeUids, createAdjusterThread()); in OomAdjuster()
384 OomAdjuster(ActivityManagerService service, ProcessList processList, ActiveUids activeUids, in OomAdjuster() argument
387 mProcessList = processList; in OomAdjuster()
DContentProviderHelper.java1326 long startTime, ProcessList processList, @UserIdInt int expectedUserId) { in incProviderCountLocked() argument
1360 processList.updateLruProcessLocked(cpr.proc, false, null); in incProviderCountLocked()