Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/
DLowPowerStandbyControllerInternal.java32 public abstract void addToAllowlist(int uid, @LowPowerStandbyAllowedReason int allowedReason); in addToAllowlist() method in LowPowerStandbyControllerInternal
DLowPowerStandbyController.java1427 public void addToAllowlist(int uid, @LowPowerStandbyAllowedReason int allowedReason) { in addToAllowlist() method in LowPowerStandbyController.LocalService
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DLowPowerStandbyControllerTest.java541 service.addToAllowlist(10, LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION); in testAddToAllowlist_ReasonIsAllowed_servicesAreNotified()
560 service.addToAllowlist(10, LOW_POWER_STANDBY_ALLOWED_REASON_VOICE_INTERACTION); in testRemoveFromAllowlist_ReasonIsAllowed_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()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java374 mLowPowerStandbyControllerInternal.addToAllowlist(mCallingUid, in showLocked()