Home
last modified time | relevance | path

Searched refs:mSensorEventListener (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/android/view/
DOrientationEventListener.java39 private SensorEventListener mSensorEventListener; field in OrientationEventListener
74 mSensorEventListener = new SensorEventListenerImpl(); in OrientationEventListener()
93 mSensorManager.registerListener(mSensorEventListener, mSensor, mRate); in enable()
108 mSensorManager.unregisterListener(mSensorEventListener); in disable()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayPowerProximityStateControllerTest.java69 private SensorEventListener mSensorEventListener; field in DisplayPowerProximityStateControllerTest
91 mSensorEventListener = mDisplayPowerProximityStateController.getProximitySensorListener(); in before()
150 mSensorEventListener); in cleanupDisablesTheProximitySensor()
314 mSensorEventListener); in evaluateProximityStateWhenDisplayIsTurningOff()
340 mSensorEventListener); in evaluateProximityStateNotWaitingForNegativeProximityAndNotUsingProxSensor()
368 mSensorEventListener.onSensorChanged(TestUtils.createSensorEvent(mProximitySensor, 4)); in emitAndValidatePositiveProximityEvent()
369 verify(mSensorManager).registerListener(mSensorEventListener, in emitAndValidatePositiveProximityEvent()
393 mSensorEventListener, in enableProximitySensor()
415 mSensorEventListener, in setScreenOffBecauseOfPositiveProximityState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
DThresholdSensorImpl.java55 private SensorEventListener mSensorEventListener = new SensorEventListener() { field in ThresholdSensorImpl
162 mSensorManager.registerListener(mSensorEventListener, mSensor, mSensorDelay); in registerInternal()
172 mSensorManager.unregisterListener(mSensorEventListener); in unregisterInternal()
/frameworks/base/services/foldables/devicestateprovider/src/com/android/server/policy/
DBookStyleClosedStatePredicate.java404 private final SensorEventListener mSensorEventListener; field in BookStyleClosedStatePredicate.ConditionSensorListener
412 mSensorEventListener = sensorEventListener; in ConditionSensorListener()
432 mSensorManager.registerListener(mSensorEventListener, sensor, in updateListeningState()
436 mSensorManager.unregisterListener(mSensorEventListener, sensor); in updateListeningState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingCollectorImpl.java105 private final ThresholdSensor.Listener mSensorEventListener = this::onProximityEvent; field in FalsingCollectorImpl
465 mProximitySensor.register(mSensorEventListener); in registerSensors()
469 mProximitySensor.unregister(mSensorEventListener); in unregisterSensors()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt60925 Landroid/view/OrientationEventListener;->mSensorEventListener:Landroid/hardware/SensorEventListener;