Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java118 assertNull(mInjector.mSensorListener); in testStartStopTrackerScreenOnOff()
122 assertNotNull(mInjector.mSensorListener); in testStartStopTrackerScreenOnOff()
126 assertNull(mInjector.mSensorListener); in testStartStopTrackerScreenOnOff()
132 assertNull(mInjector.mSensorListener); in testStartStopTrackerScreenOnOff()
138 assertNull(mInjector.mSensorListener); in testStartStopTrackerScreenOnOff()
143 assertNotNull(mInjector.mSensorListener); in testStartStopTrackerScreenOnOff()
147 assertNull(mInjector.mSensorListener); in testStartStopTrackerScreenOnOff()
205 assertNull(mInjector.mSensorListener); in testAdaptiveOnOff()
213 assertNotNull(mInjector.mSensorListener); in testAdaptiveOnOff()
217 SensorEventListener listener = mInjector.mSensorListener; in testAdaptiveOnOff()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DSarManager.java89 private final SarSensorEventListener mSensorListener; field in SarManager
112 mSensorListener = new SarSensorEventListener(); in SarManager()
319 return mSensorListener.register(); in registerSensorListener()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java154 private SensorListener mSensorListener; field in BrightnessTracker
209 mSensorListener = new SensorListener(); in backgroundStart()
239 mInjector.unregisterSensorListener(mContext, mSensorListener); in stop()
415 mInjector.registerSensorListener(mContext, mSensorListener, in startSensorListener()
423 mInjector.unregisterSensorListener(mContext, mSensorListener); in stopSensorListener()