Home | History | Annotate | Download | only in android

Lines Matching refs:sensor

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;
152 int32_t sensor;
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 sensor
218 * Returns the default sensor with the given type and wakeUp properties or NULL if no sensor
225 * Creates a new sensor event queue and associate it with a looper.
239 * Enable the selected sensor. Returns a negative error code on failure.
241 int ASensorEventQueue_enableSensor(ASensorEventQueue* queue, ASensor const* sensor);
244 * Disable the selected sensor. Returns a negative error code on failure.
246 int ASensorEventQueue_disableSensor(ASensorEventQueue* queue, ASensor const* sensor);
249 * Sets the delivery rate of events in microseconds for the given sensor.
255 int ASensorEventQueue_setEventRate(ASensorEventQueue* queue, ASensor const* sensor, int32_t usec);
259 * sensor queue. Returns 1 if the queue has events; 0 if
284 * Returns this sensor's name (non localized)
286 const char* ASensor_getName(ASensor const* sensor);
289 * Returns this sensor's vendor's name (non localized)
291 const char* ASensor_getVendor(ASensor const* sensor);
294 * Return this sensor's type
296 int ASensor_getType(ASensor const* sensor);
301 float ASensor_getResolution(ASensor const* sensor);
305 * A value of zero means that this sensor doesn't report events at a
308 int ASensor_getMinDelay(ASensor const* sensor);
311 * Returns the maximum size of batches for this sensor. Batches will often be
314 int ASensor_getFifoMaxEventCount(ASensor const* sensor);
317 * Returns the hardware batch fifo size reserved to this sensor.
319 int ASensor_getFifoReservedEventCount(ASensor const* sensor);
322 * Returns this sensor's string type.
324 const char* ASensor_getStringType(ASensor const* sensor);
327 * Returns the reporting mode for this sensor. One of AREPORTING_MODE_* constants.
329 int ASensor_getReportingMode(ASensor const* sensor);
332 * Returns true if this is a wake up sensor, false otherwise.
334 bool ASensor_isWakeUpSensor(ASensor const* sensor);