Home
last modified time | relevance | path

Searched refs:ReasonCode (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/apex/jobscheduler/framework/java/com/android/server/
DDeviceIdleInternal.java22 import android.os.PowerExemptionManager.ReasonCode;
42 long durationMs, int userId, boolean sync, @ReasonCode int reasonCode, in addPowerSaveTempWhitelistApp()
50 @ReasonCode int reasonCode, @Nullable String reason); in addPowerSaveTempWhitelistApp()
64 @TempAllowListType int type, boolean sync, @ReasonCode int reasonCode, in addPowerSaveTempWhitelistAppDirect()
110 @TempAllowListType int getTempAllowListType(@ReasonCode int reasonCode, in getTempAllowListType()
/frameworks/base/apex/jobscheduler/framework/java/android/os/
DPowerExemptionManager.java524 public @interface ReasonCode {} annotation in PowerExemptionManager
627 public void addToTemporaryAllowList(@NonNull String packageName, @ReasonCode int reasonCode, in addToTemporaryAllowList()
652 @ReasonCode int reasonCode, @Nullable String reason, @AllowListEvent int event) { in addToTemporaryAllowListForEvent()
674 public static @ReasonCode int getReasonCodeFromProcState(int procState) { in getReasonCodeFromProcState()
696 public static int getExemptionReasonForStatsd(@ReasonCode int reasonCode) { in getExemptionReasonForStatsd()
745 public static String reasonCodeToString(@ReasonCode int reasonCode) { in reasonCodeToString()
DPowerWhitelistManager.java377 public @interface ReasonCode {} annotation in PowerWhitelistManager
466 @ReasonCode int reasonCode, @Nullable String reason) { in whitelistAppTemporarily()
523 @WhitelistEvent int event, @ReasonCode int reasonCode, @Nullable String reason) { in whitelistAppTemporarilyForEvent()
534 public static @ReasonCode int getReasonCodeFromProcState(int procState) { in getReasonCodeFromProcState()
546 public static String reasonCodeToString(@ReasonCode int reasonCode) { in reasonCodeToString()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerInternal.java24 import android.os.PowerExemptionManager.ReasonCode;
52 @ReasonCode int reasonCode, @Nullable String reason); in onTempPowerSaveWhitelistChange()
DNetworkPolicyManagerService.java219 import android.os.PowerExemptionManager.ReasonCode;
6570 @ReasonCode int reasonCode, @Nullable String reason) {
/frameworks/base/services/core/java/com/android/server/am/
DBaseAppStatePolicy.java24 import android.os.PowerExemptionManager.ReasonCode;
120 @ReasonCode
DServiceRecord.java214 @PowerExemptionManager.ReasonCode
244 @PowerExemptionManager.ReasonCode
247 @PowerExemptionManager.ReasonCode
256 @PowerExemptionManager.ReasonCode
259 @PowerExemptionManager.ReasonCode
262 @PowerExemptionManager.ReasonCode
265 @PowerExemptionManager.ReasonCode
302 @PowerExemptionManager.ReasonCode
311 @PowerExemptionManager.ReasonCode
323 @PowerExemptionManager.ReasonCode
[all …]
DBaseAppStateEvents.java23 import android.os.PowerExemptionManager.ReasonCode;
57 @ReasonCode int mExemptReason = REASON_DENIED;
DBaseAppStateTimeSlotEventsTracker.java38 import android.os.PowerExemptionManager.ReasonCode;
281 @ReasonCode int shouldExempt(String packageName, int uid) { in shouldExempt()
296 final @ReasonCode int reason = shouldExemptUid(uid); in shouldExempt()
DAppMediaSessionTracker.java30 import android.os.PowerExemptionManager.ReasonCode;
220 String getExemptionReasonString(String packageName, int uid, @ReasonCode int reason) { in getExemptionReasonString()
DBaseAppStateEventsTracker.java24 import android.os.PowerExemptionManager.ReasonCode;
272 String getExemptionReasonString(String packageName, int uid, @ReasonCode int reason) { in getExemptionReasonString()
DPendingIntentRecord.java52 import android.os.PowerWhitelistManager.ReasonCode;
270 @ReasonCode int reasonCode;
273 TempAllowListDuration(long _duration, int _type, @ReasonCode int _reasonCode, in TempAllowListDuration()
290 @ReasonCode int reasonCode, @Nullable String reason) { in setAllowlistDurationLocked()
DAppFGSTracker.java41 import android.os.PowerExemptionManager.ReasonCode;
944 void onLongRunningFgs(String packageName, int uid, @ReasonCode int exemptReason) { in onLongRunningFgs()
990 String getExemptionReasonString(String packageName, int uid, @ReasonCode int reason) { in getExemptionReasonString()
DAppRestrictionController.java140 import android.os.PowerExemptionManager.ReasonCode;
2092 @ReasonCode final int reasonCode = getBackgroundRestrictionExemptionReason(uid); in getExemptionReasonStatsd()
2859 @ReasonCode
2861 @ReasonCode int reason = getPotentialSystemExemptionReason(uid);
2890 @ReasonCode
2928 @ReasonCode
2962 @ReasonCode
DActiveServices.java195 import android.os.PowerExemptionManager.ReasonCode;
1169 @PowerExemptionManager.ReasonCode final int fgsStartReasonCode = r.getFgsAllowStart(); in shouldAllowBootCompletedStart()
2923 @ReasonCode int reason = appRestrictionController in checkPermission()
8266 @ReasonCode int allowWiu; in setFgsRestrictionLocked()
8267 @ReasonCode int allowStart; in setFgsRestrictionLocked()
8280 @ReasonCode final int allowWhileInUse = shouldAllowFgsWhileInUsePermissionLocked( in setFgsRestrictionLocked()
8348 final @ReasonCode int allowWhileInUse = shouldAllowFgsWhileInUsePermissionLocked( in canStartForegroundServiceLocked()
8351 @ReasonCode int allowStartFgs = shouldAllowFgsStartForegroundNoBindingCheckLocked( in canStartForegroundServiceLocked()
8372 @ReasonCode int shouldAllowFgsWhileInUsePermissionLocked(String callingPackage, in shouldAllowFgsWhileInUsePermissionLocked()
8507 private @ReasonCode int shouldAllowFgsWhileInUsePermissionByBindingsLocked(int callingUid) { in shouldAllowFgsWhileInUsePermissionByBindingsLocked()
[all …]
DPendingIntentController.java344 long duration, int type, @PowerWhitelistManager.ReasonCode int reasonCode, in setPendingIntentAllowlistDuration()
DAppBatteryTracker.java60 import android.os.PowerExemptionManager.ReasonCode;
1879 final @ReasonCode int reason = shouldExemptUid(uid); in handleUidBatteryUsage()
DUserController.java3647 @PowerWhitelistManager.ReasonCode int reasonCode) {
/frameworks/base/core/java/android/app/
DBroadcastOptions.java39 import android.os.PowerExemptionManager.ReasonCode;
56 private @ReasonCode int mTemporaryAppAllowlistReasonCode;
406 @ReasonCode int reasonCode, @Nullable String reason) { in setTemporaryAppAllowlist()
453 public @ReasonCode int getTemporaryAppAllowlistReasonCode() { in getTemporaryAppAllowlistReasonCode()
DActivityManagerInternal.java43 import android.os.PowerExemptionManager.ReasonCode;
174 @ReasonCode int reasonCode, @Nullable String reason); in setPendingIntentAllowlistDuration()
213 @ReasonCode int reasonCode, in updateDeviceIdleTempAllowlist()
616 long duration, int type, @ReasonCode int reasonCode, String reason); in tempAllowlistForPendingIntent()
DActivityManager.java72 import android.os.PowerExemptionManager.ReasonCode;
6313 @ReasonCode
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java70 import android.os.PowerExemptionManager.ReasonCode;
2257 @ReasonCode int reasonCode, @Nullable String reason) throws RemoteException { in whitelistAppTemporarily()
2267 @ReasonCode int reasonCode, @Nullable String reason) throws RemoteException { in addPowerSaveTempWhitelistApp()
2272 @ReasonCode int reasonCode, @Nullable String reason) throws RemoteException { in addPowerSaveTempWhitelistAppForMms()
2280 @ReasonCode int reasonCode, @Nullable String reason) throws RemoteException { in addPowerSaveTempWhitelistAppForSms()
2334 long durationMs, int userId, boolean sync, @ReasonCode int reasonCode, in addPowerSaveTempWhitelistApp()
2344 @ReasonCode int reasonCode, @Nullable String reason) { in addPowerSaveTempWhitelistApp()
2351 @TempAllowListType int tempAllowListType, boolean sync, @ReasonCode int reasonCode, in addPowerSaveTempWhitelistAppDirect()
2412 public @TempAllowListType int getTempAllowListType(@ReasonCode int reasonCode, in getTempAllowListType()
3170 private @TempAllowListType int getTempAllowListType(@ReasonCode int reasonCode, in getTempAllowListType()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DBroadcastHelper.java285 @PowerExemptionManager.ReasonCode int reasonCode) { in getTemporaryAppAllowlistBroadcastOptions()
894 @PowerExemptionManager.ReasonCode int reasonCode) { in getTemporaryBroadcastOptionsForSystemPackageUpdate()
/frameworks/base/media/java/android/media/
DMediaCodec.java2705 public @interface ReasonCode {}
/frameworks/proto_logging/stats/
Datoms.proto1978 // See ISupplicantStaIfaceCallback.java:ReasonCode
5756 // PowerExemptionManager#ReasonCode.
20144 enum ReasonCode { enum
20153 optional ReasonCode exact_alarm_allowed_reason = 7;