Searched refs:PowerExemptionManager (Results 1 – 25 of 25) sorted by relevance
50 private final PowerExemptionManager mPowerExemptionManager;56 public static final int EVENT_UNSPECIFIED = PowerExemptionManager.EVENT_UNSPECIFIED;61 public static final int EVENT_SMS = PowerExemptionManager.EVENT_SMS;66 public static final int EVENT_MMS = PowerExemptionManager.EVENT_MMS;84 PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED;90 PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_NOT_ALLOWED;108 public static final int REASON_DENIED = PowerExemptionManager.REASON_DENIED;114 public static final int REASON_UNKNOWN = PowerExemptionManager.REASON_UNKNOWN;118 public static final int REASON_OTHER = PowerExemptionManager.REASON_OTHER;123 PowerExemptionManager.REASON_PROC_STATE_PERSISTENT;[all …]
51 public class PowerExemptionManager { class428 public PowerExemptionManager(@NonNull Context context) { in PowerExemptionManager() method in PowerExemptionManager
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 …]
34 import android.os.PowerExemptionManager.ReasonCode;35 import android.os.PowerExemptionManager.TempAllowListType;
25 import android.os.PowerExemptionManager;57 Context.POWER_EXEMPTION_SERVICE, PowerExemptionManager.class, in registerServiceWrappers()58 PowerExemptionManager::new); in registerServiceWrappers()
20 import android.os.PowerExemptionManager;21 import android.os.PowerExemptionManager.ReasonCode;22 import android.os.PowerExemptionManager.TempAllowListType;
24 import android.os.PowerExemptionManager.ReasonCode;
29 import static android.os.PowerExemptionManager.reasonCodeToString;
214 import android.os.PowerExemptionManager.ReasonCode;
29 import static android.os.PowerExemptionManager.REASON_ACTIVITY_STARTER;30 import static android.os.PowerExemptionManager.REASON_ACTIVITY_VISIBILITY_GRACE_PERIOD;31 import static android.os.PowerExemptionManager.REASON_ALLOWLISTED_PACKAGE;32 import static android.os.PowerExemptionManager.REASON_BACKGROUND_ACTIVITY_PERMISSION;33 import static android.os.PowerExemptionManager.REASON_BACKGROUND_FGS_PERMISSION;34 import static android.os.PowerExemptionManager.REASON_COMPANION_DEVICE_MANAGER;35 import static android.os.PowerExemptionManager.REASON_CURRENT_INPUT_METHOD;36 import static android.os.PowerExemptionManager.REASON_DENIED;37 import static android.os.PowerExemptionManager.REASON_DEVICE_DEMO_MODE;38 import static android.os.PowerExemptionManager.REASON_DEVICE_OWNER;[all …]
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 =
21 import static android.os.PowerExemptionManager.REASON_DENIED;41 import android.os.PowerExemptionManager;179 @PowerExemptionManager.ReasonCode int mAllowStartForeground = REASON_DENIED;181 @PowerExemptionManager.ReasonCode int mAllowStartForegroundAtEntering = REASON_DENIED;
48 import android.os.PowerExemptionManager.ReasonCode;49 import android.os.PowerExemptionManager.TempAllowListType;
53 import static android.os.PowerExemptionManager.REASON_SYSTEM_ALLOW_LISTED;54 import static android.os.PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED;55 import static android.os.PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_NONE;265 import android.os.PowerExemptionManager;266 import android.os.PowerExemptionManager.ReasonCode;267 import android.os.PowerExemptionManager.TempAllowListType;1217 final @PowerExemptionManager.ReasonCode int mReasonCode;1221 FgsTempAllowListItem(long duration, @PowerExemptionManager.ReasonCode int reasonCode, in FgsTempAllowListItem()1232 " reasonCode=" + PowerExemptionManager.reasonCodeToString(mReasonCode) + in dump()15964 PowerExemptionManager.REASON_LOCALE_CHANGED, ""); in broadcastGlobalConfigurationChanged()
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()
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()
24 import static android.os.PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED;70 import android.os.PowerExemptionManager;2945 PowerExemptionManager.REASON_BLUETOOTH_BROADCAST, ""); in getTempAllowlistBroadcastOptions()
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()
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()
28 import static android.os.PowerExemptionManager.REASON_LOCATION_PROVIDER;29 import static android.os.PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED;
4410 // PowerExemptionManager#ReasonCode.
8402 public class PowerExemptionManager {
13161 HSPLandroid/os/PowerExemptionManager;-><init>(Landroid/content/Context;)V28960 Landroid/os/PowerExemptionManager;
13152 HSPLandroid/os/PowerExemptionManager;-><init>(Landroid/content/Context;)V38597 Landroid/os/PowerExemptionManager;
24983 …nt/Context;Landroid/app/ContextImpl;]Landroid/os/PowerExemptionManager;Landroid/os/PowerExemptionM…