Searched refs:USAGE_LEVEL_HI (Results 1 – 5 of 5) sorted by relevance
30 value = { USAGE_LEVEL_LOW, USAGE_LEVEL_MED, USAGE_LEVEL_HI })39 public static final int USAGE_LEVEL_HI = 2; field in SystemMonitorEvent
167 event.setCpuUsageLevel(SystemMonitorEvent.USAGE_LEVEL_HI); in setEventCpuUsageLevel()185 event.setMemoryUsageLevel(SystemMonitorEvent.USAGE_LEVEL_HI); in setEventMemUsageLevel()
31 event.setCpuUsageLevel(SystemMonitorEvent.USAGE_LEVEL_HI); in testCpuUsageLevelGetterSetter_correctlyGetSetCpuUsageLevel()34 .isEqualTo(SystemMonitorEvent.USAGE_LEVEL_HI); in testCpuUsageLevelGetterSetter_correctlyGetSetCpuUsageLevel()
79 .isEqualTo(SystemMonitorEvent.USAGE_LEVEL_HI); in testSetEventCpuUsageLevel_setsCorrectUsageLevelForHighUsage()112 .isEqualTo(SystemMonitorEvent.USAGE_LEVEL_HI); in testSetEventMemUsageLevel_setsCorrectUsageLevelForHighUsage()174 assertThat(event.getMemoryUsageLevel()).isEqualTo(SystemMonitorEvent.USAGE_LEVEL_HI); in testSetCallback_whenMemUsageHigh_shouldInvokeCallback()
680 if (event.getCpuUsageLevel() == SystemMonitorEvent.USAGE_LEVEL_HI in onSystemMonitorEvent()681 || event.getMemoryUsageLevel() == SystemMonitorEvent.USAGE_LEVEL_HI) { in onSystemMonitorEvent()