Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/
DLowPowerStandbyController.java49 import android.os.PowerManager.LowPowerStandbyPolicy;
192 final LowPowerStandbyPolicy policy = getPolicy();
313 private LowPowerStandbyPolicy mPolicy;
316 static final LowPowerStandbyPolicy DEFAULT_POLICY = new LowPowerStandbyPolicy(
466 private LowPowerStandbyPolicy loadPolicy() { in loadPolicy()
518 final LowPowerStandbyPolicy policy = new LowPowerStandbyPolicy(identifier, in loadPolicy()
548 private void savePolicy(@Nullable LowPowerStandbyPolicy policy) { in savePolicy()
590 private void enqueueSavePolicy(@Nullable LowPowerStandbyPolicy policy) { in enqueueSavePolicy()
778 private void notifyPolicyChanged(LowPowerStandbyPolicy policy) { in notifyPolicyChanged()
887 void setPolicy(@Nullable LowPowerStandbyPolicy policy) { in setPolicy()
[all …]
DPowerManagerService.java6493 public void setLowPowerStandbyPolicy(@Nullable IPowerManager.LowPowerStandbyPolicy policy) {
6504 PowerManager.LowPowerStandbyPolicy.fromParcelable(policy));
6515 public IPowerManager.LowPowerStandbyPolicy getLowPowerStandbyPolicy() {
6525 return PowerManager.LowPowerStandbyPolicy.toParcelable(
/frameworks/base/core/java/android/os/
DIPowerManager.aidl85 void setLowPowerStandbyPolicy(in @nullable LowPowerStandbyPolicy policy); in setLowPowerStandbyPolicy()
87 LowPowerStandbyPolicy getLowPowerStandbyPolicy(); in getLowPowerStandbyPolicy()
98 parcelable LowPowerStandbyPolicy {
DPowerManager.java2461 public void setLowPowerStandbyPolicy(@Nullable LowPowerStandbyPolicy policy) { in setLowPowerStandbyPolicy()
2463 mService.setLowPowerStandbyPolicy(LowPowerStandbyPolicy.toParcelable(policy)); in setLowPowerStandbyPolicy()
2484 public LowPowerStandbyPolicy getLowPowerStandbyPolicy() { in getLowPowerStandbyPolicy()
2486 return LowPowerStandbyPolicy.fromParcelable(mService.getLowPowerStandbyPolicy()); in getLowPowerStandbyPolicy()
3233 public static final class LowPowerStandbyPolicy { class in PowerManager
3268 public LowPowerStandbyPolicy(@NonNull String identifier, in LowPowerStandbyPolicy() method in PowerManager.LowPowerStandbyPolicy
3315 if (!(o instanceof LowPowerStandbyPolicy)) return false; in equals()
3316 LowPowerStandbyPolicy that = (LowPowerStandbyPolicy) o; in equals()
3329 public static IPowerManager.LowPowerStandbyPolicy toParcelable( in toParcelable()
3330 LowPowerStandbyPolicy policy) { in toParcelable()
[all …]
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DLowPowerStandbyControllerTest.java64 import android.os.PowerManager.LowPowerStandbyPolicy;
114 private static final LowPowerStandbyPolicy EMPTY_POLICY = new LowPowerStandbyPolicy(
915 private LowPowerStandbyPolicy policyWithAllowedReasons(int allowedReasons) { in policyWithAllowedReasons()
916 return new LowPowerStandbyPolicy( in policyWithAllowedReasons()
924 private LowPowerStandbyPolicy policyWithAllowedFeatures(String... allowedFeatures) { in policyWithAllowedFeatures()
925 return new LowPowerStandbyPolicy( in policyWithAllowedFeatures()
933 private LowPowerStandbyPolicy policyWithExemptPackages(String... exemptPackages) { in policyWithExemptPackages()
934 return new LowPowerStandbyPolicy( in policyWithExemptPackages()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePowerManager.java286 public void setLowPowerStandbyPolicy(LowPowerStandbyPolicy policy) { in setLowPowerStandbyPolicy()
291 public LowPowerStandbyPolicy getLowPowerStandbyPolicy() { in getLowPowerStandbyPolicy()
/frameworks/base/core/api/
Dsystem-current.txt11002 …Manifest.permission.DEVICE_POWER}) public android.os.PowerManager.LowPowerStandbyPolicy getLowPowe…
11016 …ER}) public void setLowPowerStandbyPolicy(@Nullable android.os.PowerManager.LowPowerStandbyPolicy);
11035 public static final class PowerManager.LowPowerStandbyPolicy {
11036 …ctor public PowerManager.LowPowerStandbyPolicy(@NonNull String, @NonNull java.util.Set<java.lang.S…
/frameworks/base/boot/
Dpreloaded-classes6087 android.os.IPowerManager$LowPowerStandbyPolicy$1
6088 android.os.IPowerManager$LowPowerStandbyPolicy
Dboot-image-profile.txt28485 Landroid/os/IPowerManager$LowPowerStandbyPolicy$1;
28486 Landroid/os/IPowerManager$LowPowerStandbyPolicy;
/frameworks/base/config/
Dpreloaded-classes6091 android.os.IPowerManager$LowPowerStandbyPolicy$1
6092 android.os.IPowerManager$LowPowerStandbyPolicy
Dboot-image-profile.txt38619 Landroid/os/IPowerManager$LowPowerStandbyPolicy$1;
38620 Landroid/os/IPowerManager$LowPowerStandbyPolicy;