Home
last modified time | relevance | path

Searched refs:ADJ_MEM_FACTOR_NORMAL (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DLowMemDetector.java22 import static com.android.internal.app.procstats.ProcessStats.ADJ_MEM_FACTOR_NORMAL;
47 private int mPressureState = ADJ_MEM_FACTOR_NORMAL;
54 ADJ_MEM_FACTOR_NORMAL,
DAppProfiler.java28 import static com.android.internal.app.procstats.ProcessStats.ADJ_MEM_FACTOR_NORMAL;
236 private @MemFactor int mLastMemoryLevel = ADJ_MEM_FACTOR_NORMAL;
1338 return mMemFactorOverride <= ADJ_MEM_FACTOR_NORMAL; in isLastMemoryLevelNormal()
1340 return mLastMemoryLevel <= ADJ_MEM_FACTOR_NORMAL; in isLastMemoryLevelNormal()
1384 memFactor = ADJ_MEM_FACTOR_NORMAL; in updateLowMemStateLSP()
2576 case ADJ_MEM_FACTOR_NORMAL: in dumpLastMemoryLevelLocked()
DActivityManagerShellCommand.java41 import static com.android.internal.app.procstats.ProcessStats.ADJ_MEM_FACTOR_NORMAL;
3852 level = ADJ_MEM_FACTOR_NORMAL;
3868 if (level < ADJ_MEM_FACTOR_NORMAL || level > ADJ_MEM_FACTOR_CRITICAL) {
3883 case ADJ_MEM_FACTOR_NORMAL:
/frameworks/base/core/tests/coretests/src/com/android/internal/app/procstats/
DProcessStatsTest.java109 processState.setState(ActivityManager.PROCESS_STATE_TOP, ProcessStats.ADJ_MEM_FACTOR_NORMAL, in testNonZeroProcessStateDuration()
138 ProcessStats.ADJ_MEM_FACTOR_NORMAL, NOW_MS, /* pkgList */ null); in testDumpBoundFgsDuration()
166 ProcessStats.ADJ_MEM_FACTOR_NORMAL, NOW_MS, /* pkgList */ null); in testDumpFrozenDuration()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DServiceRestarterTest.java21 import static com.android.internal.app.procstats.ProcessStats.ADJ_MEM_FACTOR_NORMAL;
241 setMemoryPressure(ADJ_MEM_FACTOR_NORMAL); in testExtraDelaysInServiceRestartOnLowMem()
279 setMemoryPressure(ADJ_MEM_FACTOR_NORMAL); in testExtraDelaysInServiceRestartOnLowMem()
/frameworks/base/core/java/com/android/internal/app/procstats/
DDumpUtils.java24 import static com.android.internal.app.procstats.ProcessStats.ADJ_MEM_FACTOR_NORMAL;
282 case ADJ_MEM_FACTOR_NORMAL: in printMemLabel()
306 if (offset >= ADJ_MEM_FACTOR_NORMAL) { in printMemLabelCsv()
DProcessStats.java131 public static final int ADJ_MEM_FACTOR_NORMAL = 0; field in ProcessStats
151 public static final int[] ALL_MEM_ADJ = new int[] { ADJ_MEM_FACTOR_NORMAL,
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActiveServicesTest.java23 import static com.android.internal.app.procstats.ProcessStats.ADJ_MEM_FACTOR_NORMAL;
311 when(mProfiler.getLastMemoryLevelLocked()).thenReturn(ADJ_MEM_FACTOR_NORMAL); in prepareTestRescheduleServiceRestarts()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobConcurrencyManager.java729 mLastMemoryTrimLevel = ProcessStats.ADJ_MEM_FACTOR_NORMAL; in refreshSystemStateLocked()