Home
last modified time | relevance | path

Searched refs:useProximitySensor (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java161 public boolean useProximitySensor; field in DisplayManagerInternal.DisplayPowerRequest
197 useProximitySensor = false; in DisplayPowerRequest()
216 useProximitySensor = other.useProximitySensor; in copyFrom()
236 && useProximitySensor == other.useProximitySensor in equals()
255 + ", useProximitySensor=" + useProximitySensor in toString()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java550 if (mPowerRequest.useProximitySensor && state != Display.STATE_OFF) { in updatePowerState()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java1842 mDisplayPowerRequest.useProximitySensor = shouldUseProximitySensorLocked(); in updateDisplayPowerStateLocked()
2084 if (!mDisplayPowerRequest.useProximitySensor || !mProximityPositive in needDisplaySuspendBlockerLocked()