Searched refs:powerSave (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/ |
D | FakeBatteryController.java | 53 public void setPowerSaveMode(boolean powerSave) { in setPowerSaveMode() argument 54 mPowerSaveMode = powerSave; in setPowerSaveMode() 56 callback.onPowerSaveChanged(powerSave); in setPowerSaveMode() 64 public void setPowerSaveMode(boolean powerSave, Expandable expandable) { in setPowerSaveMode() argument 65 setPowerSaveMode(powerSave); in setPowerSaveMode()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/ |
D | UiModeNightTileMapperTest.kt | 88 val inputModel = createModel(nightMode = true, powerSave = true) in mapsEnabledDataToUnavailableStateWhenOnPowerSave() 108 val inputModel = createModel(nightMode = false, powerSave = true) in mapsDisabledDataToUnavailableStateWhenOnPowerSave() 128 val inputModel = createModel(nightMode = false, powerSave = false) in mapsDisabledDataToInactiveState() 165 val inputModel = createModel(nightMode = true, powerSave = false) in mapsEnabledDataToOnIconState() 184 val inputModel = createModel(nightMode = false, powerSave = false) in mapsDisabledDataToOffIconState() 203 val inputModel = createModel(nightMode = true, powerSave = false) in supportsClickAndLongClickActionsWhenNotInPowerSaveInNightMode() 224 val inputModel = createModel(nightMode = true, powerSave = true) in supportsOnlyLongClickActionWhenUnavailableInPowerSaveInNightMode() 247 val inputModel = createModel(nightMode = false, powerSave = false) in supportsClickAndLongClickActionsWhenNotInPowerSaveNotInNightMode() 268 val inputModel = createModel(nightMode = false, powerSave = true) in supportsOnlyClickActionWhenUnavailableInPowerSaveNotInNightMode() 289 val inputModel = createModel(powerSave = true) in secondaryLabelCorrectWhenInPowerSaveMode() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryController.java | 45 default void setPowerSaveMode(boolean powerSave) { in setPowerSaveMode() argument 46 setPowerSaveMode(powerSave, null); in setPowerSaveMode() 54 void setPowerSaveMode(boolean powerSave, @Nullable Expandable expandable); in setPowerSaveMode() argument
|
D | BatteryControllerImpl.java | 200 public void setPowerSaveMode(boolean powerSave, Expandable expandable) { in setPowerSaveMode() argument 201 if (powerSave) mPowerSaverStartExpandable.set(new WeakReference<>(expandable)); in setPowerSaveMode() 202 BatterySaverUtils.setPowerSaveMode(mContext, powerSave, /*needFirstTimeWarning*/ true, in setPowerSaveMode() 442 private void setPowerSave(boolean powerSave) { in setPowerSave() argument 443 if (powerSave == mPowerSave) return; in setPowerSave() 444 mPowerSave = powerSave; in setPowerSave() 496 String powerSave = args.getString("powersave"); in dispatchDemoCommand() local 506 if (powerSave != null) { in dispatchDemoCommand() 507 mPowerSave = powerSave.equals("true"); in dispatchDemoCommand()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/impl/uimodenight/ |
D | UiModeNightTileModelHelper.kt | 31 powerSave: Boolean = false, in createModel() 42 powerSave, in createModel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UiModeNightTile.java | 122 boolean powerSave = mBatteryController.isPowerSave(); in handleUpdateState() 126 if (powerSave) { in handleUpdateState() 164 if (powerSave) { in handleUpdateState()
|
D | RotationLockTile.java | 149 final boolean powerSave = mBatteryController.isPowerSave(); in handleUpdateState() 152 !powerSave && !cameraLocked && hasSufficientPermission(mContext) in handleUpdateState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/interactor/ |
D | UiModeNightTileDataInteractor.kt | 93 val powerSave = batteryController.isPowerSave in createModel() constant 103 powerSave, in createModel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/ |
D | BatteryMeterView.java | 770 String powerSave = mDrawable == null ? null : mDrawable.getPowerSaveEnabled() + ""; in dump() local 775 pw.println(" mDrawable.getPowerSave: " + powerSave); in dump()
|