Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DCacheOomRanker.java312 int numProcessesReRanked = 0; in reRankLruCachedAppsLSP() local
314 && numProcessesReRanked < scoredProcessRecords.length) { in reRankLruCachedAppsLSP()
318 scoredProcessRecords[numProcessesReRanked].proc = process; in reRankLruCachedAppsLSP()
319 scoredProcessRecords[numProcessesReRanked].score = 0.0f; in reRankLruCachedAppsLSP()
320 lruPositions[numProcessesReRanked] = numProcessesEvaluated; in reRankLruCachedAppsLSP()
321 ++numProcessesReRanked; in reRankLruCachedAppsLSP()
338 numProcessesReRanked -= preserveTopNApps - numProcessesNotReRanked; in reRankLruCachedAppsLSP()
339 if (numProcessesReRanked < 0) { in reRankLruCachedAppsLSP()
340 numProcessesReRanked = 0; in reRankLruCachedAppsLSP()
347 for (int i = 0; i < numProcessesReRanked; ++i) { in reRankLruCachedAppsLSP()
[all …]