Home
last modified time | relevance | path

Searched refs:PowerExemptionManager (Results 1 – 25 of 51) sorted by relevance

123

/aosp14/frameworks/base/apex/jobscheduler/framework/java/android/os/
H A DPowerWhitelistManager.java50 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 DPowerExemptionManager.java51 public class PowerExemptionManager { class
512 public PowerExemptionManager(@NonNull Context context) { in PowerExemptionManager() method in PowerExemptionManager
/aosp14/frameworks/base/core/java/android/app/
H A DBroadcastOptions.java36 import android.os.PowerExemptionManager;
37 import android.os.PowerExemptionManager.ReasonCode;
38 import android.os.PowerExemptionManager.TempAllowListType;
174 PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED;
183 PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_NOT_ALLOWED;
331 PowerExemptionManager.REASON_UNKNOWN); in BroadcastOptions()
379 PowerExemptionManager.REASON_UNKNOWN, null); in setTemporaryAppWhitelistDuration()
417 != PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_NONE; in isTemporaryAppAllowlistSet()
422 mTemporaryAppAllowlistType = PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_NONE; in resetTemporaryAppAllowlist()
423 mTemporaryAppAllowlistReasonCode = PowerExemptionManager.REASON_UNKNOWN; in resetTemporaryAppAllowlist()
[all …]
H A DActivityManagerInternal.java43 import android.os.PowerExemptionManager.ReasonCode;
44 import android.os.PowerExemptionManager.TempAllowListType;
/aosp14/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
H A DJobSchedulerFrameworkInitializer.java27 import android.os.PowerExemptionManager;
59 Context.POWER_EXEMPTION_SERVICE, PowerExemptionManager.class, in registerServiceWrappers()
60 PowerExemptionManager::new); in registerServiceWrappers()
/aosp14/frameworks/base/apex/jobscheduler/framework/java/com/android/server/
H A DDeviceIdleInternal.java20 import android.os.PowerExemptionManager;
21 import android.os.PowerExemptionManager.ReasonCode;
22 import android.os.PowerExemptionManager.TempAllowListType;
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DFgsManagerController.kt32 import android.os.PowerExemptionManager
703 PowerExemptionManager.REASON_SYSTEM_UID,
706 PowerExemptionManager.REASON_SYSTEM_ALLOW_LISTED,
707 PowerExemptionManager.REASON_DEVICE_OWNER,
708 PowerExemptionManager.REASON_DISALLOW_APPS_CONTROL,
709 PowerExemptionManager.REASON_DPO_PROTECTED_APP,
710 PowerExemptionManager.REASON_PROFILE_OWNER,
711 PowerExemptionManager.REASON_ACTIVE_DEVICE_ADMIN,
712 PowerExemptionManager.REASON_PROC_STATE_PERSISTENT,
714 PowerExemptionManager.REASON_ROLE_DIALER,
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DServiceRecord.java50 import android.os.PowerExemptionManager;
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
[all …]
H A DBaseAppStateTimeSlotEventsTracker.java26 import static android.os.PowerExemptionManager.REASON_DENIED;
27 import static android.os.PowerExemptionManager.REASON_PROC_STATE_FGS;
28 import static android.os.PowerExemptionManager.REASON_PROC_STATE_TOP;
29 import static android.os.PowerExemptionManager.reasonCodeToString;
38 import android.os.PowerExemptionManager.ReasonCode;
H A DBaseAppStateEvents.java19 import static android.os.PowerExemptionManager.REASON_DENIED;
23 import android.os.PowerExemptionManager.ReasonCode;
H A DBaseAppStateEventsTracker.java23 import android.os.PowerExemptionManager;
24 import android.os.PowerExemptionManager.ReasonCode;
273 return PowerExemptionManager.reasonCodeToString(reason); in getExemptionReasonString()
H A DAppRestrictionController.java62 import static android.os.PowerExemptionManager.REASON_DENIED;
63 import static android.os.PowerExemptionManager.REASON_DEVICE_DEMO_MODE;
64 import static android.os.PowerExemptionManager.REASON_DEVICE_OWNER;
68 import static android.os.PowerExemptionManager.REASON_OP_ACTIVATE_VPN;
71 import static android.os.PowerExemptionManager.REASON_PROFILE_OWNER;
72 import static android.os.PowerExemptionManager.REASON_ROLE_DIALER;
73 import static android.os.PowerExemptionManager.REASON_ROLE_EMERGENCY;
76 import static android.os.PowerExemptionManager.REASON_SYSTEM_MODULE;
77 import static android.os.PowerExemptionManager.REASON_SYSTEM_UID;
79 import static android.os.PowerExemptionManager.reasonCodeToString;
[all …]
H A DBaseAppStatePolicy.java24 import android.os.PowerExemptionManager.ReasonCode;
H A DActiveServices.java62 import static android.os.PowerExemptionManager.REASON_DENIED;
64 import static android.os.PowerExemptionManager.REASON_DEVICE_OWNER;
67 import static android.os.PowerExemptionManager.REASON_FGS_BINDING;
73 import static android.os.PowerExemptionManager.REASON_OTHER;
78 import static android.os.PowerExemptionManager.REASON_PROFILE_OWNER;
85 import static android.os.PowerExemptionManager.REASON_SYSTEM_MODULE;
86 import static android.os.PowerExemptionManager.REASON_SYSTEM_UID;
88 import static android.os.PowerExemptionManager.REASON_UID_VISIBLE;
91 import static android.os.PowerExemptionManager.reasonCodeToString;
193 import android.os.PowerExemptionManager;
[all …]
H A DAppMediaSessionTracker.java30 import android.os.PowerExemptionManager.ReasonCode;
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageRemovedInfo.java19 import static android.os.PowerExemptionManager.REASON_PACKAGE_REPLACED;
20 import static android.os.PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED;
29 import android.os.PowerExemptionManager;
100 @PowerExemptionManager.ReasonCode int reasonCode) { in getTemporaryAppAllowlistBroadcastOptions()
H A DBroadcastHelper.java19 import static android.os.PowerExemptionManager.REASON_LOCKED_BOOT_COMPLETED;
20 import static android.os.PowerExemptionManager.TEMPORARY_ALLOW_LIST_TYPE_FOREGROUND_SERVICE_ALLOWED;
44 import android.os.PowerExemptionManager;
234 @PowerExemptionManager.ReasonCode int reasonCode) { in getTemporaryAppAllowlistBroadcastOptions()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/
H A DMediaOutputBroadcastDialogFactory.kt23 import android.os.PowerExemptionManager
50 private val powerExemptionManager: PowerExemptionManager,
H A DMediaOutputDialogFactory.kt23 import android.os.PowerExemptionManager
52 private val powerExemptionManager: PowerExemptionManager,
H A DMediaOutputController.java56 import android.os.PowerExemptionManager;
136 private final PowerExemptionManager mPowerExemptionManager;
181 PowerExemptionManager powerExemptionManager, in MediaOutputController()
991 PowerExemptionManager.REASON_MEDIA_NOTIFICATION_TRANSFER, in setTemporaryAllowListExceptionIfNeeded()
/aosp14/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerInternal.java24 import android.os.PowerExemptionManager.ReasonCode;
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
H A DMediaOutputBaseDialogTest.java35 import android.os.PowerExemptionManager;
91 private PowerExemptionManager mPowerExemptionManager = mock(PowerExemptionManager.class);
H A DMediaOutputDialogTest.java36 import android.os.PowerExemptionManager;
100 private PowerExemptionManager mPowerExemptionManager = mock(PowerExemptionManager.class);
H A DMediaOutputBroadcastDialogTest.java35 import android.os.PowerExemptionManager;
109 private PowerExemptionManager mPowerExemptionManager = mock(PowerExemptionManager.class);
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/
H A DFrameworkServicesModule.java75 import android.os.PowerExemptionManager;
473 static PowerExemptionManager providePowerExemptionManager(Context context) { in providePowerExemptionManager()
474 return context.getSystemService(PowerExemptionManager.class); in providePowerExemptionManager()

123