/frameworks/base/core/java/android/os/ |
D | PowerSaveState.java | 26 public class PowerSaveState implements Parcelable { class 41 public PowerSaveState(Builder builder) { in PowerSaveState() method in PowerSaveState 48 public PowerSaveState(Parcel in) { in PowerSaveState() method in PowerSaveState 96 public PowerSaveState build() { in build() 97 return new PowerSaveState(this); in build() 101 public static final Parcelable.Creator<PowerSaveState> 102 CREATOR = new Parcelable.Creator<PowerSaveState>() { 105 public PowerSaveState createFromParcel(Parcel source) { 106 return new PowerSaveState(source); 110 public PowerSaveState[] newArray(int size) { [all …]
|
D | PowerManagerInternal.java | 124 public abstract PowerSaveState getLowPowerState(int serviceType); in getLowPowerState() 130 void onLowPowerModeChanged(PowerSaveState state); in onLowPowerModeChanged()
|
D | IPowerManager.aidl | 21 import android.os.PowerSaveState; 49 PowerSaveState getPowerSaveState(int serviceType); in getPowerSaveState()
|
D | PowerSaveState.aidl | 19 parcelable PowerSaveState;
|
D | PowerManager.java | 1033 public PowerSaveState getPowerSaveState(int serviceType) { in getPowerSaveState()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | BatterySaverPolicyTest.java | 18 import android.os.PowerSaveState; 107 final PowerSaveState batterySaverStateOn = in testGetBatterySaverPolicy_PolicyDataSaver_DefaultValueCorrect() 111 final PowerSaveState batterySaverStateOff = mBatterySaverPolicy.getBatterySaverPolicy( in testGetBatterySaverPolicy_PolicyDataSaver_DefaultValueCorrect() 120 PowerSaveState stateOn = in testGetBatterySaverPolicy_PolicyScreenBrightness_DefaultValueCorrect() 129 PowerSaveState stateOn = in testGetBatterySaverPolicy_PolicyGps_DefaultValueCorrect() 138 final PowerSaveState vibrationState = in testUpdateConstants_getCorrectData() 142 final PowerSaveState animationState = in testUpdateConstants_getCorrectData() 146 final PowerSaveState soundState = in testUpdateConstants_getCorrectData() 150 final PowerSaveState networkState = mBatterySaverPolicy.getBatterySaverPolicy( in testUpdateConstants_getCorrectData() 154 final PowerSaveState screenState = in testUpdateConstants_getCorrectData() [all …]
|
D | PowerManagerServiceTest.java | 22 import android.os.PowerSaveState; 51 private PowerSaveState mPowerSaveState; 62 mPowerSaveState = new PowerSaveState.Builder() in setUp()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | BatterySaverPolicy.java | 26 import android.os.PowerSaveState; 223 public PowerSaveState getBatterySaverPolicy(@ServiceType int type, boolean realMode) { in getBatterySaverPolicy() 225 final PowerSaveState.Builder builder = new PowerSaveState.Builder() in getBatterySaverPolicy()
|
D | PowerManagerService.java | 47 import android.os.PowerSaveState; 1002 final PowerSaveState result = in updateLowPowerModeLocked() 2767 PowerSaveState state = mBatterySaverPolicy. in updatePowerRequestFromBatterySaverPolicy() 4319 public PowerSaveState getPowerSaveState(@ServiceType int serviceType) { in getPowerSaveState() 4681 public PowerSaveState getLowPowerState(@ServiceType int serviceType) { in getLowPowerState()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePowerManager.java | 22 import android.os.PowerSaveState; 47 public PowerSaveState getPowerSaveState(int serviceType) { in getPowerSaveState()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 107 import android.os.PowerSaveState; 274 final PowerSaveState state = new PowerSaveState.Builder() in registerLocalServices() 488 PowerSaveState stateOn = new PowerSaveState.Builder() in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm() 497 PowerSaveState stateOff = new PowerSaveState.Builder() in updateRestrictBackgroundByLowPowerMode_RestrictOnBeforeBsm_RestrictOnAfterBsm() 511 PowerSaveState stateOn = new PowerSaveState.Builder() in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm() 522 PowerSaveState stateOff = new PowerSaveState.Builder() in updateRestrictBackgroundByLowPowerMode_RestrictOffBeforeBsm_RestrictOffAfterBsm() 536 PowerSaveState stateOn = new PowerSaveState.Builder() in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore() 547 PowerSaveState stateOff = new PowerSaveState.Builder().setBatterySaverEnabled( in updateRestrictBackgroundByLowPowerMode_StatusChangedInBsm_DoNotRestore()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | TestWindowManagerPolicy.java | 26 import android.os.PowerSaveState; 76 PowerSaveState state = new PowerSaveState.Builder().build(); in getWindowManagerService()
|
/frameworks/base/services/core/java/com/android/server/ |
D | VibratorService.java | 30 import android.os.PowerSaveState; 256 public void onLowPowerModeChanged(PowerSaveState result) { in systemReady()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryStatsService.java | 31 import android.os.PowerSaveState; 287 public void onLowPowerModeChanged(PowerSaveState result) { in onLowPowerModeChanged()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 138 import android.os.PowerSaveState; 341 private PowerSaveState mRestrictBackgroundPowerState; 649 public void onLowPowerModeChanged(PowerSaveState result) { in initService() 689 public void onLowPowerModeChanged(PowerSaveState result) { in initService() 3981 public void updateRestrictBackgroundByLowPowerModeUL(final PowerSaveState result) { in updateRestrictBackgroundByLowPowerModeUL()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssLocationProvider.java | 51 import android.os.PowerSaveState; 552 final PowerSaveState result = in updateLowPowerMode()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 83 import android.os.PowerSaveState; 5520 final PowerSaveState result = in beginFullBackup() 10004 final PowerSaveState result = in backupNow()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 152 import android.os.PowerSaveState; 1058 public void onLowPowerModeChanged(PowerSaveState result) { in WindowManagerService()
|
/frameworks/base/ |
D | compiled-classes-phone | 3300 android.os.PowerSaveState 3301 android.os.PowerSaveState$1 3302 android.os.PowerSaveState$Builder
|