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/
DCachedAppOptimizerTest.java184 assertThat(mCachedAppOptimizerUnderTest.mProcStateThrottle) in init_setsDefaults()
273 assertThat(mCachedAppOptimizerUnderTest.mProcStateThrottle).containsExactly(1, 2, 3); in init_withDeviceConfigSetsParameters()
776 assertThat(mCachedAppOptimizerUnderTest.mProcStateThrottle).containsExactly(1, 2, 3); in procStateThrottle_listensToDeviceConfigChanges()
782 assertThat(mCachedAppOptimizerUnderTest.mProcStateThrottle).isEmpty(); in procStateThrottle_listensToDeviceConfigChanges()
801 assertThat(mCachedAppOptimizerUnderTest.mProcStateThrottle) in procStateThrottle_listensToDeviceConfigChangesBadValues()
807 assertThat(mCachedAppOptimizerUnderTest.mProcStateThrottle) in procStateThrottle_listensToDeviceConfigChangesBadValues()
815 assertThat(mCachedAppOptimizerUnderTest.mProcStateThrottle) in procStateThrottle_listensToDeviceConfigChangesBadValues()
821 assertThat(mCachedAppOptimizerUnderTest.mProcStateThrottle) in procStateThrottle_listensToDeviceConfigChangesBadValues()
827 assertThat(mCachedAppOptimizerUnderTest.mProcStateThrottle) in procStateThrottle_listensToDeviceConfigChangesBadValues()
/frameworks/base/services/core/java/com/android/server/am/
DCachedAppOptimizer.java224 @VisibleForTesting final Set<Integer> mProcStateThrottle; field in CachedAppOptimizer
260 mProcStateThrottle = new HashSet<>(); in CachedAppOptimizer()
324 + Arrays.toString(mProcStateThrottle.toArray(new Integer[0]))); in dump()
600 mProcStateThrottle.clear(); in parseProcStateThrottle()
603 mProcStateThrottle.add(Integer.parseInt(procState)); in parseProcStateThrottle()
815 if (mProcStateThrottle.contains(procState)) { in handleMessage()