Searched refs:setCurrentPressureSupplierForTesting (Results 1 – 4 of 4) sorted by relevance
92 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()
91 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()
232 public void setCurrentPressureSupplierForTesting(Supplier<Integer> supplier) { in setCurrentPressureSupplierForTesting() method in MemoryPressureMonitor