Home
last modified time | relevance | path

Searched refs:allowedFeatures (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/os/
DIPowerManager.aidl102 List<String> allowedFeatures;
DPowerManager.java3271 @NonNull Set<String> allowedFeatures) { in LowPowerStandbyPolicy() argument
3274 Objects.requireNonNull(allowedFeatures); in LowPowerStandbyPolicy()
3279 mAllowedFeatures = Collections.unmodifiableSet(allowedFeatures); in LowPowerStandbyPolicy()
3340 parcelablePolicy.allowedFeatures = new ArrayList<>(policy.mAllowedFeatures); in toParcelable()
3355 new ArraySet<>(parcelablePolicy.allowedFeatures)); in fromParcelable()
/frameworks/base/services/core/java/com/android/server/power/
DLowPowerStandbyController.java479 Set<String> allowedFeatures = new ArraySet<>(); in loadPolicy() local
510 allowedFeatures.add(parser.getAttributeValue(null, ATTR_VALUE)); in loadPolicy()
519 exemptPackages, allowedReasons, allowedFeatures); in loadPolicy()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DLowPowerStandbyControllerTest.java924 private LowPowerStandbyPolicy policyWithAllowedFeatures(String... allowedFeatures) { in policyWithAllowedFeatures() argument
929 new ArraySet<>(allowedFeatures) in policyWithAllowedFeatures()