Home
last modified time | relevance | path

Searched refs:BatterySaverPolicyConfig (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/os/
DBatterySaverPolicyConfig.java34 public final class BatterySaverPolicyConfig implements Parcelable { class
56 private BatterySaverPolicyConfig(Builder in) { in BatterySaverPolicyConfig() method in BatterySaverPolicyConfig
80 private BatterySaverPolicyConfig(Parcel in) { in BatterySaverPolicyConfig() method in BatterySaverPolicyConfig
115 public static final @android.annotation.NonNull Creator<BatterySaverPolicyConfig> CREATOR =
116 new Creator<BatterySaverPolicyConfig>() {
118 public BatterySaverPolicyConfig createFromParcel(Parcel in) {
119 return new BatterySaverPolicyConfig(in);
123 public BatterySaverPolicyConfig[] newArray(int size) {
124 return new BatterySaverPolicyConfig[size];
502 public BatterySaverPolicyConfig build() { in build()
[all …]
DIPowerManager.aidl20 import android.os.BatterySaverPolicyConfig;
58 boolean setAdaptivePowerSavePolicy(in BatterySaverPolicyConfig config); in setAdaptivePowerSavePolicy()
DBatterySaverPolicyConfig.aidl19 parcelable BatterySaverPolicyConfig;
DPowerManager.java1489 public boolean setAdaptivePowerSavePolicy(@NonNull BatterySaverPolicyConfig config) { in setAdaptivePowerSavePolicy()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java19 import android.os.BatterySaverPolicyConfig;
55 public boolean setAdaptivePowerSavePolicy(BatterySaverPolicyConfig config) in setAdaptivePowerSavePolicy()
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverController.java26 import android.os.BatterySaverPolicyConfig;
356 boolean setAdaptivePolicyLocked(BatterySaverPolicyConfig config, int reason) { in setAdaptivePolicyLocked()
DBatterySaverStateMachine.java31 import android.os.BatterySaverPolicyConfig;
519 public boolean setAdaptiveBatterySaverPolicy(BatterySaverPolicyConfig config) { in setAdaptiveBatterySaverPolicy()
DBatterySaverPolicy.java23 import android.os.BatterySaverPolicyConfig;
648 static Policy fromConfig(BatterySaverPolicyConfig config) { in fromConfig()
/frameworks/base/api/
Dsystem-current.txt5770 public final class BatterySaverPolicyConfig implements android.os.Parcelable {
5792 …ull public static final android.os.Parcelable.Creator<android.os.BatterySaverPolicyConfig> CREATOR;
5795 public static final class BatterySaverPolicyConfig.Builder {
5796 ctor public BatterySaverPolicyConfig.Builder();
5797 …method @NonNull public android.os.BatterySaverPolicyConfig.Builder addDeviceSpecificSetting(@NonNu…
5798 method @NonNull public android.os.BatterySaverPolicyConfig build();
5799 …method @NonNull public android.os.BatterySaverPolicyConfig.Builder setAdjustBrightnessFactor(float…
5800 … method @NonNull public android.os.BatterySaverPolicyConfig.Builder setAdvertiseIsEnabled(boolean);
5801 method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDeferFullBackup(boolean);
5802 …method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDeferKeyValueBackup(boolean);
[all …]
/frameworks/base/non-updatable-api/
Dsystem-current.txt5676 public final class BatterySaverPolicyConfig implements android.os.Parcelable {
5698 …ull public static final android.os.Parcelable.Creator<android.os.BatterySaverPolicyConfig> CREATOR;
5701 public static final class BatterySaverPolicyConfig.Builder {
5702 ctor public BatterySaverPolicyConfig.Builder();
5703 …method @NonNull public android.os.BatterySaverPolicyConfig.Builder addDeviceSpecificSetting(@NonNu…
5704 method @NonNull public android.os.BatterySaverPolicyConfig build();
5705 …method @NonNull public android.os.BatterySaverPolicyConfig.Builder setAdjustBrightnessFactor(float…
5706 … method @NonNull public android.os.BatterySaverPolicyConfig.Builder setAdvertiseIsEnabled(boolean);
5707 method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDeferFullBackup(boolean);
5708 …method @NonNull public android.os.BatterySaverPolicyConfig.Builder setDeferKeyValueBackup(boolean);
[all …]
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java47 import android.os.BatterySaverPolicyConfig;
4564 public boolean setAdaptivePowerSavePolicy(@NonNull BatterySaverPolicyConfig config) { in setAdaptivePowerSavePolicy()