/frameworks/base/core/java/android/hardware/ |
SensorListener.java | 21 * sensor values have changed. 30 * <p>Called when sensor values have changed. 32 * depending on which sensor is being monitored. 34 * for details on possible sensor types. 87 * @param sensor The ID of the sensor being monitored 88 * @param values The new values for the sensor. 90 public void onSensorChanged(int sensor, float[] values); 93 * Called when the accuracy of a sensor has changed. 97 * @param sensor The ID of the sensor being monitore [all...] |
SensorEventListener2.java | 25 * was called have been delivered to the applications registered for those sensor events. In 27 * even if some other application has called flush() on the same sensor. Starting with 33 * @param sensor The {@link android.hardware.Sensor Sensor} on which flush was called. 36 public void onFlushCompleted(Sensor sensor);
|
SensorEventListener.java | 21 * sensor values have changed. 26 * Called when sensor values have changed. 28 * for details on possible sensor types. 42 * Called when the accuracy of the registered sensor has changed. 47 * @param accuracy The new accuracy of this sensor, one of 50 public void onAccuracyChanged(Sensor sensor, int accuracy);
|
SystemSensorManager.java | 34 * Sensor manager implementation that communicates with the built-in 41 private static native int nativeGetNextSensor(Sensor sensor, int next); 45 private static final ArrayList<Sensor> sFullSensorsList = new ArrayList<Sensor>(); 46 private static final SparseArray<Sensor> sHandleToSensor = new SparseArray<Sensor>(); 68 // initialize the sensor list 69 final ArrayList<Sensor> fullList = sFullSensorsList; 72 Sensor sensor = new Sensor() local 78 sHandleToSensor.append(sensor.getHandle(), sensor); local 274 Sensor sensor = sHandleToSensor.get(handle); local 382 final Sensor sensor = sHandleToSensor.get(handle); local 411 final Sensor sensor = sHandleToSensor.get(handle); local 449 final Sensor sensor = sHandleToSensor.get(handle); local [all...] |
SensorEvent.java | 20 * This class represents a {@link android.hardware.Sensor Sensor} event and 21 * holds informations such as the sensor's type, the time-stamp, accuracy and of 22 * course the sensor's {@link SensorEvent#values data}. 52 * @see Sensor 60 * which {@link android.hardware.Sensor sensor} type is being monitored (see 64 * <h4>{@link android.hardware.Sensor#TYPE_ACCELEROMETER 65 * Sensor.TYPE_ACCELEROMETER}:</h4> All values are in SI units (m/s^2) 74 * A sensor of this type measures the acceleration applied to the devic 491 public Sensor sensor; field in class:SensorEvent [all...] |
TriggerEvent.java | 21 * associated with a Trigger Sensor. When the sensor detects a trigger 23 * {@link Sensor#TYPE_SIGNIFICANT_MOTION}, the {@link TriggerEventListener} 24 * is called with the TriggerEvent. The sensor is automatically canceled 27 * This class holds information such as the value of the sensor 29 * information regarding the Sensor itself. 33 * @see android.hardware.Sensor 39 * which {@link android.hardware.Sensor sensor} type is being monitored (see 42 * <h4> {@link Sensor#TYPE_SIGNIFICANT_MOTION} </h4 52 public Sensor sensor; field in class:TriggerEvent [all...] |
/frameworks/base/native/android/ |
sensor.cpp | 17 #define LOG_TAG "sensor" 21 #include <android/sensor.h> 27 #include <gui/Sensor.h> 34 using android::Sensor; 49 Sensor const* const* l; 64 Sensor const* const* sensorList; 99 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor) 102 static_cast<Sensor const*>(sensor)); 105 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor) [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/ |
SensorTest.java | 25 import android.hardware.Sensor; 63 private List<Sensor> mSensorList; 75 mSensorList = mSensorManager.getSensorList(Sensor.TYPE_ALL); 97 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); local 100 // accelerometer sensor is optional 102 assertEquals(Sensor.TYPE_ACCELEROMETER, sensor.getType()); 103 assertSensorValues(sensor); 237 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); local 246 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); local 255 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_SIGNIFICANT_MOTION); local 267 Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); local 309 Sensor sensor = null; local [all...] |
/frameworks/native/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 53 * Sensor types 54 * (keep in sync with hardware/sensor.h) 66 * Sensor accuracy measure 77 * Sensor Reporting Modes. 98 * A sensor event. 122 int32_t sensor; member in struct:AMetaDataEvent 152 int32_t sensor; member in struct:ASensorEvent 196 * Get a reference to the sensor manager. ASensorManager is a singleton. 212 * Returns the default sensor for the given type, or NULL if no senso [all...] |
/prebuilts/ndk/9/platforms/android-21/arch-arm/usr/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 54 * Sensor types 55 * (keep in sync with hardware/sensor.h) 67 * Sensor accuracy measure 78 * Sensor Reporting Modes. 99 * A sensor event. 123 int32_t sensor; member in struct:AMetaDataEvent 153 int32_t sensor; member in struct:ASensorEvent 197 * Get a reference to the sensor manager. ASensorManager is a singleton. 213 * Returns the default sensor for the given type, or NULL if no senso [all...] |
/prebuilts/ndk/9/platforms/android-21/arch-arm64/usr/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 54 * Sensor types 55 * (keep in sync with hardware/sensor.h) 67 * Sensor accuracy measure 78 * Sensor Reporting Modes. 99 * A sensor event. 123 int32_t sensor; member in struct:AMetaDataEvent 153 int32_t sensor; member in struct:ASensorEvent 197 * Get a reference to the sensor manager. ASensorManager is a singleton. 213 * Returns the default sensor for the given type, or NULL if no senso [all...] |
/prebuilts/ndk/9/platforms/android-21/arch-mips/usr/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 54 * Sensor types 55 * (keep in sync with hardware/sensor.h) 67 * Sensor accuracy measure 78 * Sensor Reporting Modes. 99 * A sensor event. 123 int32_t sensor; member in struct:AMetaDataEvent 153 int32_t sensor; member in struct:ASensorEvent 197 * Get a reference to the sensor manager. ASensorManager is a singleton. 213 * Returns the default sensor for the given type, or NULL if no senso [all...] |
/prebuilts/ndk/9/platforms/android-21/arch-mips64/usr/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 54 * Sensor types 55 * (keep in sync with hardware/sensor.h) 67 * Sensor accuracy measure 78 * Sensor Reporting Modes. 99 * A sensor event. 123 int32_t sensor; member in struct:AMetaDataEvent 153 int32_t sensor; member in struct:ASensorEvent 197 * Get a reference to the sensor manager. ASensorManager is a singleton. 213 * Returns the default sensor for the given type, or NULL if no senso [all...] |
/prebuilts/ndk/9/platforms/android-21/arch-x86/usr/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 54 * Sensor types 55 * (keep in sync with hardware/sensor.h) 67 * Sensor accuracy measure 78 * Sensor Reporting Modes. 99 * A sensor event. 123 int32_t sensor; member in struct:AMetaDataEvent 153 int32_t sensor; member in struct:ASensorEvent 197 * Get a reference to the sensor manager. ASensorManager is a singleton. 213 * Returns the default sensor for the given type, or NULL if no senso [all...] |
/prebuilts/ndk/9/platforms/android-21/arch-x86_64/usr/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 54 * Sensor types 55 * (keep in sync with hardware/sensor.h) 67 * Sensor accuracy measure 78 * Sensor Reporting Modes. 99 * A sensor event. 123 int32_t sensor; member in struct:AMetaDataEvent 153 int32_t sensor; member in struct:ASensorEvent 197 * Get a reference to the sensor manager. ASensorManager is a singleton. 213 * Returns the default sensor for the given type, or NULL if no senso [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/ |
TestSensorEvent.java | 19 import android.hardware.Sensor; 30 public final Sensor sensor; field in class:TestSensorEvent 40 * @param event the received sensor event 55 sensor = event.sensor; 65 public TestSensorEvent(Sensor sensor, long timestamp, int accuracy, float[] values) { 66 this(sensor, timestamp, timestamp, accuracy, values); 72 public TestSensorEvent(Sensor sensor, long timestamp, long receivedTimestamp, int accuracy [all...] |
/device/lge/hammerhead/ |
thermal-engine-8974.conf | 5 sensor batt_therm 14 sensor xo_therm_pu2 23 sensor batt_therm 32 sensor cpu0 41 sensor cpu1 50 sensor cpu2 59 sensor cpu3
|
/development/ndk/platforms/android-9/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 53 * Sensor types 54 * (keep in sync with hardware/sensor.h) 66 * Sensor accuracy measure 87 * A sensor event. 112 int32_t sensor; member in struct:ASensorEvent 144 * Get a reference to the sensor manager. ASensorManager is a singleton. 160 * Returns the default sensor for the given type, or NULL if no sensor 166 * Creates a new sensor event queue and associate it with a looper [all...] |
/prebuilts/ndk/5/platforms/android-9/arch-arm/usr/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 53 * Sensor types 54 * (keep in sync with hardware/sensor.h) 66 * Sensor accuracy measure 87 * A sensor event. 112 int32_t sensor; member in struct:ASensorEvent 144 * Get a reference to the sensor manager. ASensorManager is a singleton. 160 * Returns the default sensor for the given type, or NULL if no sensor 166 * Creates a new sensor event queue and associate it with a looper [all...] |
/prebuilts/ndk/6/platforms/android-9/arch-arm/usr/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 53 * Sensor types 54 * (keep in sync with hardware/sensor.h) 66 * Sensor accuracy measure 87 * A sensor event. 112 int32_t sensor; member in struct:ASensorEvent 144 * Get a reference to the sensor manager. ASensorManager is a singleton. 160 * Returns the default sensor for the given type, or NULL if no sensor 166 * Creates a new sensor event queue and associate it with a looper [all...] |
/prebuilts/ndk/6/platforms/android-9/arch-x86/usr/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 53 * Sensor types 54 * (keep in sync with hardware/sensor.h) 66 * Sensor accuracy measure 87 * A sensor event. 112 int32_t sensor; member in struct:ASensorEvent 144 * Get a reference to the sensor manager. ASensorManager is a singleton. 160 * Returns the default sensor for the given type, or NULL if no sensor 166 * Creates a new sensor event queue and associate it with a looper [all...] |
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 53 * Sensor types 54 * (keep in sync with hardware/sensor.h) 66 * Sensor accuracy measure 87 * A sensor event. 112 int32_t sensor; member in struct:ASensorEvent 144 * Get a reference to the sensor manager. ASensorManager is a singleton. 160 * Returns the default sensor for the given type, or NULL if no sensor 166 * Creates a new sensor event queue and associate it with a looper [all...] |
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 53 * Sensor types 54 * (keep in sync with hardware/sensor.h) 66 * Sensor accuracy measure 87 * A sensor event. 112 int32_t sensor; member in struct:ASensorEvent 144 * Get a reference to the sensor manager. ASensorManager is a singleton. 160 * Returns the default sensor for the given type, or NULL if no sensor 166 * Creates a new sensor event queue and associate it with a looper [all...] |
/prebuilts/ndk/7/platforms/android-9/arch-arm/usr/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 53 * Sensor types 54 * (keep in sync with hardware/sensor.h) 66 * Sensor accuracy measure 87 * A sensor event. 112 int32_t sensor; member in struct:ASensorEvent 144 * Get a reference to the sensor manager. ASensorManager is a singleton. 160 * Returns the default sensor for the given type, or NULL if no sensor 166 * Creates a new sensor event queue and associate it with a looper [all...] |
/prebuilts/ndk/7/platforms/android-9/arch-x86/usr/include/android/ |
sensor.h | 38 * Structures and functions to receive and process sensor events in 53 * Sensor types 54 * (keep in sync with hardware/sensor.h) 66 * Sensor accuracy measure 87 * A sensor event. 112 int32_t sensor; member in struct:ASensorEvent 144 * Get a reference to the sensor manager. ASensorManager is a singleton. 160 * Returns the default sensor for the given type, or NULL if no sensor 166 * Creates a new sensor event queue and associate it with a looper [all...] |