Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/framework/java/android/os/
DPowerExemptionManager.java117 public static final int REASON_DENIED = -1; field in PowerExemptionManager
358 REASON_DENIED,
587 return REASON_DENIED; in getReasonCodeFromProcState()
599 case REASON_DENIED: in reasonCodeToString()
DPowerWhitelistManager.java108 public static final int REASON_DENIED = PowerExemptionManager.REASON_DENIED; field in PowerWhitelistManager
320 REASON_DENIED,
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java36 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 …]
DServiceRecord.java21 import static android.os.PowerExemptionManager.REASON_DENIED;
179 @PowerExemptionManager.ReasonCode int mAllowStartForeground = REASON_DENIED;
181 @PowerExemptionManager.ReasonCode int mAllowStartForegroundAtEntering = REASON_DENIED;
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java2808 case PowerExemptionManager.REASON_DENIED: in getTempAllowListType()