/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/ |
D | AmbientSensorTest.java | 31 import android.hardware.SensorEventListener; 87 ArgumentCaptor<SensorEventListener> captor = in testAmbientBrightnessSensorCallback_NoCallbacks() 88 ArgumentCaptor.forClass(SensorEventListener.class); in testAmbientBrightnessSensorCallback_NoCallbacks() 94 SensorEventListener listener = captor.getValue(); in testAmbientBrightnessSensorCallback_NoCallbacks() 116 ArgumentCaptor<SensorEventListener> captor = in testAmbientBrightnessSensorCallback_CallbacksCalled() 117 ArgumentCaptor.forClass(SensorEventListener.class); in testAmbientBrightnessSensorCallback_CallbacksCalled() 120 SensorEventListener listener = captor.getValue(); in testAmbientBrightnessSensorCallback_CallbacksCalled() 149 ArgumentCaptor<SensorEventListener> captor = in testAmbientColorTemperatureSensorCallback_CallbacksCalled() 150 ArgumentCaptor.forClass(SensorEventListener.class); in testAmbientColorTemperatureSensorCallback_CallbacksCalled() 153 SensorEventListener listener = captor.getValue(); in testAmbientColorTemperatureSensorCallback_CallbacksCalled()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | AutomaticBrightnessControllerTest.java | 29 import android.hardware.SensorEventListener; 104 ArgumentCaptor<SensorEventListener> listenerCaptor = in testNoHysteresisAtMinBrightness() 105 ArgumentCaptor.forClass(SensorEventListener.class); in testNoHysteresisAtMinBrightness() 108 SensorEventListener listener = listenerCaptor.getValue(); in testNoHysteresisAtMinBrightness() 151 ArgumentCaptor<SensorEventListener> listenerCaptor = in testNoHysteresisAtMaxBrightness() 152 ArgumentCaptor.forClass(SensorEventListener.class); in testNoHysteresisAtMaxBrightness() 155 SensorEventListener listener = listenerCaptor.getValue(); in testNoHysteresisAtMaxBrightness() 198 ArgumentCaptor<SensorEventListener> listenerCaptor = in testUserAddUserDataPoint() 199 ArgumentCaptor.forClass(SensorEventListener.class); in testUserAddUserDataPoint() 202 SensorEventListener listener = listenerCaptor.getValue(); in testUserAddUserDataPoint()
|
D | BrightnessTrackerTest.java | 37 import android.hardware.SensorEventListener; 253 SensorEventListener listener = mInjector.mSensorListener; in testAdaptiveOnOff() 844 SensorEventListener mSensorListener; 895 SensorEventListener sensorListener, Handler handler) { in registerSensorListener() 901 SensorEventListener sensorListener) { in unregisterSensorListener()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/ |
D | AsyncSensorManager.java | 24 import android.hardware.SensorEventListener; 97 protected boolean registerListenerImpl(SensorEventListener listener, in registerListenerImpl() 109 protected boolean flushImpl(SensorEventListener listener) { in flushImpl() 176 SensorManagerPlugin.SensorEventListener listener) { in registerPluginListener() 196 SensorManagerPlugin.SensorEventListener listener) { in unregisterPluginListener() 222 protected void unregisterListenerImpl(SensorEventListener listener, in unregisterListenerImpl()
|
D | ProximitySensor.java | 22 import android.hardware.SensorEventListener; 57 private SensorEventListener mSensorEventListener = new SensorEventListener() {
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | SensorManagerPlugin.java | 38 void registerListener(Sensor sensor, SensorEventListener listener); in registerListener() 45 void unregisterListener(Sensor sensor, SensorEventListener listener); in unregisterListener() 50 interface SensorEventListener { interface
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/ |
D | FakeSensorManager.java | 25 import android.hardware.SensorEventListener; 114 protected void unregisterListenerImpl(SensorEventListener listener, Sensor sensor) { in unregisterListenerImpl() 124 protected boolean registerListenerImpl(SensorEventListener listener, Sensor sensor, in registerListenerImpl() 139 protected boolean flushImpl(SensorEventListener listener) { in flushImpl() 252 private final ArraySet<SensorEventListener> mListeners = new ArraySet<>(); 266 for (SensorEventListener listener : mListeners) { in sendSensorEvent()
|
D | AsyncSensorManagerTest.java | 25 import android.hardware.SensorEventListener; 46 private SensorEventListener mListener; 57 mListener = mock(SensorEventListener.class); in setUp()
|
/frameworks/base/core/java/android/view/ |
D | OrientationEventListener.java | 22 import android.hardware.SensorEventListener; 39 private SensorEventListener mSensorEventListener; 113 class SensorEventListenerImpl implements SensorEventListener {
|
/frameworks/base/core/java/android/hardware/ |
D | SensorManager.java | 647 public void unregisterListener(SensorEventListener listener, Sensor sensor) { in unregisterListener() 665 public void unregisterListener(SensorEventListener listener) { in unregisterListener() 674 protected abstract void unregisterListenerImpl(SensorEventListener listener, Sensor sensor); in unregisterListenerImpl() 728 public boolean registerListener(SensorEventListener listener, Sensor sensor, in registerListener() 785 public boolean registerListener(SensorEventListener listener, Sensor sensor, in registerListener() 820 public boolean registerListener(SensorEventListener listener, Sensor sensor, in registerListener() 851 public boolean registerListener(SensorEventListener listener, Sensor sensor, in registerListener() 858 protected abstract boolean registerListenerImpl(SensorEventListener listener, Sensor sensor, in registerListenerImpl() 882 public boolean flush(SensorEventListener listener) { in flush() 887 protected abstract boolean flushImpl(SensorEventListener listener); in flushImpl()
|
D | SystemSensorManager.java | 87 private final HashMap<SensorEventListener, SensorEventQueue> mSensorListeners = 88 new HashMap<SensorEventListener, SensorEventQueue>(); 145 protected boolean registerListenerImpl(SensorEventListener listener, Sensor sensor, in registerListenerImpl() 193 protected void unregisterListenerImpl(SensorEventListener listener, Sensor sensor) { in unregisterListenerImpl() 277 protected boolean flushImpl(SensorEventListener listener) { in flushImpl() 356 HashMap<SensorEventListener, SensorEventQueue> sensorListeners = in cleanupSensorConnection() 357 new HashMap<SensorEventListener, SensorEventQueue>(mSensorListeners); in cleanupSensorConnection() 359 for (SensorEventListener l: sensorListeners.keySet()) { in cleanupSensorConnection() 779 private final SensorEventListener mListener; 782 public SensorEventQueue(SensorEventListener listener, Looper looper, in SensorEventQueue()
|
D | SensorEventListener2.java | 22 public interface SensorEventListener2 extends SensorEventListener {
|
D | SensorEventListener.java | 23 public interface SensorEventListener { interface
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | MotionSensor.java | 24 import android.hardware.SensorEventListener; 34 public final class MotionSensor extends Filter implements SensorEventListener {
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | AmbientSensor.java | 23 import android.hardware.SensorEventListener; 205 private SensorEventListener mListener = new SensorEventListener() {
|
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
D | Balls.java | 43 import android.hardware.SensorEventListener; 46 public class Balls extends Activity implements SensorEventListener {
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | MotionSensorWTime.java | 24 import android.hardware.SensorEventListener; 36 public final class MotionSensorWTime extends Filter implements SensorEventListener {
|
/frameworks/base/services/core/java/com/android/server/ |
D | SensorNotificationService.java | 25 import android.hardware.SensorEventListener; 36 implements SensorEventListener, LocationListener {
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | WirelessChargerDetector.java | 21 import android.hardware.SensorEventListener; 369 private final SensorEventListener mListener = new SensorEventListener() {
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | DisplayFoldController.java | 23 import android.hardware.SensorEventListener; 169 sensorManager.registerListener(new SensorEventListener() { in createWithProxSensor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeScreenBrightness.java | 25 import android.hardware.SensorEventListener; 40 SensorEventListener {
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/ |
D | AnyMotionDetector.java | 21 import android.hardware.SensorEventListener; 295 private final SensorEventListener mListener = new SensorEventListener() {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingManagerImpl.java | 24 import android.hardware.SensorEventListener; 97 private SensorEventListener mSensorEventListener = new SensorEventListener() {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
D | DataCollector.java | 26 import android.hardware.SensorEventListener; 55 public class DataCollector implements SensorEventListener {
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
D | GL2CameraEye.java | 44 import android.hardware.SensorEventListener; 71 class CamGLSurfaceView extends GLSurfaceView implements SensorEventListener {
|