D | LegacySensorManager.java | 90 public boolean registerListener(SensorListener listener, int sensors, int rate) { in registerListener() argument 96 Sensor.TYPE_ACCELEROMETER, listener, sensors, rate) || result; in registerListener() 98 Sensor.TYPE_MAGNETIC_FIELD, listener, sensors, rate) || result; in registerListener() 100 Sensor.TYPE_ORIENTATION, listener, sensors, rate) || result; in registerListener() 102 Sensor.TYPE_ORIENTATION, listener, sensors, rate) || result; in registerListener() 104 Sensor.TYPE_TEMPERATURE, listener, sensors, rate) || result; in registerListener() 109 SensorListener listener, int sensors, int rate) { in registerLegacyListener() argument 112 if ((sensors & legacyType) != 0) { in registerLegacyListener() 145 public void unregisterListener(SensorListener listener, int sensors) { in unregisterListener() argument 150 listener, sensors); in unregisterListener() [all …]
|