Home
last modified time | relevance | path

Searched refs:setEventMemUsageLevel (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/telemetry/systemmonitor/
DSystemMonitorTest.java109 systemMonitor.setEventMemUsageLevel(event, /* memLoadRatio= */ 0.98); in testSetEventMemUsageLevel_setsCorrectUsageLevelForHighUsage()
120 systemMonitor.setEventMemUsageLevel(event, /* memLoadRatio= */ 0.85); in testSetEventMemUsageLevel_setsCorrectUsageLevelForMedUsage()
131 systemMonitor.setEventMemUsageLevel(event, /* memLoadRatio= */ 0.80); in testSetEventMemUsageLevel_setsCorrectUsageLevelForLowUsage()
/packages/services/Car/service/src/com/android/car/telemetry/systemmonitor/
DSystemMonitor.java183 void setEventMemUsageLevel(@NonNull SystemMonitorEvent event, double memLoadRatio) { in setEventMemUsageLevel() method in SystemMonitor
209 setEventMemUsageLevel(event, 1 - (double) memInfo.availMem / memInfo.totalMem); in getSystemLoadRepeated()