Searched refs:mDevicePosture (Results 1 – 5 of 5) sorted by relevance
56 mDevicePosture = devicePostureController.getDevicePosture(); in PostureDependentProximitySensor()62 if (mDevicePosture >= mPostureToPrimaryProxSensorMap.length in chooseSensors()63 || mDevicePosture >= mPostureToSecondaryProxSensorMap.length) { in chooseSensors()65 "unsupported devicePosture=" + mDevicePosture); in chooseSensors()69 ThresholdSensor newPrimaryProx = mPostureToPrimaryProxSensorMap[mDevicePosture]; in chooseSensors()70 ThresholdSensor newSecondaryProx = mPostureToSecondaryProxSensorMap[mDevicePosture]; in chooseSensors()75 + DevicePostureController.devicePostureToString(mDevicePosture)); in chooseSensors()95 if (mDevicePosture == posture) {99 mDevicePosture = posture;106 DevicePostureController.devicePostureToString(mDevicePosture), super.toString()); in toString()
78 protected @DevicePostureController.DevicePostureInt int mDevicePosture; field in ProximitySensorImpl352 isRegistered(), mPaused, isNear(), mDevicePosture, mPrimaryThresholdSensor, in toString()
87 private int mDevicePosture; field in DozeScreenBrightness122 mDevicePosture = mDevicePostureController.getDevicePosture(); in DozeScreenBrightness()211 && mDevicePosture < mLightSensorOptional.length; in lightSensorSupportsCurrentPosture()219 return mLightSensorOptional[mDevicePosture].isPresent(); in isLightSensorPresent()227 return mLightSensorOptional[mDevicePosture].get(); in getLightSensor()335 if (mDevicePosture == posture341 final Sensor oldSensor = mLightSensorOptional[mDevicePosture].get();344 mDevicePosture = posture;352 mDevicePosture = posture;355 mDevicePosture = posture;[all …]
124 private int mDevicePosture; field in DozeSensors175 mDevicePosture = mDevicePostureController.getDevicePosture(); in DozeSensors()213 dozeParameters.singleTapUsesProx(mDevicePosture) /* requiresProx */, in DozeSensors()214 mDevicePosture), in DozeSensors()464 + DevicePostureController.devicePostureToString(mDevicePosture)); in dump()681 .append(DevicePostureController.devicePostureToString(mDevicePosture)); in toString()811 if (mDevicePosture == posture) {814 mDevicePosture = posture;817 triggerSensor.setPosture(mDevicePosture);
86 mProximitySensor.mDevicePosture); in testPostureChangeListenerUpdatesPosture()93 mProximitySensor.mDevicePosture); in testPostureChangeListenerUpdatesPosture()100 mProximitySensor.mDevicePosture); in testPostureChangeListenerUpdatesPosture()107 mProximitySensor.mDevicePosture); in testPostureChangeListenerUpdatesPosture()