Searched refs:setEventMemUsageLevel (Results 1 – 2 of 2) sorted by relevance
109 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()
183 void setEventMemUsageLevel(@NonNull SystemMonitorEvent event, double memLoadRatio) { in setEventMemUsageLevel() method in SystemMonitor209 setEventMemUsageLevel(event, 1 - (double) memInfo.availMem / memInfo.totalMem); in getSystemLoadRepeated()