Searched refs:setPowerSaveMode (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtilsTest.java | 71 assertThat(BatterySaverUtils.setPowerSaveMode(mMockContext, true, true)).isFalse(); in testSetPowerSaveMode_enable_firstCall_needWarning() 88 assertThat(BatterySaverUtils.setPowerSaveMode(mMockContext, true, true)).isTrue(); in testSetPowerSaveMode_enable_secondCall_needWarning() 102 assertThat(BatterySaverUtils.setPowerSaveMode(mMockContext, true, true)).isTrue(); in testSetPowerSaveMode_enable_thridCall_needWarning() 116 assertThat(BatterySaverUtils.setPowerSaveMode(mMockContext, true, false)).isTrue(); in testSetPowerSaveMode_enable_firstCall_noWarning() 131 assertThat(BatterySaverUtils.setPowerSaveMode(mMockContext, false, false)).isTrue(); in testSetPowerSaveMode_disable_firstCall_noWarning() 147 assertThat(BatterySaverUtils.setPowerSaveMode(mMockContext, false, true)).isTrue(); in testSetPowerSaveMode_disable_firstCall_needWarning()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakeBatteryController.java | 43 public void setPowerSaveMode(boolean powerSave) { in setPowerSaveMode() method in FakeBatteryController
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryController.java | 38 void setPowerSaveMode(boolean powerSave); in setPowerSaveMode() method
|
D | BatteryControllerImpl.java | 116 public void setPowerSaveMode(boolean powerSave) { in setPowerSaveMode() method in BatteryControllerImpl 117 BatterySaverUtils.setPowerSaveMode(mContext, powerSave, /*needFirstTimeWarning*/ true); in setPowerSaveMode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | BatterySaverTile.java | 90 mBatteryController.setPowerSaveMode(!mPowerSave); in handleClick()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatterySaverUtils.java | 114 public static synchronized boolean setPowerSaveMode(Context context, in setPowerSaveMode() method in BatterySaverUtils
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | CarBatteryController.java | 100 public void setPowerSaveMode(boolean powerSave) { in setPowerSaveMode() method in CarBatteryController
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerNotificationWarnings.java | 679 BatterySaverUtils.setPowerSaveMode(mContext, mode, needFirstTimeWarning); in setSaverMode()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 50733 Landroid/os/IPowerManager$Stub$Proxy;->setPowerSaveMode(Z)Z 50781 Landroid/os/IPowerManager;->setPowerSaveMode(Z)Z
|