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.java101 private CacheOomRanker mCacheOomRanker; field in CacheOomRankerTest
125 mCacheOomRanker = new CacheOomRanker( in setUp()
133 mCacheOomRanker.init(mExecutor); in setUp()
143 assertThat(mCacheOomRanker.useOomReranking()).isTrue(); in init_listensForConfigChanges()
148 assertThat(mCacheOomRanker.useOomReranking()).isFalse(); in init_listensForConfigChanges()
156 assertThat(mCacheOomRanker.getNumberToReRank()) in init_listensForConfigChanges()
165 assertThat(mCacheOomRanker.mPreserveTopNApps) in init_listensForConfigChanges()
174 assertThat(mCacheOomRanker.mLruWeight) in init_listensForConfigChanges()
183 assertThat(mCacheOomRanker.mRssWeight) in init_listensForConfigChanges()
192 assertThat(mCacheOomRanker.mUsesWeight) in init_listensForConfigChanges()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DOomAdjuster.java333 CacheOomRanker mCacheOomRanker; field in OomAdjuster
490 mCacheOomRanker = new CacheOomRanker(service); in OomAdjuster()
527 mCacheOomRanker.init(ActivityThread.currentApplication().getMainExecutor()); in initSettings()
1025 if (mCacheOomRanker.useOomReranking()) { in updateOomAdjInnerLSP()
1026 mCacheOomRanker.reRankLruCachedAppsLSP(mProcessList.getLruProcessesLSP(), in updateOomAdjInnerLSP()
3871 mCacheOomRanker.dump(pw); in dumpCacheOomRankerSettings()