/frameworks/base/services/tests/servicestests/src/com/android/server/recoverysystem/ |
D | RecoverySystemServiceTestable.java | 32 PowerManager powerManager, FileWriter uncryptPackageFileWriter, in MockInjector() argument 36 mPowerManager = powerManager; in MockInjector() 82 PowerManager powerManager, FileWriter uncryptPackageFileWriter, in RecoverySystemServiceTestable() argument 84 super(new MockInjector(context, systemProperties, powerManager, uncryptPackageFileWriter, in RecoverySystemServiceTestable()
|
D | RecoverySystemServiceTest.java | 71 PowerManager powerManager = new PowerManager(mock(Context.class), mIPowerManager, in setup() local 75 powerManager, mUncryptUpdateFileWriter, mUncryptSocket); in setup()
|
/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/services/core/java/com/android/server/timedetector/ |
D | TimeDetectorStrategyCallbackImpl.java | 56 PowerManager powerManager = context.getSystemService(PowerManager.class); in TimeDetectorStrategyCallbackImpl() local 58 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/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | DynamicSystemInstallationService.java | 350 PowerManager powerManager = (PowerManager) getSystemService(Context.POWER_SERVICE); in executeRebootToDynSystemCommand() local 352 if (powerManager != null) { in executeRebootToDynSystemCommand() 353 powerManager.reboot("dynsystem"); in executeRebootToDynSystemCommand() 375 PowerManager powerManager = (PowerManager) getSystemService(Context.POWER_SERVICE); in executeRebootToNormalCommand() local 377 if (powerManager != null) { in executeRebootToNormalCommand() 378 powerManager.reboot(null); in executeRebootToNormalCommand()
|
/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 | 103 PowerManager powerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in GnssVisibilityControl() local 104 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/opt/telephony/src/java/com/android/internal/telephony/nitz/ |
D | NitzSignalInputFilterPredicateFactory.java | 122 PowerManager powerManager = in createBogusElapsedRealtimeCheck() local 125 powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_TAG); in createBogusElapsedRealtimeCheck()
|
/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 | 166 PowerManager powerManager = in createBackupWakeLock() local 169 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 | 95 PowerManager powerManager, in NotificationInterruptionStateProvider() argument 102 mPowerManager = powerManager; in NotificationInterruptionStateProvider()
|
/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationInterruptionStateProviderTest.java | 584 PowerManager powerManager, IDreamManager dreamManager, in TestableNotificationInterruptionStateProvider() argument 589 super(context, powerManager, dreamManager, ambientDisplayConfiguration, in TestableNotificationInterruptionStateProvider()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ThermalManagerService.java | 263 final PowerManager powerManager = getContext().getSystemService(PowerManager.class); in shutdownIfNeeded() local 272 powerManager.shutdown(false, PowerManager.SHUTDOWN_THERMAL_STATE, false); in shutdownIfNeeded() 275 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()
|