Home
last modified time | relevance | path

Searched refs:getCpuUsageLevel (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/systemmonitor/
DSystemMonitorTest.java78 assertThat(event.getCpuUsageLevel()) in testSetEventCpuUsageLevel_setsCorrectUsageLevelForHighUsage()
89 assertThat(event.getCpuUsageLevel()) in testSetEventCpuUsageLevel_setsCorrectUsageLevelForMedUsage()
100 assertThat(event.getCpuUsageLevel()) in testSetEventCpuUsageLevel_setsCorrectUsageLevelForLowUsage()
153 assertThat(event.getCpuUsageLevel()).isEqualTo(SystemMonitorEvent.USAGE_LEVEL_LOW); in testSetCallback_whenMemUsageLow_shouldInvokeCallback()
DSystemMonitorEventUnitTest.java33 assertThat(event.getCpuUsageLevel()) in testCpuUsageLevelGetterSetter_correctlyGetSetCpuUsageLevel()
/packages/services/Car/service/src/com/android/car/telemetry/systemmonitor/
DSystemMonitorEvent.java53 public @UsageLevel int getCpuUsageLevel() { in getCpuUsageLevel() method in SystemMonitorEvent
/packages/services/Car/service/src/com/android/car/telemetry/
DCarTelemetryService.java680 if (event.getCpuUsageLevel() == SystemMonitorEvent.USAGE_LEVEL_HI in onSystemMonitorEvent()
683 } else if (event.getCpuUsageLevel() == SystemMonitorEvent.USAGE_LEVEL_MED in onSystemMonitorEvent()