/frameworks/base/services/core/java/com/android/server/ |
D | CachedDeviceStateService.java | 96 final PowerManager powerManager = context.getSystemService(PowerManager.class); in queryScreenInteractive() local 97 if (powerManager == null) { in queryScreenInteractive() 101 return powerManager.isInteractive(); in queryScreenInteractive()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | KeyEventDispatcher.java | 85 int messageTypeForSendKeyEvent, Object lock, PowerManager powerManager) { in KeyEventDispatcher() argument 97 mPowerManager = powerManager; in KeyEventDispatcher() 106 int messageTypeForSendKeyEvent, Object lock, PowerManager powerManager, in KeyEventDispatcher() argument 108 this(handlerToSendKeyEventsToInputFilter, messageTypeForSendKeyEvent, lock, powerManager); in KeyEventDispatcher()
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
D | SipWakeLock.java | 32 SipWakeLock(PowerManager powerManager) { in SipWakeLock() argument 33 mPowerManager = powerManager; in SipWakeLock()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | LatencyTester.java | 67 PowerManager powerManager = mContext.getSystemService(PowerManager.class); in fakeTurnOnScreen() local 72 powerManager.wakeUp(SystemClock.uptimeMillis(), "android.policy:LATENCY_TESTS"); in fakeTurnOnScreen()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | DynamicSystemInstallationService.java | 301 PowerManager powerManager = (PowerManager) getSystemService(Context.POWER_SERVICE); in executeRebootToDynSystemCommand() local 303 if (powerManager != null) { in executeRebootToDynSystemCommand() 304 powerManager.reboot("dynsystem"); in executeRebootToDynSystemCommand() 326 PowerManager powerManager = (PowerManager) getSystemService(Context.POWER_SERVICE); in executeRebootToNormalCommand() local 328 if (powerManager != null) { in executeRebootToNormalCommand() 329 powerManager.reboot(null); in executeRebootToNormalCommand()
|
/frameworks/base/services/core/java/com/android/server/timedetector/ |
D | TimeDetectorStrategyCallbackImpl.java | 58 PowerManager powerManager = context.getSystemService(PowerManager.class); in TimeDetectorStrategyCallbackImpl() local 60 powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG)); in TimeDetectorStrategyCallbackImpl()
|
/frameworks/base/core/java/android/service/dreams/ |
D | Sandman.java | 93 PowerManager powerManager = in startDream() local 95 powerManager.wakeUp(SystemClock.uptimeMillis(), in startDream()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | NtpTimeHelper.java | 83 PowerManager powerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in NtpTimeHelper() local 84 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_KEY); in NtpTimeHelper()
|
D | GeofenceManager.java | 124 PowerManager powerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE); in GeofenceManager() local 125 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, TAG); in GeofenceManager()
|
D | GnssNetworkConnectivityHandler.java | 173 PowerManager powerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in GnssNetworkConnectivityHandler() local 174 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_KEY); in GnssNetworkConnectivityHandler()
|
D | GnssVisibilityControl.java | 102 PowerManager powerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in GnssVisibilityControl() local 103 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_KEY); in GnssVisibilityControl()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
D | NotificationController.java | 366 PowerManager powerManager = (PowerManager) in handleCancelPrintJob() local 368 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in handleCancelPrintJob() 405 PowerManager powerManager = (PowerManager) in handleRestartPrintJob() local 407 final WakeLock wakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, in handleRestartPrintJob()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CachedDeviceStateServiceTest.java | 61 PowerManager powerManager = new PowerManager(context, mPowerManager, null); in setUp() local 67 return powerManager; in setUp()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/ |
D | BackupManagerServiceTestUtils.java | 165 PowerManager powerManager = in createBackupWakeLock() local 167 return powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "*backup*"); in createBackupWakeLock()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerImpl.java | 85 PowerManager powerManager) { in BatteryControllerImpl() argument 88 mPowerManager = powerManager; in BatteryControllerImpl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationInterruptionStateProvider.java | 86 PowerManager powerManager, in NotificationInterruptionStateProvider() argument 90 mPowerManager = powerManager; in NotificationInterruptionStateProvider()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NewNitzStateMachine.java | 106 PowerManager powerManager = in NewNitzStateMachine() local 108 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_TAG); in NewNitzStateMachine()
|
D | OldNitzStateMachine.java | 107 PowerManager powerManager = in OldNitzStateMachine() local 109 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_TAG); in OldNitzStateMachine()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceTestable.java | 291 services.powerManager.goToSleep(time, reason, flags); in powerManagerGoToSleep() 296 services.powerManager.reboot(reason); in powerManagerReboot()
|
D | MockSystemServices.java | 89 public final PowerManagerForMock powerManager; field in MockSystemServices 129 powerManager = mock(PowerManagerForMock.class); in MockSystemServices()
|
/frameworks/base/packages/WAPPushManager/src/com/android/smspush/ |
D | WapPushManager.java | 224 PowerManager powerManager = in processMessage() local 229 powerManager.isIgnoringBatteryOptimizations(lastapp.packageName)) { in processMessage()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ThermalManagerService.java | 259 final PowerManager powerManager = getContext().getSystemService(PowerManager.class); in shutdownIfNeeded() local 268 powerManager.shutdown(false, PowerManager.SHUTDOWN_THERMAL_STATE, false); in shutdownIfNeeded() 271 powerManager.shutdown(false, PowerManager.SHUTDOWN_BATTERY_THERMAL_STATE, false); in shutdownIfNeeded()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | KeyEventDispatcherTest.java | 86 PowerManager powerManager = in setUp() local 90 mLock, powerManager, mMessageCapturingHandler); in setUp()
|
/frameworks/base/services/core/java/com/android/server/attention/ |
D | AttentionManagerService.java | 109 AttentionManagerService(Context context, PowerManager powerManager, Object lock, in AttentionManagerService() argument 113 mPowerManager = powerManager; in AttentionManagerService()
|
/frameworks/base/core/java/android/hardware/fingerprint/ |
D | FingerprintManager.java | 731 final PowerManager powerManager = mContext.getSystemService(PowerManager.class); in addLockoutResetCallback() local 739 final PowerManager.WakeLock wakeLock = powerManager.newWakeLock( in addLockoutResetCallback()
|