Home
last modified time | relevance | path

Searched refs:mPowerManagerInternal (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DSurfaceAnimationRunner.java62 private final PowerManagerInternal mPowerManagerInternal; field in SurfaceAnimationRunner
95 mPowerManagerInternal = powerManagerInternal; in SurfaceAnimationRunner()
242 mPowerManagerInternal.powerHint(PowerHint.INTERACTION, 0); in startAnimations()
DRootWindowContainer.java713 mWmService.mPowerManagerInternal.powerHint( in performSurfacePlacementNoTrace()
977 mWmService.mPowerManagerInternal.setScreenBrightnessOverrideFromWindowManager( in handleMessage()
981 mWmService.mPowerManagerInternal. in handleMessage()
DRootActivityContainer.java2312 if (sendHint && mService.mPowerManagerInternal != null) { in sendPowerHintForLaunchStartIfNeeded()
2313 mService.mPowerManagerInternal.powerHint(PowerHint.LAUNCH, 1); in sendPowerHintForLaunchStartIfNeeded()
2320 if (mPowerHintSent && mService.mPowerManagerInternal != null) { in sendPowerHintForLaunchEndIfNeeded()
2321 mService.mPowerManagerInternal.powerHint(PowerHint.LAUNCH, 0); in sendPowerHintForLaunchEndIfNeeded()
DDisplayRotation.java928 mService.mPowerManagerInternal.powerHint(PowerHint.INTERACTION, 0); in run()
DWindowManagerService.java788 PowerManagerInternal mPowerManagerInternal; field in WindowManagerService
1060 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in WindowManagerService()
1062 if (mPowerManagerInternal != null) { in WindowManagerService()
1063 mPowerManagerInternal.registerLowPowerModeObserver( in WindowManagerService()
1081 mAnimationsDisabled = mPowerManagerInternal in WindowManagerService()
1146 mSurfaceAnimationRunner = new SurfaceAnimationRunner(mPowerManagerInternal); in WindowManagerService()
DDisplayPolicy.java513 if (mService.mPowerManagerInternal != null) { in DisplayPolicy()
514 mService.mPowerManagerInternal.powerHint( in DisplayPolicy()
DActivityTaskManagerService.java359 PowerManagerInternal mPowerManagerInternal; field in ActivityTaskManagerService
714 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in onInitPowerManagement()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java76 private final PowerManagerInternal mPowerManagerInternal; field in DreamManagerService
99 mPowerManagerInternal = getLocalService(PowerManagerInternal.class); in DreamManagerService()
236 mPowerManagerInternal.setDozeOverrideFromDreamManager( in startDozingInternal()
255 mPowerManagerInternal.setDozeOverrideFromDreamManager( in stopDozingInternal()
/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java91 PowerManagerInternal mPowerManagerInternal; field in AppStateTracker
423 mPowerManagerInternal = Objects.requireNonNull(injectPowerManagerInternal()); in onSystemServicesReady()
455 mPowerManagerInternal.registerLowPowerModeObserver( in onSystemServicesReady()
464 mBatterySaverEnabled = mPowerManagerInternal.getLowPowerState( in onSystemServicesReady()
DVibratorService.java142 private PowerManagerInternal mPowerManagerInternal; field in VibratorService
448 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in systemReady()
449 mPowerManagerInternal.registerLowPowerModeObserver( in systemReady()
1091 boolean lowPowerMode = mPowerManagerInternal in updateLowPowerModeLocked()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java133 private PowerManagerInternal mPowerManagerInternal; field in DeviceIdleControllerTest
298 doReturn(mPowerManagerInternal) in setUp()
300 when(mPowerManagerInternal.getLowPowerState(anyInt())) in setUp()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java410 private PowerManagerInternal mPowerManagerInternal; field in NetworkPolicyManagerService
746 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in initService()
747 mPowerManagerInternal.registerLowPowerModeObserver( in initService()
768 mRestrictPower = mPowerManagerInternal.getLowPowerState( in initService()
780 mRestrictBackgroundPowerState = mPowerManagerInternal in initService()
787 mPowerManagerInternal.registerLowPowerModeObserver( in initService()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java119 sMockWm.mPowerManagerInternal = mock(PowerManagerInternal.class); in setUpOnce()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java375 PowerManagerInternal mPowerManagerInternal; field in PhoneWindowManager
1160 final PowerManager.WakeData lastWakeUp = mPowerManagerInternal.getLastWakeup(); in goToSleepFromPowerButton()
1752 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in init()
3959 mPowerManagerInternal.setUserInactiveOverrideFromWindowManager(); in interceptKeyBeforeQueueing()