Searched refs:getPowerManager (Results 1 – 8 of 8) sorted by relevance
43 public static PowerManager getPowerManager() { in getPowerManager() method in BatteryUtils120 waitUntil("Battery saver still off", () -> getPowerManager().isPowerSaveMode()); in enableBatterySaver()125 waitUntil("Battery saver still on", () -> !getPowerManager().isPowerSaveMode()); in enableBatterySaver()138 waitUntil("Device still not interactive", () -> getPowerManager().isInteractive()); in turnOnScreen()142 waitUntil("Device still interactive", () -> !getPowerManager().isInteractive()); in turnOnScreen()
39 mScreenInteractive = BatteryUtils.getPowerManager().isInteractive(); in ScreenResetter()
78 assertFalse(getPowerManager().isPowerSaveMode()); in testActivateBatterySaver()80 getPowerManager().getLocationPowerSaveMode()); in testActivateBatterySaver()110 PowerManager manager = BatteryUtils.getPowerManager(); in testSetBatterySaver_powerManager()133 final PowerManager powerManager = BatteryUtils.getPowerManager(); in testAutomotiveProjectionExceptions()196 final PowerManager powerManager = BatteryUtils.getPowerManager(); in testGlobalSettings()218 final PowerManager powerManager = BatteryUtils.getPowerManager(); in testDeviceConfig()242 final PowerManager powerManager = BatteryUtils.getPowerManager(); in testGlobalSettingsOverridesDeviceConfig()
131 public PowerManager getPowerManager() { in getPowerManager() method in BatterySavingTestBase
106 PowerManager manager = BatteryUtils.getPowerManager(); in testPowerManager_getPowerSaveMode()125 PowerManager manager = BatteryUtils.getPowerManager(); in testPowerManager_setDynamicPowerSavings()143 final PowerManager manager = BatteryUtils.getPowerManager(); in testPowerManager_batteryDischargePrediction()192 final PowerManager manager = BatteryUtils.getPowerManager(); in setDischargePrediction()199 final PowerManager manager = BatteryUtils.getPowerManager(); in assertDischargePrediction()
70 public CarPowerManager getPowerManager() { in getPowerManager() method in PowerPolicyTestActivity
131 public CarPowerManager getPowerManager() { in getPowerManager() method in PowerPolicyTestClient
89 CarPowerPolicy cpp = mTestClient.getPowerManager().getCurrentPowerPolicy(); in execute()