Searched refs:MemoryPressureMonitor (Results 1 – 9 of 9) sorted by relevance
58 MemoryPressureMonitor::MemoryPressureThresholds thresholds) { in GetModerateMemoryThresholdInPercent()59 return thresholds == MemoryPressureMonitor:: in GetModerateMemoryThresholdInPercent()61 thresholds == MemoryPressureMonitor::THRESHOLD_AGGRESSIVE in GetModerateMemoryThresholdInPercent()69 MemoryPressureMonitor::MemoryPressureThresholds thresholds) { in GetCriticalMemoryThresholdInPercent()70 return thresholds == MemoryPressureMonitor:: in GetCriticalMemoryThresholdInPercent()72 thresholds == MemoryPressureMonitor::THRESHOLD_AGGRESSIVE in GetCriticalMemoryThresholdInPercent()106 MemoryPressureMonitor::MemoryPressureMonitor( in MemoryPressureMonitor() function in base::chromeos::MemoryPressureMonitor126 MemoryPressureMonitor::~MemoryPressureMonitor() { in ~MemoryPressureMonitor()130 void MemoryPressureMonitor::ScheduleEarlyCheck() { in ScheduleEarlyCheck()132 FROM_HERE, BindOnce(&MemoryPressureMonitor::CheckMemoryPressure, in ScheduleEarlyCheck()[all …]
13 MemoryPressureMonitor* g_monitor = nullptr;43 MemoryPressureMonitor::MemoryPressureMonitor() { in MemoryPressureMonitor() function in base::MemoryPressureMonitor48 MemoryPressureMonitor::~MemoryPressureMonitor() { in ~MemoryPressureMonitor()54 MemoryPressureMonitor* MemoryPressureMonitor::Get() { in Get()57 void MemoryPressureMonitor::RecordMemoryPressure( in RecordMemoryPressure()
28 class BASE_EXPORT MemoryPressureMonitor : public base::MemoryPressureMonitor {52 explicit MemoryPressureMonitor(MemoryPressureThresholds thresholds);53 ~MemoryPressureMonitor() override;67 static MemoryPressureMonitor* Get();120 base::WeakPtrFactory<MemoryPressureMonitor> weak_ptr_factory_;122 DISALLOW_COPY_AND_ASSIGN(MemoryPressureMonitor);
24 class BASE_EXPORT MemoryPressureMonitor {29 virtual ~MemoryPressureMonitor();32 static MemoryPressureMonitor* Get();45 MemoryPressureMonitor();48 DISALLOW_COPY_AND_ASSIGN(MemoryPressureMonitor);
18 MemoryPressureMonitor::RecordMemoryPressure( in TEST()23 MemoryPressureMonitor::RecordMemoryPressure( in TEST()28 MemoryPressureMonitor::RecordMemoryPressure( in TEST()
47 class TestMemoryPressureMonitor : public MemoryPressureMonitor {50 : MemoryPressureMonitor(THRESHOLD_DEFAULT), in TestMemoryPressureMonitor()
78 public class MemoryPressureMonitor { class97 MemoryPressureMonitor::getCurrentMemoryPressure;116 public static final MemoryPressureMonitor INSTANCE =117 new MemoryPressureMonitor(DEFAULT_THROTTLING_INTERVAL_MS);120 protected MemoryPressureMonitor(int throttlingIntervalMs) { in MemoryPressureMonitor() method in MemoryPressureMonitor
27 import org.chromium.base.memory.MemoryPressureMonitor;156 if (pressure >= MemoryPressureMonitor.INSTANCE.getLastReportedPressure()) {157 MemoryPressureMonitor.INSTANCE.notifyPressure(pressure);
31 private MemoryPressureMonitor mMonitor;90 mMonitor = new MemoryPressureMonitor(THROTTLING_INTERVAL_MS); in setUp()126 Integer actualPressure = MemoryPressureMonitor.memoryPressureFromTrimLevel(trimLevel); in testTrimLevelTranslation()