Searched refs:randomError (Results 1 – 2 of 2) sorted by relevance
/device/generic/goldfish/sensors/ |
D | multihal_sensors_qemu.cpp | 110 double MultihalSensors::randomError(float lo, float hi) { in randomError() function in goldfish::MultihalSensors 143 uncal->x_bias = randomError(-0.003f, 0.003f); in parseQemuSensorEventLocked() 144 uncal->y_bias = randomError(-0.003f, 0.003f); in parseQemuSensorEventLocked() 145 uncal->z_bias = randomError(-0.003f, 0.003f); in parseQemuSensorEventLocked() 166 uncal->x += randomError(0.00005f, 0.001f); in parseQemuSensorEventLocked() 167 uncal->y += randomError(0.00005f, 0.001f); in parseQemuSensorEventLocked() 168 uncal->z += randomError(0.00005f, 0.001f); in parseQemuSensorEventLocked() 170 uncal->x_bias = randomError(-0.0003f, 0.0003f); in parseQemuSensorEventLocked() 171 uncal->y_bias = randomError(-0.0003f, 0.0003f); in parseQemuSensorEventLocked() 172 uncal->z_bias = randomError(-0.0003f, 0.0003f); in parseQemuSensorEventLocked() [all …]
|
/device/generic/goldfish/sensors/include/ |
D | multihal_sensors.h | 119 double randomError(float lo, float hi);
|