Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DCacheOomRankerTest.java87 private CacheOomRanker mCacheOomRanker; field in CacheOomRankerTest
110 mCacheOomRanker = new CacheOomRanker(mAms); in setUp()
111 mCacheOomRanker.init(mExecutor); in setUp()
121 assertThat(mCacheOomRanker.useOomReranking()).isTrue(); in init_listensForConfigChanges()
126 assertThat(mCacheOomRanker.useOomReranking()).isFalse(); in init_listensForConfigChanges()
134 assertThat(mCacheOomRanker.getNumberToReRank()) in init_listensForConfigChanges()
143 assertThat(mCacheOomRanker.mLruWeight) in init_listensForConfigChanges()
152 assertThat(mCacheOomRanker.mRssWeight) in init_listensForConfigChanges()
161 assertThat(mCacheOomRanker.mUsesWeight) in init_listensForConfigChanges()
194 mCacheOomRanker.reRankLruCachedAppsLSP(processList, list.getLruProcessServiceStartLOSP()); in reRankLruCachedApps_lruImpactsOrdering()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java188 CacheOomRanker mCacheOomRanker; field in OomAdjuster
394 mCacheOomRanker = new CacheOomRanker(service); in OomAdjuster()
430 mCacheOomRanker.init(ActivityThread.currentApplication().getMainExecutor()); in initSettings()
926 if (mCacheOomRanker.useOomReranking()) { in updateOomAdjInnerLSP()
927 mCacheOomRanker.reRankLruCachedAppsLSP(mProcessList.getLruProcessesLSP(), in updateOomAdjInnerLSP()
3059 mCacheOomRanker.dump(pw); in dumpCacheOomRankerSettings()