Home
last modified time | relevance | path

Searched refs:setIgnoringBatteryOptimizations (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPowerManagerTest.java191 shadowPowerManager.setIgnoringBatteryOptimizations(packageName, true); in isIgnoringBatteryOptimizations_shouldGetAndSet()
193 shadowPowerManager.setIgnoringBatteryOptimizations(packageName, false); in isIgnoringBatteryOptimizations_shouldGetAndSet()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowPowerManager.java135 public void setIgnoringBatteryOptimizations(String packageName, boolean value) { in setIgnoringBatteryOptimizations() method in ShadowPowerManager