Searched refs:mDisplayPowerProximityStateController (Results 1 – 4 of 4) sorted by relevance
70 private DisplayPowerProximityStateController mDisplayPowerProximityStateController; field in DisplayPowerProximityStateControllerTest87 mDisplayPowerProximityStateController = new DisplayPowerProximityStateController( in before()91 mSensorEventListener = mDisplayPowerProximityStateController.getProximitySensorListener(); in before()97 assertTrue(mDisplayPowerProximityStateController.setPendingWaitForNegativeProximityLocked( in updatePendingProximityRequestsWorksAsExpectedWhenPending()100 mDisplayPowerProximityStateController.getPendingWaitForNegativeProximityLocked()); in updatePendingProximityRequestsWorksAsExpectedWhenPending()103 mDisplayPowerProximityStateController.updatePendingProximityRequestsLocked(); in updatePendingProximityRequestsWorksAsExpectedWhenPending()104 assertTrue(mDisplayPowerProximityStateController.getWaitingForNegativeProximity()); in updatePendingProximityRequestsWorksAsExpectedWhenPending()106 mDisplayPowerProximityStateController.getPendingWaitForNegativeProximityLocked()); in updatePendingProximityRequestsWorksAsExpectedWhenPending()112 mDisplayPowerProximityStateController.updatePendingProximityRequestsLocked(); in updatePendingProximityRequestsWorksAsExpectedWhenNotPending()113 assertFalse(mDisplayPowerProximityStateController.getWaitingForNegativeProximity()); in updatePendingProximityRequestsWorksAsExpectedWhenNotPending()[all …]
50 private DisplayPowerProximityStateController mDisplayPowerProximityStateController; field in DisplayStateControllerTest55 mDisplayStateController = new DisplayStateController(mDisplayPowerProximityStateController); in before()60 when(mDisplayPowerProximityStateController.isScreenOffBecauseOfProximity()).thenReturn( in updateProximityStateEvaluatesStateOffPolicyAsExpected()71 verify(mDisplayPowerProximityStateController).updateProximityState(displayPowerRequest, in updateProximityStateEvaluatesStateOffPolicyAsExpected()78 when(mDisplayPowerProximityStateController.isScreenOffBecauseOfProximity()).thenReturn( in updateProximityStateEvaluatesDozePolicyAsExpected()86 when(mDisplayPowerProximityStateController.isScreenOffBecauseOfProximity()).thenReturn( in updateProximityStateEvaluatesDimPolicyAsExpected()94 when(mDisplayPowerProximityStateController.isScreenOffBecauseOfProximity()).thenReturn( in updateProximityStateEvaluatesDimBrightAsExpected()102 when(mDisplayPowerProximityStateController.isScreenOffBecauseOfProximity()).thenReturn( in updateProximityStateWorksAsExpectedWhenDisplayDisabled()113 verify(mDisplayPowerProximityStateController).updateProximityState(displayPowerRequest, in updateProximityStateWorksAsExpectedWhenDisplayDisabled()120 when(mDisplayPowerProximityStateController.isScreenOffBecauseOfProximity()).thenReturn( in updateProximityStateWorksAsExpectedWhenTransitionPhase()[all …]
34 private DisplayPowerProximityStateController mDisplayPowerProximityStateController; field in DisplayStateController41 this.mDisplayPowerProximityStateController = displayPowerProximityStateController; in DisplayStateController()89 mDisplayPowerProximityStateController.updateProximityState(displayPowerRequest, state); in updateDisplayState()92 || mDisplayPowerProximityStateController.isScreenOffBecauseOfProximity()) { in updateDisplayState()124 if (mDisplayPowerProximityStateController != null) { in dumpsys()125 mDisplayPowerProximityStateController.dumpLocal(ipw); in dumpsys()
436 private final DisplayPowerProximityStateController mDisplayPowerProximityStateController; field in DisplayPowerController519 mDisplayPowerProximityStateController = mInjector.getDisplayPowerProximityStateController( in DisplayPowerController()522 mDisplayStateController = new DisplayStateController(mDisplayPowerProximityStateController); in DisplayPowerController()679 return mDisplayPowerProximityStateController.isProximitySensorAvailable(); in isProximitySensorAvailable()769 boolean changed = mDisplayPowerProximityStateController in requestPowerState()871 mDisplayPowerProximityStateController.notifyDisplayDeviceChanged(config); in onDisplayChanged()1238 mDisplayPowerProximityStateController.cleanup(); in cleanupHandlerThreadAfterStop()1294 mDisplayPowerProximityStateController.updatePendingProximityRequestsLocked(); in updatePowerStateInternal()1303 mDisplayPowerProximityStateController.updatePendingProximityRequestsLocked(); in updatePowerStateInternal()1608 != RAMP_STATE_SKIP_NONE) || mDisplayPowerProximityStateController in updatePowerStateInternal()[all …]