Home
last modified time | relevance | path

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

/dports/www/chromium-legacy/chromium-88.0.4324.182/base/android/junit/src/org/chromium/base/memory/
H A DMemoryPressureMonitorTest.java92 mMonitor.setCurrentPressureSupplierForTesting(null); in setUp()
215 mMonitor.setCurrentPressureSupplierForTesting(pressureSupplier); in testPollingInitiallyDisabled()
233 mMonitor.setCurrentPressureSupplierForTesting(pressureSupplier); in testEnablePollingPolls()
249 mMonitor.setCurrentPressureSupplierForTesting(pressureSupplier); in testNullSupplierResultIgnored()
263 mMonitor.setCurrentPressureSupplierForTesting(pressureSupplier); in testEnablePollingRespectsThrottling()
282 mMonitor.setCurrentPressureSupplierForTesting(pressureSupplier); in testPollingIfCRITICAL()
306 mMonitor.setCurrentPressureSupplierForTesting(pressureSupplier); in testNoPollingIfNotCRITICAL()
323 mMonitor.setCurrentPressureSupplierForTesting(pressureSupplier); in testNoPollingIfChangedToCRITICAL()
341 mMonitor.setCurrentPressureSupplierForTesting(pressureSupplier); in testDisablePolling()
/dports/net-im/tg_owt/tg_owt-d578c76/src/base/android/junit/src/org/chromium/base/memory/
H A DMemoryPressureMonitorTest.java91 mMonitor.setCurrentPressureSupplierForTesting(null); in setUp()
214 mMonitor.setCurrentPressureSupplierForTesting(pressureSupplier); in testPollingInitiallyDisabled()
232 mMonitor.setCurrentPressureSupplierForTesting(pressureSupplier); in testEnablePollingPolls()
248 mMonitor.setCurrentPressureSupplierForTesting(pressureSupplier); in testNullSupplierResultIgnored()
262 mMonitor.setCurrentPressureSupplierForTesting(pressureSupplier); in testEnablePollingRespectsThrottling()
281 mMonitor.setCurrentPressureSupplierForTesting(pressureSupplier); in testPollingIfCRITICAL()
305 mMonitor.setCurrentPressureSupplierForTesting(pressureSupplier); in testNoPollingIfNotCRITICAL()
322 mMonitor.setCurrentPressureSupplierForTesting(pressureSupplier); in testNoPollingIfChangedToCRITICAL()
340 mMonitor.setCurrentPressureSupplierForTesting(pressureSupplier); in testDisablePolling()
/dports/www/chromium-legacy/chromium-88.0.4324.182/base/android/java/src/org/chromium/base/memory/
H A DMemoryPressureMonitor.java232 public void setCurrentPressureSupplierForTesting(Supplier<Integer> supplier) { in setCurrentPressureSupplierForTesting() method in MemoryPressureMonitor
/dports/net-im/tg_owt/tg_owt-d578c76/src/base/android/java/src/org/chromium/base/memory/
H A DMemoryPressureMonitor.java232 public void setCurrentPressureSupplierForTesting(Supplier<Integer> supplier) { in setCurrentPressureSupplierForTesting() method in MemoryPressureMonitor