/aosp12/frameworks/base/apex/jobscheduler/framework/java/android/os/ |
H A D | PowerWhitelistManager.java | 50 private final PowerExemptionManager mPowerExemptionManager; 123 PowerExemptionManager.REASON_PROC_STATE_PERSISTENT; 145 PowerExemptionManager.REASON_START_ACTIVITY_FLAG; 180 PowerExemptionManager.REASON_ALLOWLISTED_PACKAGE; 204 PowerExemptionManager.REASON_ACTIVITY_RECOGNITION; 217 PowerExemptionManager.REASON_PRE_BOOT_COMPLETED; 223 PowerExemptionManager.REASON_LOCKED_BOOT_COMPLETED; 231 PowerExemptionManager.REASON_SYSTEM_ALLOW_LISTED; 266 PowerExemptionManager.REASON_DOMAIN_VERIFICATION_V1; 280 PowerExemptionManager.REASON_NOTIFICATION_SERVICE; [all …]
|
H A D | PowerExemptionManager.java | 51 public class PowerExemptionManager { class 428 public PowerExemptionManager(@NonNull Context context) { in PowerExemptionManager() method in PowerExemptionManager
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | BroadcastOptions.java | 26 import android.os.PowerExemptionManager; 27 import android.os.PowerExemptionManager.ReasonCode; 28 import android.os.PowerExemptionManager.TempAllowListType; 94 PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED; 103 PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_NOT_ALLOWED; 122 PowerExemptionManager.REASON_UNKNOWN); in BroadcastOptions() 147 PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED, in setTemporaryAppWhitelistDuration() 148 PowerExemptionManager.REASON_UNKNOWN, null); in setTemporaryAppWhitelistDuration() 183 != PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_NONE; in isTemporaryAppAllowlistSet() 188 mTemporaryAppAllowlistType = PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_NONE; in resetTemporaryAppAllowlist() [all …]
|
H A D | ActivityManagerInternal.java | 36 import android.os.PowerExemptionManager.ReasonCode; 37 import android.os.PowerExemptionManager.TempAllowListType;
|
/aosp12/frameworks/base/apex/jobscheduler/framework/java/android/app/job/ |
H A D | JobSchedulerFrameworkInitializer.java | 25 import android.os.PowerExemptionManager; 57 Context.POWER_EXEMPTION_SERVICE, PowerExemptionManager.class, in registerServiceWrappers() 58 PowerExemptionManager::new); in registerServiceWrappers()
|
/aosp12/frameworks/base/apex/jobscheduler/framework/java/com/android/server/ |
H A D | DeviceIdleInternal.java | 20 import android.os.PowerExemptionManager; 21 import android.os.PowerExemptionManager.ReasonCode; 22 import android.os.PowerExemptionManager.TempAllowListType;
|
/aosp12/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkPolicyManagerInternal.java | 24 import android.os.PowerExemptionManager.ReasonCode;
|
H A D | NetworkPolicyLogger.java | 29 import static android.os.PowerExemptionManager.reasonCodeToString;
|
H A D | NetworkPolicyManagerService.java | 214 import android.os.PowerExemptionManager.ReasonCode;
|
/aosp12/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActiveServices.java | 29 import static android.os.PowerExemptionManager.REASON_ACTIVITY_STARTER; 36 import static android.os.PowerExemptionManager.REASON_DENIED; 38 import static android.os.PowerExemptionManager.REASON_DEVICE_OWNER; 39 import static android.os.PowerExemptionManager.REASON_FGS_BINDING; 47 import static android.os.PowerExemptionManager.REASON_PROC_STATE_TOP; 48 import static android.os.PowerExemptionManager.REASON_PROFILE_OWNER; 53 import static android.os.PowerExemptionManager.REASON_SYSTEM_UID; 55 import static android.os.PowerExemptionManager.REASON_UID_VISIBLE; 58 import static android.os.PowerExemptionManager.reasonCodeToString; 127 import android.os.PowerExemptionManager; [all …]
|
H A D | ActivityManagerConstants.java | 19 import static android.os.PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_NOT_ALL… 20 import static android.os.PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_NONE; 33 import android.os.PowerExemptionManager; 473 volatile @PowerExemptionManager.TempAllowListType int mPushMessagingOverQuotaBehavior =
|
H A D | ServiceRecord.java | 21 import static android.os.PowerExemptionManager.REASON_DENIED; 42 import android.os.PowerExemptionManager; 180 @PowerExemptionManager.ReasonCode int mAllowStartForeground = REASON_DENIED; 182 @PowerExemptionManager.ReasonCode int mAllowStartForegroundAtEntering = REASON_DENIED;
|
H A D | BroadcastQueue.java | 55 import android.os.PowerExemptionManager.ReasonCode; 56 import android.os.PowerExemptionManager.TempAllowListType;
|
H A D | ActivityManagerService.java | 54 import static android.os.PowerExemptionManager.REASON_SYSTEM_ALLOW_LISTED; 55 import static android.os.PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED; 56 import static android.os.PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_NONE; 266 import android.os.PowerExemptionManager; 267 import android.os.PowerExemptionManager.ReasonCode; 268 import android.os.PowerExemptionManager.TempAllowListType; 1220 final @PowerExemptionManager.ReasonCode int mReasonCode; 1224 FgsTempAllowListItem(long duration, @PowerExemptionManager.ReasonCode int reasonCode, in FgsTempAllowListItem() 1235 " reasonCode=" + PowerExemptionManager.reasonCodeToString(mReasonCode) + in dump() 16021 PowerExemptionManager.REASON_LOCALE_CHANGED, ""); in broadcastGlobalConfigurationChanged()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/ |
H A D | Utils.java | 29 import static android.os.PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED; 56 import android.os.PowerExemptionManager; 964 PowerExemptionManager.REASON_BLUETOOTH_BROADCAST, ""); in getTempAllowlistBroadcastOptions()
|
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
H A D | DeviceIdleController.java | 19 import static android.os.PowerExemptionManager.REASON_SHELL; 20 import static android.os.PowerExemptionManager.REASON_UNKNOWN; 21 import static android.os.PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED; 22 import static android.os.PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_NONE; 62 import android.os.PowerExemptionManager; 63 import android.os.PowerExemptionManager.ReasonCode; 64 import android.os.PowerExemptionManager.TempAllowListType; 2806 case PowerExemptionManager.REASON_PUSH_MESSAGING_OVER_QUOTA: in getTempAllowListType() 2808 case PowerExemptionManager.REASON_DENIED: in getTempAllowListType()
|
/aosp12/frameworks/base/services/core/java/com/android/server/media/ |
H A D | MediaSessionService.java | 67 import android.os.PowerExemptionManager; 573 final PowerExemptionManager powerExemptionManager = in tempAllowlistTargetPkgIfPossible() 575 PowerExemptionManager.class); in tempAllowlistTargetPkgIfPossible() 577 PowerExemptionManager.REASON_MEDIA_SESSION_CALLBACK, reason, in tempAllowlistTargetPkgIfPossible()
|
/aosp12/frameworks/base/services/core/java/com/android/server/ |
H A D | BluetoothManagerService.java | 24 import static android.os.PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED; 70 import android.os.PowerExemptionManager; 2967 PowerExemptionManager.REASON_BLUETOOTH_BROADCAST, ""); in getTempAllowlistBroadcastOptions()
|
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/alarm/ |
H A D | AlarmManagerServiceTest.java | 131 import android.os.PowerExemptionManager; 2647 assertEquals(PowerExemptionManager.REASON_SCHEDULE_EXACT_ALARM_PERMISSION_STATE_CHANGED, in permissionGrantedDueToDenyList() 2756 assertEquals(PowerExemptionManager.REASON_SCHEDULE_EXACT_ALARM_PERMISSION_STATE_CHANGED, in opChangedPermissionGranted() 3036 assertEquals(PowerExemptionManager.REASON_TIMEZONE_CHANGED, in setTimeZoneImpl()
|
/aosp12/frameworks/base/apex/jobscheduler/service/java/com/android/server/alarm/ |
H A D | AlarmManagerService.java | 33 import static android.os.PowerExemptionManager.REASON_SCHEDULE_EXACT_ALARM_PERMISSION_STATE_CHANGED; 34 import static android.os.PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED; 86 import android.os.PowerExemptionManager; 1930 PowerExemptionManager.REASON_TIMEZONE_CHANGED, ""); in setTimeZoneImpl() 4183 PowerExemptionManager.REASON_TIME_CHANGED, ""); in run()
|
/aosp12/frameworks/base/services/core/java/com/android/server/location/provider/ |
H A D | LocationProviderManager.java | 28 import static android.os.PowerExemptionManager.REASON_LOCATION_PROVIDER; 29 import static android.os.PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED;
|
/aosp12/frameworks/proto_logging/stats/ |
H A D | atoms.proto | 4605 // PowerExemptionManager#ReasonCode.
|
/aosp12/frameworks/base/core/api/ |
H A D | system-current.txt | 8450 public class PowerExemptionManager {
|
/aosp12/frameworks/base/boot/ |
H A D | boot-image-profile.txt | 13161 HSPLandroid/os/PowerExemptionManager;-><init>(Landroid/content/Context;)V 28960 Landroid/os/PowerExemptionManager;
|
/aosp12/frameworks/base/config/ |
H A D | boot-image-profile.txt | 13152 HSPLandroid/os/PowerExemptionManager;-><init>(Landroid/content/Context;)V 38597 Landroid/os/PowerExemptionManager;
|