Searched refs:REASON_DENIED (Results 1 – 5 of 5) sorted by relevance
117 public static final int REASON_DENIED = -1; field in PowerExemptionManager358 REASON_DENIED,587 return REASON_DENIED; in getReasonCodeFromProcState()599 case REASON_DENIED: in reasonCodeToString()
108 public static final int REASON_DENIED = PowerExemptionManager.REASON_DENIED; field in PowerWhitelistManager320 REASON_DENIED,
36 import static android.os.PowerExemptionManager.REASON_DENIED;681 if (r.mAllowStartForeground == REASON_DENIED && isBgFgsRestrictionEnabled(r)) { in startServiceLocked()1824 if (r.mAllowStartForeground == REASON_DENIED && isBgFgsRestrictionEnabled(r)) { in setServiceForegroundInnerLocked()5867 || (r.mAllowStartForeground == REASON_DENIED)) { in setFgsRestrictionLocked()5871 r.mAllowWhileInUsePermissionInFgs = (allowWhileInUse != REASON_DENIED); in setFgsRestrictionLocked()5873 if (r.mAllowStartForeground == REASON_DENIED) { in setFgsRestrictionLocked()5883 r.mAllowStartForeground = REASON_DENIED; in resetFgsRestrictionLocked()5899 return allowStartFgs != REASON_DENIED; in canStartForegroundServiceLocked()5913 int ret = REASON_DENIED; in shouldAllowFgsWhileInUsePermissionLocked()5916 if (ret == REASON_DENIED) { in shouldAllowFgsWhileInUsePermissionLocked()[all …]
21 import static android.os.PowerExemptionManager.REASON_DENIED;179 @PowerExemptionManager.ReasonCode int mAllowStartForeground = REASON_DENIED;181 @PowerExemptionManager.ReasonCode int mAllowStartForegroundAtEntering = REASON_DENIED;
2808 case PowerExemptionManager.REASON_DENIED: in getTempAllowListType()