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.java67 private final PowerManagerInternal mPowerManagerInternal; field in SurfaceAnimationRunner
105 mPowerManagerInternal = powerManagerInternal; in SurfaceAnimationRunner()
249 mPowerManagerInternal.powerHint(PowerHint.INTERACTION, 0); in startAnimations()
DRootWindowContainer.java953 mWmService.mPowerManagerInternal.powerHint( in performSurfacePlacementNoTrace()
1205 mWmService.mPowerManagerInternal.setScreenBrightnessOverrideFromWindowManager( in handleMessage()
1209 mWmService.mPowerManagerInternal. in handleMessage()
3535 if (sendHint && mService.mPowerManagerInternal != null) { in sendPowerHintForLaunchStartIfNeeded()
3536 mService.mPowerManagerInternal.powerHint(PowerHint.LAUNCH, 1); in sendPowerHintForLaunchStartIfNeeded()
3543 if (mPowerHintSent && mService.mPowerManagerInternal != null) { in sendPowerHintForLaunchEndIfNeeded()
3544 mService.mPowerManagerInternal.powerHint(PowerHint.LAUNCH, 0); in sendPowerHintForLaunchEndIfNeeded()
DDisplayRotation.java1476 mService.mPowerManagerInternal.powerHint(PowerHint.INTERACTION, 0); in run()
DWindowManagerService.java937 PowerManagerInternal mPowerManagerInternal; field in WindowManagerService
1203 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in WindowManagerService()
1205 if (mPowerManagerInternal != null) { in WindowManagerService()
1206 mPowerManagerInternal.registerLowPowerModeObserver( in WindowManagerService()
1224 mAnimationsDisabled = mPowerManagerInternal in WindowManagerService()
1292 mPowerManagerInternal); in WindowManagerService()
DDisplayPolicy.java552 if (mService.mPowerManagerInternal != null) { in DisplayPolicy()
553 mService.mPowerManagerInternal.powerHint( in DisplayPolicy()
DActivityTaskManagerService.java366 PowerManagerInternal mPowerManagerInternal; field in ActivityTaskManagerService
755 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in onInitPowerManagement()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java81 private final PowerManagerInternal mPowerManagerInternal; field in DreamManagerService
127 mPowerManagerInternal = getLocalService(PowerManagerInternal.class); in DreamManagerService()
268 mPowerManagerInternal.setDozeOverrideFromDreamManager( in startDozingInternal()
287 mPowerManagerInternal.setDozeOverrideFromDreamManager( in stopDozingInternal()
/frameworks/base/services/core/java/com/android/server/
DAppStateTracker.java92 PowerManagerInternal mPowerManagerInternal; field in AppStateTracker
424 mPowerManagerInternal = Objects.requireNonNull(injectPowerManagerInternal()); in onSystemServicesReady()
456 mPowerManagerInternal.registerLowPowerModeObserver( in onSystemServicesReady()
465 mBatterySaverEnabled = mPowerManagerInternal.getLowPowerState( in onSystemServicesReady()
DVibratorService.java150 private PowerManagerInternal mPowerManagerInternal; field in VibratorService
458 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in systemReady()
459 mPowerManagerInternal.registerLowPowerModeObserver( in systemReady()
1205 boolean lowPowerMode = mPowerManagerInternal in updateLowPowerModeLocked()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java137 private PowerManagerInternal mPowerManagerInternal; field in DeviceIdleControllerTest
307 doReturn(mPowerManagerInternal) in setUp()
309 when(mPowerManagerInternal.getLowPowerState(anyInt())) in setUp()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSystemServicesTestRule.java302 null, null, mTransaction, mWmService.mPowerManagerInternal);
DDisplayRotationTests.java122 sMockWm.mPowerManagerInternal = mock(PowerManagerInternal.class); in setUpOnce()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java412 private PowerManagerInternal mPowerManagerInternal; field in NetworkPolicyManagerService
748 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in initService()
749 mPowerManagerInternal.registerLowPowerModeObserver( in initService()
770 mRestrictPower = mPowerManagerInternal.getLowPowerState( in initService()
782 mRestrictBackgroundLowPowerMode = mPowerManagerInternal in initService()
787 mPowerManagerInternal.registerLowPowerModeObserver( in initService()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java362 PowerManagerInternal mPowerManagerInternal; field in PhoneWindowManager
1134 final PowerManager.WakeData lastWakeUp = mPowerManagerInternal.getLastWakeup(); in goToSleepFromPowerButton()
1732 mPowerManagerInternal = LocalServices.getService(PowerManagerInternal.class); in init()
3872 mPowerManagerInternal.setUserInactiveOverrideFromWindowManager(); in interceptKeyBeforeQueueing()