Home
last modified time | relevance | path

Searched refs:allowedReason (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() argument
41 @LowPowerStandbyAllowedReason int allowedReason); in removeFromAllowlist() argument
DLowPowerStandbyController.java1209 @LowPowerStandbyAllowedReason int allowedReason) { in hasAllowedReasonLocked() argument
1211 return (allowedReasons & allowedReason) != 0; in hasAllowedReasonLocked()
1216 @LowPowerStandbyAllowedReason int allowedReason) { in addAllowedReasonLocked() argument
1218 final int newAllowReasons = allowedReasons | allowedReason; in addAllowedReasonLocked()
1225 @LowPowerStandbyAllowedReason int allowedReason) { in removeAllowedReasonLocked() argument
1231 final int newAllowedReasons = allowedReasons & ~allowedReason; in removeAllowedReasonLocked()
1240 private void addToAllowlistInternal(int uid, @LowPowerStandbyAllowedReason int allowedReason) { in addToAllowlistInternal() argument
1243 "Adding to allowlist: uid=" + uid + ", allowedReason=" + allowedReason); in addToAllowlistInternal()
1249 if (allowedReason != 0 && !hasAllowedReasonLocked(uid, allowedReason)) { in addToAllowlistInternal()
1250 addAllowedReasonLocked(uid, allowedReason); in addToAllowlistInternal()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DDataNetworkController.java2825 @NonNull DataAllowedReason allowedReason) { in setupDataNetwork() argument
2827 + dataSetupRetryEntry + ", allowed reason=" + allowedReason + ", service state=" in setupDataNetwork()
2862 mDataServiceManagers, dataProfile, networkRequestList, transport, allowedReason, in setupDataNetwork()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java6985 private static String allowedReasonToString(int allowedReason) {
6986 switch (allowedReason) {
7012 Slog.wtfStack(TAG, "Unknown allowedReason: " + allowedReason);
7013 return String.valueOf(allowedReason);