Home
last modified time | relevance | path

Searched refs:PowerManagerService (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/
DScreenTimeoutOverridePolicy.java21 import static com.android.server.power.PowerManagerService.WAKE_LOCK_BUTTON_BRIGHT;
22 import static com.android.server.power.PowerManagerService.WAKE_LOCK_SCREEN_BRIGHT;
23 import static com.android.server.power.PowerManagerService.WAKE_LOCK_SCREEN_DIM;
24 import static com.android.server.power.PowerManagerService.WAKE_LOCK_SCREEN_TIMEOUT_OVERRIDE;
DPowerGroup.java26 import static com.android.server.power.PowerManagerService.TRACE_SCREEN_ON;
27 import static com.android.server.power.PowerManagerService.USER_ACTIVITY_SCREEN_BRIGHT;
28 import static com.android.server.power.PowerManagerService.WAKE_LOCK_DOZE;
29 import static com.android.server.power.PowerManagerService.WAKE_LOCK_DRAW;
30 import static com.android.server.power.PowerManagerService.WAKE_LOCK_SCREEN_BRIGHT;
31 import static com.android.server.power.PowerManagerService.WAKE_LOCK_SCREEN_DIM;
32 import static com.android.server.power.PowerManagerService.WAKE_LOCK_STAY_AWAKE;
DPowerManagerShellCommand.java36 private final PowerManagerService.BinderService mService;
40 PowerManagerShellCommand(Context context, PowerManagerService.BinderService service) { in PowerManagerShellCommand()
DShutdownThread.java721 PowerManagerService.lowLevelReboot(reason); in rebootOrShutdown()
736 PowerManagerService.lowLevelShutdown(reason); in rebootOrShutdown()
DPowerManagerService.java164 public final class PowerManagerService extends SystemService class
937 public void nativeInit(PowerManagerService service) { in nativeInit()
943 PowerManagerService.nativeAcquireSuspendBlocker(name); in nativeAcquireSuspendBlocker()
948 PowerManagerService.nativeReleaseSuspendBlocker(name); in nativeReleaseSuspendBlocker()
953 PowerManagerService.nativeSetAutoSuspend(enable); in nativeSetAutoSuspend()
958 PowerManagerService.nativeSetPowerBoost(boost, durationMs); in nativeSetPowerBoost()
963 return PowerManagerService.nativeSetPowerMode(mode, enabled); in nativeSetPowerMode()
968 return PowerManagerService.nativeForceSuspend(); in nativeForceSuspend()
997 SuspendBlocker createSuspendBlocker(PowerManagerService service, String name) { in createSuspendBlocker()
1161 public PowerManagerService(Context context) {
[all …]
DWakefulnessSessionObserver.java22 import static com.android.server.power.PowerManagerService.DEFAULT_SCREEN_OFF_TIMEOUT;
DNotifier.java381 } else if (!PowerManagerService.isSameCallback(callback, newCallback)) { in onWakeLockChanging()
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DNotifierTest.java75 @Mock private PowerManagerService.NativeWrapper mNativeWrapperMock;
87 private PowerManagerService mService;
107 mService = new PowerManagerService(mContextSpy, mInjector); in setUp()
280 private final PowerManagerService.Injector mInjector = new PowerManagerService.Injector() {
290 SuspendBlocker createSuspendBlocker(PowerManagerService service, String name) {
300 PowerManagerService.NativeWrapper createNativeWrapper() {
DPowerManagerServiceTest.java109 import com.android.server.power.PowerManagerService.BatteryReceiver;
110 import com.android.server.power.PowerManagerService.BinderService;
111 import com.android.server.power.PowerManagerService.NativeWrapper;
112 import com.android.server.power.PowerManagerService.UserSwitchedReceiver;
113 import com.android.server.power.PowerManagerService.WakeLock;
172 @Mock private PowerManagerService.NativeWrapper mNativeWrapperMock;
181 @Mock private PowerManagerService.PermissionCheckerWrapper mPermissionCheckerWrapperMock;
182 @Mock private PowerManagerService.PowerPropertiesWrapper mPowerPropertiesWrapper;
190 private PowerManagerService mService;
273 private PowerManagerService createService() { in createService()
[all …]
DPowerGroupTest.java35 import static com.android.server.power.PowerManagerService.USER_ACTIVITY_SCREEN_BRIGHT;
36 import static com.android.server.power.PowerManagerService.WAKE_LOCK_DOZE;
37 import static com.android.server.power.PowerManagerService.WAKE_LOCK_SCREEN_BRIGHT;
/frameworks/base/packages/SystemUI/docs/device-entry/
Dkeyguard.md13 …s, multi press) is done in [PhoneWindowManager][4], with calls to [PowerManagerService][2] to slee…
17 …low power mode, with the display active for [AOD][3] or inactive. [PowerManagerService][2] can be …
56 [2]: /com/android/server/power/PowerManagerService.java
/frameworks/base/services/
Dart-profile-boot554 Lcom/android/server/power/PowerManagerService;->findWakeLockIndexLocked(Landroid/os/IBinder;)I
555 Lcom/android/server/power/PowerManagerService;->updateWakeLockSummaryLocked(I)V
566 Lcom/android/server/power/PowerManagerService;->getWakeLockSummaryFlags(Lcom/android/server/power/P…
634 Lcom/android/server/power/PowerManagerService;->access$3700(Lcom/android/server/power/PowerManagerS…
660 Lcom/android/server/power/PowerManagerService;->updatePowerStateLocked()V
662 Lcom/android/server/power/PowerManagerService;->isMaximumScreenOffTimeoutFromDeviceAdminEnforcedLoc…
664 Lcom/android/server/power/PowerManagerService;->updateIsPoweredLocked(I)V
665 Lcom/android/server/power/PowerManagerService;->updateStayOnLocked(I)V
666 Lcom/android/server/power/PowerManagerService;->updateScreenBrightnessBoostLocked(I)V
667 Lcom/android/server/power/PowerManagerService;->updateUserActivitySummaryLocked(JI)V
[all …]
Dart-profile73 …keLock;]Landroid/os/PowerManagerInternal;Lcom/android/server/power/PowerManagerService$LocalServic…
77 …ervice;]Landroid/os/PowerManagerInternal;Lcom/android/server/power/PowerManagerService$LocalServic…
420 …d;II)V+]Landroid/os/PowerManagerInternal;Lcom/android/server/power/PowerManagerService$LocalServic…
846 …andler;]Landroid/os/PowerManagerInternal;Lcom/android/server/power/PowerManagerService$LocalServic…
868 …andler;]Landroid/os/PowerManagerInternal;Lcom/android/server/power/PowerManagerService$LocalServic…
1131 …op(I)V+]Landroid/os/PowerManagerInternal;Lcom/android/server/power/PowerManagerService$LocalServic…
1471 …layManagerInternal$DisplayPowerCallbacks;Lcom/android/server/power/PowerManagerService$1;]Landroid…
2939 HSPLcom/android/server/power/PowerManagerService$BinderService;->acquireWakeLock(Landroid/os/IBinde…
2940 …r/PowerManagerService$BinderService;->isDeviceIdleMode()Z+]Lcom/android/server/power/PowerManagerS…
2941 HSPLcom/android/server/power/PowerManagerService$BinderService;->isInteractive()Z
[all …]
Dart-wear-profile1097 Lcom/android/server/power/PowerManagerService$$ExternalSyntheticLambda0;
1098 Lcom/android/server/power/PowerManagerService$$ExternalSyntheticLambda1;
1099 Lcom/android/server/power/PowerManagerService$1;
1100 Lcom/android/server/power/PowerManagerService$3;
1101 Lcom/android/server/power/PowerManagerService$4;
1102 Lcom/android/server/power/PowerManagerService$BatteryReceiver;
1103 Lcom/android/server/power/PowerManagerService$BinderService;
1104 Lcom/android/server/power/PowerManagerService$Clock;
1105 Lcom/android/server/power/PowerManagerService$Constants;
1106 Lcom/android/server/power/PowerManagerService$DockReceiver;
[all …]
/frameworks/proto_logging/stats/atoms/power/
Dpower_extension_atoms.proto40 * frameworks/base/services/core/java/com/android/server/power/PowerManagerService.java
84 // power group id is the superset of display_id used in PowerManagerService
117 // power group id is the superset of display_id used in PowerManagerService
/frameworks/native/libs/input/
Dinput_flags.aconfig106 description: "Move user-activity poke rate-limiting from PowerManagerService to InputDispatcher."
/frameworks/base/core/proto/android/server/
Dpowermanagerservice.proto36 // A com.android.server.power.PowerManagerService.Constants object.
65 // A com.android.server.power.PowerManagerService.UidState object.
196 // A com.android.server.power.PowerManagerService.SuspendBlockerImpl object.
204 // A com.android.server.power.PowerManagerService.WakeLock object.
/frameworks/base/services/core/java/com/android/server/
DEventLogTags.logtags16 # PowerManagerService.java
/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverStateMachine.java48 import com.android.server.power.PowerManagerService;
/frameworks/base/services/java/com/android/server/
DSystemServer.java222 import com.android.server.power.PowerManagerService;
456 private PowerManagerService mPowerManagerService;
1181 mPowerManagerService = mSystemServiceManager.startService(PowerManagerService.class); in startBootstrapServices()
/frameworks/proto_logging/stats/
Datoms.proto2895 * services/core/java/com/android/server/power/PowerManagerService.java
11236 * Logs PowerManagerService screen timeout resets (extensions) that happen when an attention check
11240 * frameworks/base/services/core/java/com/android/server/power/PowerManagerService.java