Searched refs:setIgnoringBatteryOptimizations (Results 1 – 2 of 2) sorted by relevance
191 shadowPowerManager.setIgnoringBatteryOptimizations(packageName, true); in isIgnoringBatteryOptimizations_shouldGetAndSet()193 shadowPowerManager.setIgnoringBatteryOptimizations(packageName, false); in isIgnoringBatteryOptimizations_shouldGetAndSet()
135 public void setIgnoringBatteryOptimizations(String packageName, boolean value) { in setIgnoringBatteryOptimizations() method in ShadowPowerManager