Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/apex/jobscheduler/framework/java/com/android/server/
H A DDeviceIdleInternal.java21 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 DPowerExemptionManager.java507 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 DPowerWhitelistManager.java372 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 DNetworkPolicyManagerInternal.java24 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 DBaseAppStatePolicy.java24 import android.os.PowerExemptionManager.ReasonCode;
120 @ReasonCode
H A DServiceRecord.java180 @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 DBaseAppStateEvents.java23 import android.os.PowerExemptionManager.ReasonCode;
57 @ReasonCode int mExemptReason = REASON_DENIED;
H A 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()
H A DAppMediaSessionTracker.java30 import android.os.PowerExemptionManager.ReasonCode;
220 String getExemptionReasonString(String packageName, int uid, @ReasonCode int reason) { in getExemptionReasonString()
H A DBaseAppStateEventsTracker.java24 import android.os.PowerExemptionManager.ReasonCode;
272 String getExemptionReasonString(String packageName, int uid, @ReasonCode int reason) { in getExemptionReasonString()
H A DPendingIntentRecord.java44 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 DAppFGSTracker.java41 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 DAppRestrictionController.java130 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 DActiveServices.java194 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 DPendingIntentController.java319 long duration, int type, @PowerWhitelistManager.ReasonCode int reasonCode, in setPendingIntentAllowlistDuration()
H A DAppBatteryTracker.java60 import android.os.PowerExemptionManager.ReasonCode;
1840 final @ReasonCode int reason = shouldExemptUid(uid); in handleUidBatteryUsage()
H A DBroadcastQueueImpl.java64 import android.os.PowerExemptionManager.ReasonCode;
940 final @ReasonCode int reasonCode = brOptions.getTemporaryAppAllowlistReasonCode(); in maybeScheduleTempAllowlistLocked()
H A DActivityManagerService.java339 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 DBroadcastOptions.java37 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 DActivityManagerInternal.java43 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 DActivityManager.java71 import android.os.PowerExemptionManager.ReasonCode;
5882 @ReasonCode
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageRemovedInfo.java100 @PowerExemptionManager.ReasonCode int reasonCode) { in getTemporaryAppAllowlistBroadcastOptions()
H A DBroadcastHelper.java234 @PowerExemptionManager.ReasonCode int reasonCode) { in getTemporaryAppAllowlistBroadcastOptions()
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/
H A DDeviceIdleController.java67 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 DMediaCodec.java2578 public @interface ReasonCode {}

12