Home
last modified time | relevance | path

Searched refs:USAGE_LEVEL_HI (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/service/src/com/android/car/telemetry/systemmonitor/
DSystemMonitorEvent.java30 value = { USAGE_LEVEL_LOW, USAGE_LEVEL_MED, USAGE_LEVEL_HI })
39 public static final int USAGE_LEVEL_HI = 2; field in SystemMonitorEvent
DSystemMonitor.java167 event.setCpuUsageLevel(SystemMonitorEvent.USAGE_LEVEL_HI); in setEventCpuUsageLevel()
185 event.setMemoryUsageLevel(SystemMonitorEvent.USAGE_LEVEL_HI); in setEventMemUsageLevel()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/systemmonitor/
DSystemMonitorEventUnitTest.java31 event.setCpuUsageLevel(SystemMonitorEvent.USAGE_LEVEL_HI); in testCpuUsageLevelGetterSetter_correctlyGetSetCpuUsageLevel()
34 .isEqualTo(SystemMonitorEvent.USAGE_LEVEL_HI); in testCpuUsageLevelGetterSetter_correctlyGetSetCpuUsageLevel()
DSystemMonitorTest.java79 .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()
/packages/services/Car/service/src/com/android/car/telemetry/
DCarTelemetryService.java680 if (event.getCpuUsageLevel() == SystemMonitorEvent.USAGE_LEVEL_HI in onSystemMonitorEvent()
681 || event.getMemoryUsageLevel() == SystemMonitorEvent.USAGE_LEVEL_HI) { in onSystemMonitorEvent()