Searched refs:powerSave (Results 1 – 6 of 6) sorted by relevance
42 default void setPowerSaveMode(boolean powerSave) { in setPowerSaveMode() argument43 setPowerSaveMode(powerSave, null); in setPowerSaveMode()51 void setPowerSaveMode(boolean powerSave, @Nullable View view); in setPowerSaveMode() argument
170 public void setPowerSaveMode(boolean powerSave, View view) { in setPowerSaveMode() argument171 if (powerSave) mPowerSaverStartView.set(new WeakReference<>(view)); in setPowerSaveMode()172 BatterySaverUtils.setPowerSaveMode(mContext, powerSave, /*needFirstTimeWarning*/ true); in setPowerSaveMode()389 private void setPowerSave(boolean powerSave) { in setPowerSave() argument390 if (powerSave == mPowerSave) return; in setPowerSave()391 mPowerSave = powerSave; in setPowerSave()445 String powerSave = args.getString("powersave"); in dispatchDemoCommand() local454 if (powerSave != null) { in dispatchDemoCommand()455 mPowerSave = powerSave.equals("true"); in dispatchDemoCommand()
45 public void setPowerSaveMode(boolean powerSave) { in setPowerSaveMode() argument50 public void setPowerSaveMode(boolean powerSave, View view) { in setPowerSaveMode() argument
120 boolean powerSave = mBatteryController.isPowerSave(); in handleUpdateState()124 if (powerSave) { in handleUpdateState()162 if (powerSave) { in handleUpdateState()
144 final boolean powerSave = mBatteryController.isPowerSave(); in handleUpdateState()147 !powerSave && !cameraLocked && hasSufficientPermission(mContext) in handleUpdateState()
468 String powerSave = mDrawable == null ? null : mDrawable.getPowerSaveEnabled() + ""; in dump() local471 pw.println(" mDrawable.getPowerSave: " + powerSave); in dump()