Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/systemmonitor/
DSystemMonitorTest.java111 assertThat(event.getMemoryUsageLevel()) in testSetEventMemUsageLevel_setsCorrectUsageLevelForHighUsage()
122 assertThat(event.getMemoryUsageLevel()) in testSetEventMemUsageLevel_setsCorrectUsageLevelForMedUsage()
133 assertThat(event.getMemoryUsageLevel()) in testSetEventMemUsageLevel_setsCorrectUsageLevelForLowUsage()
155 assertThat(event.getMemoryUsageLevel()).isEqualTo(SystemMonitorEvent.USAGE_LEVEL_LOW); in testSetCallback_whenMemUsageLow_shouldInvokeCallback()
174 assertThat(event.getMemoryUsageLevel()).isEqualTo(SystemMonitorEvent.USAGE_LEVEL_HI); in testSetCallback_whenMemUsageHigh_shouldInvokeCallback()
DSystemMonitorEventUnitTest.java42 assertThat(event.getMemoryUsageLevel()) in testMemUsageLevelGetterSetter_correctlyGetSetMemUsageLevel()
/packages/services/Car/service/src/com/android/car/telemetry/systemmonitor/
DSystemMonitorEvent.java57 public @UsageLevel int getMemoryUsageLevel() { in getMemoryUsageLevel() method in SystemMonitorEvent
/packages/services/Car/service/src/com/android/car/telemetry/
DCarTelemetryService.java681 || event.getMemoryUsageLevel() == SystemMonitorEvent.USAGE_LEVEL_HI) { in onSystemMonitorEvent()
684 || event.getMemoryUsageLevel() == SystemMonitorEvent.USAGE_LEVEL_MED) { in onSystemMonitorEvent()