Home | History | Annotate | Download | only in sensors

Lines Matching refs:sensor

50 /** SENSOR IDS AND NAMES
137 ** This one is used to read sensor data from the hardware.
171 * to enable the acceleration sensor.
174 * new sensor events after the activate() call in 2).
213 /* Pick up one pending sensor event. On success, this returns the sensor
246 event->sensor = i;
257 E("No sensor to return!!! pendingSensors=0x%08x", d->pendingSensors);
263 /* Block until new sensor events are reported by the emulator, or if a
324 // If the existing entry for this sensor is META_DATA,
325 // do not overwrite it. We can resume saving sensor
439 /* "guest-sync:<time>" is sent after a series of sensor events.
448 /* "sync:<time>" is sent after a series of sensor events.
456 D("huh ? sync without any sensor data ?");
463 /* update the time of each new sensor event. */
515 /* Return an array of sensor data. This function blocks until there is sensor
521 * Note that according to the sensor HAL [1], it shall never return 0!
547 /* 'wake' event received before any sensor data. */
589 /* Exit early if sensor is already enabled/disabled. */
646 dev->sensors[handle].sensor = 0;
648 dev->sensors[handle].meta_data.sensor = handle;
716 .stringType = "android.sensor.accelerometer",
732 .stringType = "android.sensor.gyroscope",
736 { .name = "Goldfish 3-axis Magnetic field sensor",
748 .stringType = "android.sensor.magnetic_field",
754 { .name = "Goldfish Orientation sensor",
766 .stringType = "android.sensor.orientation",
772 { .name = "Goldfish Ambient Temperature sensor",
784 .stringType = "android.sensor.ambient_temperature",
790 { .name = "Goldfish Proximity sensor",
802 .stringType = "android.sensor.proximity",
808 { .name = "Goldfish Light sensor",
820 .stringType = "android.sensor.light",
826 { .name = "Goldfish Pressure sensor",
838 .stringType = "android.sensor.pressure",
844 { .name = "Goldfish Humidity sensor",
856 .stringType = "android.sensor.relative_humidity",
862 { .name = "Goldfish 3-axis Magnetic field sensor (uncalibrated)",
872 .stringType = "android.sensor.magnetic_field_uncalibrated",
893 E("%s: could not query sensor list: %s", __FUNCTION__,
899 E("%s: could not receive sensor list: %s", __FUNCTION__,