/device/generic/goldfish/sensors/ |
sensors_qemu.c | 75 SENSOR_(MAGNETIC_FIELD,"magnetic-field") \ 341 /* "magnetic:<x>:<y>:<z>" is sent for the params of the magnetic field */ 342 if (sscanf(buff, "magnetic:%g:%g:%g", params+0, params+1, params+2) == 3) { 344 data->sensors[ID_MAGNETIC_FIELD].magnetic.x = params[0]; 345 data->sensors[ID_MAGNETIC_FIELD].magnetic.y = params[1]; 346 data->sensors[ID_MAGNETIC_FIELD].magnetic.z = params[2]; 347 data->sensors[ID_MAGNETIC_FIELD].magnetic.status = SENSOR_STATUS_ACCURACY_HIGH; 499 { .name = "Goldfish 3-axis Magnetic field sensor",
|
/frameworks/native/include/android/ |
sensor.h | 81 /* Maximum magnetic field on Earth's surface in uT */ 83 /* Minimum magnetic field on Earth's surface in uT*/ 145 ASensorVector magnetic; member in union:ASensorEvent::__anon32194::__anon32195
|
/hardware/libhardware/include/hardware/ |
sensors.h | 276 * aligned with the magnetic declination and heading of the earth's 279 * Magnetic Field sensors return sensor events for all 3 axes at a constant 295 * azimuth: angle between the magnetic north direction and the Y axis, around 489 * All values are in micro-Tesla (uT) and measure the ambient magnetic 490 * field in the X, Y and Z axis. Assumptions that the the magnetic field 495 * Each is a component of the measured magnetic field, with soft iron 743 /** Maximum magnetic field on Earth's surface */ 746 /** Minimum magnetic field on Earth's surface */ 835 /* magnetic vector values are in micro-Tesla (uT) */ 836 sensors_vec_t magnetic; member in union:sensors_event_t::__anon32972::__anon32973 [all...] |
/hardware/invensense/65xx/libsensors_iio/ |
MPLSensor.cpp | 127 {"MPL Magnetic Field", "Invensense", 1, 135 {"MPL Raw Magnetic Field", "Invensense", 1, 502 mPendingEvents[MagneticField].magnetic.status = 508 mPendingEvents[RawMagneticField].magnetic.status = 514 mPendingEvents[Pressure].magnetic.status = [all...] |
/hardware/invensense/60xx/libsensors/ |
MPLSensor.cpp | 80 { "MPL Magnetic Field", "Invensense", 1, 243 mPendingEvents[MagneticField].magnetic.status = SENSOR_STATUS_ACCURACY_HIGH; 644 res = inv_get_float_array(INV_MAGNETOMETER, s->magnetic.v); 652 s->magnetic.status = estimateCompassAccuracy(); [all...] |
/hardware/invensense/60xx/libsensors_iio/ |
MPLSensor.cpp | 99 {"MPL Magnetic Field", "Invensense", 1, 292 mPendingEvents[MagneticField].magnetic.status = [all...] |