/frameworks/base/services/tests/servicestests/src/com/android/server/recoverysystem/ |
D | RecoverySystemServiceTestable.java | 35 PowerManager powerManager, FileWriter uncryptPackageFileWriter, in MockInjector() argument 39 mPowerManager = powerManager; in MockInjector() 91 PowerManager powerManager, FileWriter uncryptPackageFileWriter, in RecoverySystemServiceTestable() argument 93 super(new MockInjector(context, systemProperties, powerManager, uncryptPackageFileWriter, in RecoverySystemServiceTestable()
|
/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/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsImeTest.java | 97 PowerManager powerManager = mContext.getSystemService(PowerManager.class); in turnScreenOn() local 98 assertNotNull(powerManager); in turnScreenOn() 99 if (powerManager.isInteractive()) { in turnScreenOn() 103 waitUntil("Device not interactive", powerManager::isInteractive); in turnScreenOn()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | ActiveSourceActionTest.java | 71 PowerManager powerManager = new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() local 73 when(mContextSpy.getSystemService(Context.POWER_SERVICE)).thenReturn(powerManager); in setUp() 74 when(mContextSpy.getSystemService(PowerManager.class)).thenReturn(powerManager); in setUp() 100 return powerManager; in setUp()
|
D | HdmiCecLocalDeviceTvTest.java | 71 PowerManager powerManager = new PowerManager(context, mIPowerManagerMock, in setUp() local 92 return powerManager; in setUp()
|
D | HdmiControlServiceTest.java | 136 PowerManager powerManager = new PowerManager(mContextSpy, mIPowerManagerMock, in setUp() local 138 when(mContextSpy.getSystemService(Context.POWER_SERVICE)).thenReturn(powerManager); in setUp()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/ |
D | TestableNotificationInterruptStateProviderImpl.java | 36 PowerManager powerManager, in TestableNotificationInterruptStateProviderImpl() argument 45 powerManager, in TestableNotificationInterruptStateProviderImpl()
|
/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/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/packages/SystemUI/src/com/android/systemui/keyguard/dagger/ |
D | KeyguardModule.java | 63 PowerManager powerManager, in newKeyguardViewMediator() argument 78 powerManager, in newKeyguardViewMediator()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | LatencyTester.java | 57 PowerManager powerManager, BroadcastDispatcher broadcastDispatcher) { in LatencyTester() argument 61 mPowerManager = powerManager; in LatencyTester()
|
/frameworks/base/core/java/android/service/dreams/ |
D | Sandman.java | 90 PowerManager powerManager = in startDream() local 92 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/gnss/ |
D | NtpTimeHelper.java | 100 PowerManager powerManager = (PowerManager) context.getSystemService(Context.POWER_SERVICE); in NtpTimeHelper() local 101 mWakeLock = powerManager.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, WAKELOCK_KEY); in NtpTimeHelper()
|
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | DozeParameters.java | 64 PowerManager powerManager, in DozeParameters() argument 71 mPowerManager = powerManager; in DozeParameters()
|
/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*"), 0); in createBackupWakeLock()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CachedDeviceStateServiceTest.java | 63 PowerManager powerManager = new PowerManager(context, mPowerManager, mThermalService, null); in setUp() local 69 return powerManager; in setUp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dagger/ |
D | SystemUIDefaultModule.java | 94 EnhancedEstimates enhancedEstimates, PowerManager powerManager, in provideBatteryController() argument 97 BatteryController bC = new BatteryControllerImpl(context, enhancedEstimates, powerManager, in provideBatteryController()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/ |
D | CarSystemUIModule.java | 126 EnhancedEstimates enhancedEstimates, PowerManager powerManager, in provideBatteryController() argument 129 BatteryController bC = new BatteryControllerImpl(context, enhancedEstimates, powerManager, in provideBatteryController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/ |
D | NotificationInterruptStateProviderImpl.java | 77 PowerManager powerManager, in NotificationInterruptStateProviderImpl() argument 86 mPowerManager = powerManager; in NotificationInterruptStateProviderImpl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryControllerImpl.java | 85 PowerManager powerManager, BroadcastDispatcher broadcastDispatcher, in BatteryControllerImpl() argument 90 mPowerManager = powerManager; in BatteryControllerImpl()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/statusbar/ |
D | CarStatusBarModule.java | 175 PowerManager powerManager, in provideStatusBar() 254 powerManager, in provideStatusBar()
|