Home
last modified time | relevance | path

Searched refs:LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DLowPowerStandbyControllerTest.java22 import static android.os.PowerManager.LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION;
537 policyWithAllowedReasons(LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION)); in testAddToAllowlist_ReasonIsAllowed_servicesAreNotified()
541 service.addToAllowlist(10, LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION); in testAddToAllowlist_ReasonIsAllowed_servicesAreNotified()
546 service.removeFromAllowlist(10, LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION); in testAddToAllowlist_ReasonIsAllowed_servicesAreNotified()
556 policyWithAllowedReasons(LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION)); in testRemoveFromAllowlist_ReasonIsAllowed_servicesAreNotified()
560 service.addToAllowlist(10, LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION); in testRemoveFromAllowlist_ReasonIsAllowed_servicesAreNotified()
563 service.removeFromAllowlist(10, LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION); in testRemoveFromAllowlist_ReasonIsAllowed_servicesAreNotified()
574 policyWithAllowedReasons(LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION)); in testSetAllowReasons_ActiveExemptionsNoLongerAllowed_servicesAreNotified()
578 service.addToAllowlist(10, LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION); in testSetAllowReasons_ActiveExemptionsNoLongerAllowed_servicesAreNotified()
596 service.addToAllowlist(10, LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION); in testSetAllowReasons_ReasonBecomesAllowed_servicesAreNotified()
[all …]
/frameworks/base/core/java/android/os/
DPowerManager.java3174 LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION,
3187 public static final int LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION = 1 << 0; field in PowerManager
3209 if ((allowedReasons & LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION) != 0) { in lowPowerStandbyAllowedReasonsToString()
3211 allowedReasons &= ~LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION; in lowPowerStandbyAllowedReasonsToString()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java375 PowerManager.LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION); in showLocked()
891 PowerManager.LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION); in removeFromLowPowerStandbyAllowlist()
/frameworks/base/services/core/java/com/android/server/power/
DLowPowerStandbyController.java319 PowerManager.LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION,
/frameworks/base/core/api/
Dcurrent.txt33668 field public static final int LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION = 1; // 0x1