/aosp14/frameworks/base/apex/jobscheduler/framework/java/com/android/server/ |
H A D | DeviceIdleInternal.java | 21 import android.os.PowerExemptionManager.ReasonCode; 41 long durationMs, int userId, boolean sync, @ReasonCode int reasonCode, in addPowerSaveTempWhitelistApp() 49 @ReasonCode int reasonCode, @Nullable String reason); in addPowerSaveTempWhitelistApp() 63 @TempAllowListType int type, boolean sync, @ReasonCode int reasonCode, in addPowerSaveTempWhitelistAppDirect() 106 @TempAllowListType int getTempAllowListType(@ReasonCode int reasonCode, in getTempAllowListType()
|
/aosp14/frameworks/base/apex/jobscheduler/framework/java/android/os/ |
H A D | PowerExemptionManager.java | 507 public @interface ReasonCode {} annotation in PowerExemptionManager 610 public void addToTemporaryAllowList(@NonNull String packageName, @ReasonCode int reasonCode, in addToTemporaryAllowList() 635 @ReasonCode int reasonCode, @Nullable String reason, @AllowListEvent int event) { in addToTemporaryAllowListForEvent() 657 public static @ReasonCode int getReasonCodeFromProcState(int procState) { in getReasonCodeFromProcState() 679 public static int getExemptionReasonForStatsd(@ReasonCode int reasonCode) { in getExemptionReasonForStatsd() 728 public static String reasonCodeToString(@ReasonCode int reasonCode) { in reasonCodeToString()
|
H A D | PowerWhitelistManager.java | 372 public @interface ReasonCode {} annotation in PowerWhitelistManager 461 @ReasonCode int reasonCode, @Nullable String reason) { in whitelistAppTemporarily() 518 @WhitelistEvent int event, @ReasonCode int reasonCode, @Nullable String reason) { in whitelistAppTemporarilyForEvent() 529 public static @ReasonCode int getReasonCodeFromProcState(int procState) { in getReasonCodeFromProcState() 541 public static String reasonCodeToString(@ReasonCode int reasonCode) { in reasonCodeToString()
|
/aosp14/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkPolicyManagerInternal.java | 24 import android.os.PowerExemptionManager.ReasonCode; 52 @ReasonCode int reasonCode, @Nullable String reason); in onTempPowerSaveWhitelistChange()
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | BaseAppStatePolicy.java | 24 import android.os.PowerExemptionManager.ReasonCode; 120 @ReasonCode
|
H A D | ServiceRecord.java | 180 @PowerExemptionManager.ReasonCode 210 @PowerExemptionManager.ReasonCode 213 @PowerExemptionManager.ReasonCode 222 @PowerExemptionManager.ReasonCode 225 @PowerExemptionManager.ReasonCode 228 @PowerExemptionManager.ReasonCode 231 @PowerExemptionManager.ReasonCode 234 @PowerExemptionManager.ReasonCode 245 @PowerExemptionManager.ReasonCode 268 @PowerExemptionManager.ReasonCode [all …]
|
H A D | BaseAppStateEvents.java | 23 import android.os.PowerExemptionManager.ReasonCode; 57 @ReasonCode int mExemptReason = REASON_DENIED;
|
H A D | BaseAppStateTimeSlotEventsTracker.java | 38 import android.os.PowerExemptionManager.ReasonCode; 281 @ReasonCode int shouldExempt(String packageName, int uid) { in shouldExempt() 296 final @ReasonCode int reason = shouldExemptUid(uid); in shouldExempt()
|
H A D | AppMediaSessionTracker.java | 30 import android.os.PowerExemptionManager.ReasonCode; 220 String getExemptionReasonString(String packageName, int uid, @ReasonCode int reason) { in getExemptionReasonString()
|
H A D | BaseAppStateEventsTracker.java | 24 import android.os.PowerExemptionManager.ReasonCode; 272 String getExemptionReasonString(String packageName, int uid, @ReasonCode int reason) { in getExemptionReasonString()
|
H A D | PendingIntentRecord.java | 44 import android.os.PowerWhitelistManager.ReasonCode; 236 @ReasonCode int reasonCode; 239 TempAllowListDuration(long _duration, int _type, @ReasonCode int _reasonCode, in TempAllowListDuration() 256 @ReasonCode int reasonCode, @Nullable String reason) { in setAllowlistDurationLocked()
|
H A D | AppFGSTracker.java | 41 import android.os.PowerExemptionManager.ReasonCode; 939 void onLongRunningFgs(String packageName, int uid, @ReasonCode int exemptReason) { in onLongRunningFgs() 985 String getExemptionReasonString(String packageName, int uid, @ReasonCode int reason) { in getExemptionReasonString()
|
H A D | AppRestrictionController.java | 130 import android.os.PowerExemptionManager.ReasonCode; 2073 @ReasonCode final int reasonCode = getBackgroundRestrictionExemptionReason(uid); in getExemptionReasonStatsd() 2746 @ReasonCode 2748 @ReasonCode int reason = getPotentialSystemExemptionReason(uid); in getBackgroundRestrictionExemptionReason() 2777 @ReasonCode 2815 @ReasonCode 2849 @ReasonCode
|
H A D | ActiveServices.java | 194 import android.os.PowerExemptionManager.ReasonCode; 2687 @ReasonCode int reason = appRestrictionController in checkPermission() 7524 @ReasonCode int allowWIU; in setFgsRestrictionLocked() 7525 @ReasonCode int allowStart; in setFgsRestrictionLocked() 7858 final @ReasonCode int allowWhileInUse2 = in canBindingClientStartFgsLocked() 7863 final @ReasonCode int allowStartFgs = in canBindingClientStartFgsLocked() 7898 private @ReasonCode int shouldAllowFgsStartForegroundWithBindingCheckLocked( in shouldAllowFgsStartForegroundWithBindingCheckLocked() 7899 @ReasonCode int allowWhileInUse, String callingPackage, int callingPid, in shouldAllowFgsStartForegroundWithBindingCheckLocked() 7958 private @ReasonCode int shouldAllowFgsStartForegroundNoBindingCheckLocked( in shouldAllowFgsStartForegroundNoBindingCheckLocked() 8120 private static boolean isFgsBgStart(@ReasonCode int code) { in isFgsBgStart() [all …]
|
H A D | PendingIntentController.java | 319 long duration, int type, @PowerWhitelistManager.ReasonCode int reasonCode, in setPendingIntentAllowlistDuration()
|
H A D | AppBatteryTracker.java | 60 import android.os.PowerExemptionManager.ReasonCode; 1840 final @ReasonCode int reason = shouldExemptUid(uid); in handleUidBatteryUsage()
|
H A D | BroadcastQueueImpl.java | 64 import android.os.PowerExemptionManager.ReasonCode; 940 final @ReasonCode int reasonCode = brOptions.getTemporaryAppAllowlistReasonCode(); in maybeScheduleTempAllowlistLocked()
|
H A D | ActivityManagerService.java | 339 import android.os.PowerExemptionManager.ReasonCode; 1305 final @ReasonCode int reasonCode; 1308 PendingTempAllowlist(int targetUid, long duration, @ReasonCode int reasonCode, String tag, in PendingTempAllowlist() 1339 final @PowerExemptionManager.ReasonCode int mReasonCode; 1343 FgsTempAllowListItem(long duration, @PowerExemptionManager.ReasonCode int reasonCode, in FgsTempAllowListItem() 16764 long duration, int type, @ReasonCode int reasonCode, String reason) { in tempAllowlistForPendingIntentLocked() 16800 void tempAllowlistUidLocked(int targetUid, long duration, @ReasonCode int reasonCode, in tempAllowlistUidLocked() 17726 long duration, int type, @ReasonCode int reasonCode, @Nullable String reason) { in setPendingIntentAllowlistDuration() 17781 @ReasonCode int reasonCode, @Nullable String reason, int callingUid) { in updateDeviceIdleTempAllowlist() 18198 long duration, int type, @ReasonCode int reasonCode, String reason) { in tempAllowlistForPendingIntent() [all …]
|
/aosp14/frameworks/base/core/java/android/app/ |
H A D | BroadcastOptions.java | 37 import android.os.PowerExemptionManager.ReasonCode; 53 private @ReasonCode int mTemporaryAppAllowlistReasonCode; 403 @ReasonCode int reasonCode, @Nullable String reason) { in setTemporaryAppAllowlist() 450 public @ReasonCode int getTemporaryAppAllowlistReasonCode() { in getTemporaryAppAllowlistReasonCode()
|
H A D | ActivityManagerInternal.java | 43 import android.os.PowerExemptionManager.ReasonCode; 168 @ReasonCode int reasonCode, @Nullable String reason); in setPendingIntentAllowlistDuration() 207 @ReasonCode int reasonCode, in updateDeviceIdleTempAllowlist() 610 long duration, int type, @ReasonCode int reasonCode, String reason); in tempAllowlistForPendingIntent()
|
H A D | ActivityManager.java | 71 import android.os.PowerExemptionManager.ReasonCode; 5882 @ReasonCode
|
/aosp14/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageRemovedInfo.java | 100 @PowerExemptionManager.ReasonCode int reasonCode) { in getTemporaryAppAllowlistBroadcastOptions()
|
H A D | BroadcastHelper.java | 234 @PowerExemptionManager.ReasonCode int reasonCode) { in getTemporaryAppAllowlistBroadcastOptions()
|
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
H A D | DeviceIdleController.java | 67 import android.os.PowerExemptionManager.ReasonCode; 2151 @ReasonCode int reasonCode, @Nullable String reason) throws RemoteException { in whitelistAppTemporarily() 2161 @ReasonCode int reasonCode, @Nullable String reason) throws RemoteException { in addPowerSaveTempWhitelistApp() 2166 @ReasonCode int reasonCode, @Nullable String reason) throws RemoteException { in addPowerSaveTempWhitelistAppForMms() 2250 long durationMs, int userId, boolean sync, @ReasonCode int reasonCode, in addPowerSaveTempWhitelistApp() 2260 @ReasonCode int reasonCode, @Nullable String reason) { in addPowerSaveTempWhitelistApp() 2323 public @TempAllowListType int getTempAllowListType(@ReasonCode int reasonCode, in getTempAllowListType() 3062 private @TempAllowListType int getTempAllowListType(@ReasonCode int reasonCode, in getTempAllowListType() 3075 int userId, @ReasonCode int reasonCode, @Nullable String reason) in addPowerSaveTempAllowlistAppChecked() 3128 @ReasonCode int reasonCode, @Nullable String reason) { in addPowerSaveTempAllowlistAppInternal() [all …]
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | MediaCodec.java | 2578 public @interface ReasonCode {}
|