Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DAppCompactorTest.java124 assertThat(mCompactorUnderTest.mProcStateThrottle).containsExactlyElementsIn(expected); in init_setsDefaults()
199 assertThat(mCompactorUnderTest.mProcStateThrottle).containsExactly(1, 2, 3); in init_withDeviceConfigSetsParameters()
599 assertThat(mCompactorUnderTest.mProcStateThrottle).containsExactly(1, 2, 3); in procStateThrottle_listensToDeviceConfigChanges()
605 assertThat(mCompactorUnderTest.mProcStateThrottle).isEmpty(); in procStateThrottle_listensToDeviceConfigChanges()
623 assertThat(mCompactorUnderTest.mProcStateThrottle).containsExactlyElementsIn(expected); in procStateThrottle_listensToDeviceConfigChangesBadValues()
628 assertThat(mCompactorUnderTest.mProcStateThrottle).containsExactlyElementsIn(expected); in procStateThrottle_listensToDeviceConfigChangesBadValues()
635 assertThat(mCompactorUnderTest.mProcStateThrottle).containsExactlyElementsIn(expected); in procStateThrottle_listensToDeviceConfigChangesBadValues()
640 assertThat(mCompactorUnderTest.mProcStateThrottle).containsExactlyElementsIn(expected); in procStateThrottle_listensToDeviceConfigChangesBadValues()
645 assertThat(mCompactorUnderTest.mProcStateThrottle).containsExactlyElementsIn(expected); in procStateThrottle_listensToDeviceConfigChangesBadValues()
/frameworks/base/services/core/java/com/android/server/am/
DAppCompactor.java196 @VisibleForTesting final Set<Integer> mProcStateThrottle; field in AppCompactor
221 mProcStateThrottle = new HashSet<>(); in AppCompactor()
278 + Arrays.toString(mProcStateThrottle.toArray(new Integer[0]))); in dump()
481 mProcStateThrottle.clear(); in parseProcStateThrottle()
484 mProcStateThrottle.add(Integer.parseInt(procState)); in parseProcStateThrottle()
649 if (mProcStateThrottle.contains(procState)) { in handleMessage()