Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DCachedAppOptimizerTest.java898 assertThat(mCachedAppOptimizerUnderTest.mLastCompactionStats.get(pid)).isNotNull(); in processWithDeltaRSSTooSmall_notFullCompacted()
899 valuesAfter = mCachedAppOptimizerUnderTest.mLastCompactionStats.get( in processWithDeltaRSSTooSmall_notFullCompacted()
914 assertThat(mCachedAppOptimizerUnderTest.mLastCompactionStats.get(pid)).isNotNull(); in processWithDeltaRSSTooSmall_notFullCompacted()
915 valuesAfter = mCachedAppOptimizerUnderTest.mLastCompactionStats.get( in processWithDeltaRSSTooSmall_notFullCompacted()
929 assertThat(mCachedAppOptimizerUnderTest.mLastCompactionStats.get(pid)).isNotNull(); in processWithDeltaRSSTooSmall_notFullCompacted()
930 valuesAfter = mCachedAppOptimizerUnderTest.mLastCompactionStats.get( in processWithDeltaRSSTooSmall_notFullCompacted()
969 assertThat(mCachedAppOptimizerUnderTest.mLastCompactionStats.get(pid)).isNull(); in processWithAnonRSSTooSmall_notFullCompacted()
978 assertThat(mCachedAppOptimizerUnderTest.mLastCompactionStats.get(pid)).isNotNull(); in processWithAnonRSSTooSmall_notFullCompacted()
979 long[] valuesAfter = mCachedAppOptimizerUnderTest.mLastCompactionStats.get( in processWithAnonRSSTooSmall_notFullCompacted()
1016 assertThat(mCachedAppOptimizerUnderTest.mLastCompactionStats.get(pid)).isNull(); in processWithOomAdjTooSmall_notFullCompacted()
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DCachedAppOptimizer.java310 LinkedHashMap<Integer, LastCompactionStats> mLastCompactionStats = field in CachedAppOptimizer
417 pw.println(" Tracking last compaction stats for " + mLastCompactionStats.size() in dump()
424 : mLastCompactionStats.entrySet()) { in dump()
1082 lastCompactionStats = mLastCompactionStats.get(pid); in handleMessage()
1266 mLastCompactionStats.remove(pid); in handleMessage()
1267 mLastCompactionStats.put(pid, new LastCompactionStats(rssAfter)); in handleMessage()