Home
last modified time | relevance | path

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

/frameworks/base/apex/jobscheduler/framework/java/android/os/
DPowerExemptionManager.java127 public static final int REASON_DENIED = -1; field in PowerExemptionManager
445 REASON_DENIED,
688 return REASON_DENIED; in getReasonCodeFromProcState()
735 return AppBackgroundRestrictionsInfo.REASON_DENIED; in getExemptionReasonForStatsd()
747 case REASON_DENIED: in reasonCodeToString()
DPowerWhitelistManager.java108 public static final int REASON_DENIED = PowerExemptionManager.REASON_DENIED; field in PowerWhitelistManager
325 REASON_DENIED,
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java23 import static android.os.PowerExemptionManager.REASON_DENIED;
215 int mAllowWiu_noBinding = REASON_DENIED;
245 int mAllowStart_noBinding = REASON_DENIED;
248 int mAllowStartForegroundAtEntering = REASON_DENIED;
257 int mAllowWiu_inBindService = REASON_DENIED;
260 int mAllowWiu_byBindings = REASON_DENIED;
263 int mAllowStart_inBindService = REASON_DENIED;
266 int mAllowStart_byBindings = REASON_DENIED;
350 return getFgsAllowWiu_forStart() != REASON_DENIED; in isFgsAllowedWiu_forStart()
357 return getFgsAllowWiu_forCapabilities() != REASON_DENIED; in isFgsAllowedWiu_forCapabilities()
[all …]
DBaseAppStateTimeSlotEventsTracker.java26 import static android.os.PowerExemptionManager.REASON_DENIED;
82 if (mInjector.getPolicy().shouldExempt(packageName, uid) != REASON_DENIED) { in handleNewEvent()
297 if (reason != REASON_DENIED) { in shouldExempt()
304 return REASON_DENIED; in shouldExempt()
DBaseAppStateEvents.java19 import static android.os.PowerExemptionManager.REASON_DENIED;
57 @ReasonCode int mExemptReason = REASON_DENIED;
DActiveServices.java62 import static android.os.PowerExemptionManager.REASON_DENIED;
2925 if (reason == REASON_DENIED) { in checkPermission()
2928 if (reason == REASON_DENIED) { in checkPermission()
2933 if (reason == REASON_DENIED) { in checkPermission()
8279 if ((allowWiu == REASON_DENIED) || (allowStart == REASON_DENIED)) { in setFgsRestrictionLocked()
8284 if (allowWiu == REASON_DENIED) { in setFgsRestrictionLocked()
8287 if (allowStart == REASON_DENIED) { in setFgsRestrictionLocked()
8313 if (r.mAllowWiu_byBindings == REASON_DENIED) { in setFgsRestrictionLocked()
8316 if (r.mAllowStart_byBindings == REASON_DENIED) { in setFgsRestrictionLocked()
8321 if (r.mAllowWiu_byBindings == REASON_DENIED) { in setFgsRestrictionLocked()
[all …]
DAppFGSTracker.java24 import static android.os.PowerExemptionManager.REASON_DENIED;
945 if (exemptReason != REASON_DENIED) { in onLongRunningFgs()
991 if (reason != REASON_DENIED) { in getExemptionReasonString()
DAppRestrictionController.java70 import static android.os.PowerExemptionManager.REASON_DENIED;
2089 return AppBackgroundRestrictionsInfo.REASON_DENIED; in getExemptionReasonStatsd()
2862 if (reason != REASON_DENIED) {
2870 if (reason != REASON_DENIED) {
2877 if (reason != REASON_DENIED) {
2882 return REASON_DENIED;
2919 return REASON_DENIED;
2953 return REASON_DENIED;
2985 return REASON_DENIED;
DAppBatteryTracker.java37 import static android.os.PowerExemptionManager.REASON_DENIED;
1880 if (reason != REASON_DENIED) { in handleUidBatteryUsage()
/frameworks/base/core/proto/android/os/
Dappbackgroundrestrictioninfo.proto107 REASON_DENIED = 1; enumerator
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java64 import static android.os.PowerExemptionManager.REASON_DENIED;
3060 verifyPotentialSystemExemptionReason(REASON_DENIED, in testCarrierPrivilegedAppListener()
3073 verifyPotentialSystemExemptionReason(REASON_DENIED, in testCarrierPrivilegedAppListener()
3089 verifyPotentialSystemExemptionReason(REASON_DENIED, in testCarrierPrivilegedAppListener()
3093 verifyPotentialSystemExemptionReason(REASON_DENIED, in testCarrierPrivilegedAppListener()
3102 verifyPotentialSystemExemptionReason(REASON_DENIED, in testCarrierPrivilegedAppListener()
3110 verifyPotentialSystemExemptionReason(REASON_DENIED, in testCarrierPrivilegedAppListener()
DActivityManagerServiceTest.java31 import static android.os.PowerExemptionManager.REASON_DENIED;
1382 doReturn(REASON_DENIED).when(mActiveServices) in testStartForegroundServiceDelegate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DFgsManagerController.kt689 var backgroundRestrictionExemptionReason = PowerExemptionManager.REASON_DENIED
/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/
DAlarmManagerService.java39 import static android.os.PowerExemptionManager.REASON_DENIED;
898 TEMPORARY_ALLOWLIST_TYPE_FOREGROUND_SERVICE_NOT_ALLOWED, REASON_DENIED, ""); in updateAllowWhileIdleWhitelistDurationLocked()
/frameworks/base/core/java/android/app/
DActivityManager.java6320 return PowerExemptionManager.REASON_DENIED; in getBackgroundRestrictionExemptionReason()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java3175 case PowerExemptionManager.REASON_DENIED: in getTempAllowListType()
/frameworks/proto_logging/stats/
Datoms.proto22175 REASON_DENIED = 1; enumerator