/frameworks/base/apex/jobscheduler/framework/java/com/android/server/ |
D | DeviceIdleInternal.java | 22 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/ |
D | PowerExemptionManager.java | 524 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()
|
D | PowerWhitelistManager.java | 377 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/ |
D | NetworkPolicyManagerInternal.java | 24 import android.os.PowerExemptionManager.ReasonCode; 52 @ReasonCode int reasonCode, @Nullable String reason); in onTempPowerSaveWhitelistChange()
|
D | NetworkPolicyManagerService.java | 219 import android.os.PowerExemptionManager.ReasonCode; 6570 @ReasonCode int reasonCode, @Nullable String reason) {
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BaseAppStatePolicy.java | 24 import android.os.PowerExemptionManager.ReasonCode; 120 @ReasonCode
|
D | ServiceRecord.java | 214 @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 …]
|
D | BaseAppStateEvents.java | 23 import android.os.PowerExemptionManager.ReasonCode; 57 @ReasonCode int mExemptReason = REASON_DENIED;
|
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()
|
D | AppMediaSessionTracker.java | 30 import android.os.PowerExemptionManager.ReasonCode; 220 String getExemptionReasonString(String packageName, int uid, @ReasonCode int reason) { in getExemptionReasonString()
|
D | BaseAppStateEventsTracker.java | 24 import android.os.PowerExemptionManager.ReasonCode; 272 String getExemptionReasonString(String packageName, int uid, @ReasonCode int reason) { in getExemptionReasonString()
|
D | PendingIntentRecord.java | 52 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()
|
D | AppFGSTracker.java | 41 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()
|
D | AppRestrictionController.java | 140 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
|
D | ActiveServices.java | 195 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 …]
|
D | PendingIntentController.java | 344 long duration, int type, @PowerWhitelistManager.ReasonCode int reasonCode, in setPendingIntentAllowlistDuration()
|
D | AppBatteryTracker.java | 60 import android.os.PowerExemptionManager.ReasonCode; 1879 final @ReasonCode int reason = shouldExemptUid(uid); in handleUidBatteryUsage()
|
D | UserController.java | 3647 @PowerWhitelistManager.ReasonCode int reasonCode) {
|
/frameworks/base/core/java/android/app/ |
D | BroadcastOptions.java | 39 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()
|
D | ActivityManagerInternal.java | 43 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()
|
D | ActivityManager.java | 72 import android.os.PowerExemptionManager.ReasonCode; 6313 @ReasonCode
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | DeviceIdleController.java | 70 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/ |
D | BroadcastHelper.java | 285 @PowerExemptionManager.ReasonCode int reasonCode) { in getTemporaryAppAllowlistBroadcastOptions() 894 @PowerExemptionManager.ReasonCode int reasonCode) { in getTemporaryBroadcastOptionsForSystemPackageUpdate()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodec.java | 2705 public @interface ReasonCode {}
|
/frameworks/proto_logging/stats/ |
D | atoms.proto | 1978 // See ISupplicantStaIfaceCallback.java:ReasonCode 5756 // PowerExemptionManager#ReasonCode. 20144 enum ReasonCode { enum 20153 optional ReasonCode exact_alarm_allowed_reason = 7;
|