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()
208 assertNull(mInjector.mSensorListener); in testAdaptiveOnOff()
216 assertNotNull(mInjector.mSensorListener); in testAdaptiveOnOff()
222 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.java156 private SensorListener mSensorListener; field in BrightnessTracker
211 mSensorListener = new SensorListener(); in backgroundStart()
241 mInjector.unregisterSensorListener(mContext, mSensorListener); in stop()
417 mInjector.registerSensorListener(mContext, mSensorListener, in startSensorListener()
425 mInjector.unregisterSensorListener(mContext, mSensorListener); in stopSensorListener()