Searched refs:USAGE_LEVEL_MED (Results 1 – 5 of 5) sorted by relevance
30 value = { USAGE_LEVEL_LOW, USAGE_LEVEL_MED, USAGE_LEVEL_HI })37 public static final int USAGE_LEVEL_MED = 1; field in SystemMonitorEvent
170 event.setCpuUsageLevel(SystemMonitorEvent.USAGE_LEVEL_MED); in setEventCpuUsageLevel()188 event.setMemoryUsageLevel(SystemMonitorEvent.USAGE_LEVEL_MED); in setEventMemUsageLevel()
40 event.setMemoryUsageLevel(SystemMonitorEvent.USAGE_LEVEL_MED); in testMemUsageLevelGetterSetter_correctlyGetSetMemUsageLevel()43 .isEqualTo(SystemMonitorEvent.USAGE_LEVEL_MED); in testMemUsageLevelGetterSetter_correctlyGetSetMemUsageLevel()
90 .isEqualTo(SystemMonitorEvent.USAGE_LEVEL_MED); in testSetEventCpuUsageLevel_setsCorrectUsageLevelForMedUsage()123 .isEqualTo(SystemMonitorEvent.USAGE_LEVEL_MED); in testSetEventMemUsageLevel_setsCorrectUsageLevelForMedUsage()
683 } else if (event.getCpuUsageLevel() == SystemMonitorEvent.USAGE_LEVEL_MED in onSystemMonitorEvent()684 || event.getMemoryUsageLevel() == SystemMonitorEvent.USAGE_LEVEL_MED) { in onSystemMonitorEvent()