• Home
  • Raw
  • Download

Lines Matching refs:update

2608     int update;  local
2610 update = inv_get_sensor_type_gyroscope(s->gyro.v, &s->gyro.status,
2613 update = inv_get_sensor_type_gyroscope(s->gyro.v, &s->gyro.status,
2617 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update);
2618 return update;
2624 int update; local
2626 update = inv_get_sensor_type_gyroscope_raw(s->uncalibrated_gyro.uncalib,
2629 update = inv_get_sensor_type_gyroscope_raw(s->uncalibrated_gyro.uncalib,
2632 if(update) {
2636 s->uncalibrated_gyro.bias[2], s->timestamp, update);
2641 s->uncalibrated_gyro.uncalib[2], s->timestamp, update);
2642 return update;
2648 int update; local
2650 update = inv_get_sensor_type_accelerometer(
2653 update = inv_get_sensor_type_accelerometer(
2658 s->timestamp, update);
2660 return update;
2666 int update; local
2668 update = inv_get_sensor_type_magnetic_field(
2671 update = inv_get_sensor_type_magnetic_field(
2676 s->timestamp, update);
2678 return update | mCompassOverFlow;
2684 int update; local
2688update = mCompassSensor->readRawSample(s->uncalibrated_magnetic.uncalib, (int64_t *)(&s->timestamp…
2691 update = inv_get_sensor_type_magnetic_field_raw(s->uncalibrated_magnetic.uncalib,
2696 update = mCompassSensor->readRawSample(s->uncalibrated_magnetic.uncalib, &s->timestamp);
2699 update = inv_get_sensor_type_magnetic_field_raw(s->uncalibrated_magnetic.uncalib,
2703 if(update) {
2707 s->uncalibrated_magnetic.bias[2], s->timestamp, update);
2712 s->uncalibrated_magnetic.uncalib[2], s->magnetic.status, s->timestamp, update);
2713 return update | mCompassOverFlow;
2724 int update; local
2726 update = inv_get_sensor_type_rotation_vector(s->data, &status,
2729 update = inv_get_sensor_type_rotation_vector(s->data, &status,
2733 update |= isCompassDisabled();
2736 update);
2738 return update;
2749 int update; local
2751 update = inv_get_sensor_type_rotation_vector_6_axis(s->data, &status,
2754 update = inv_get_sensor_type_rotation_vector_6_axis(s->data, &status,
2761 update);
2762 return update;
2768 int update; local
2770 update = inv_get_sensor_type_linear_acceleration(
2773 update = inv_get_sensor_type_linear_acceleration(
2776 update |= isCompassDisabled();
2778 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update);
2779 return update;
2785 int update; local
2787 update = inv_get_sensor_type_gravity(s->gyro.v, &s->gyro.status,
2790 update = inv_get_sensor_type_gravity(s->gyro.v, &s->gyro.status,
2793 update |= isCompassDisabled();
2795 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update);
2796 return update;
2802 int update; local
2804 update = inv_get_sensor_type_orientation(
2807 update = inv_get_sensor_type_orientation(
2811 update |= isCompassDisabled();
2814 s->timestamp, update);
2815 return update;
2821 int update = 1; local
2834 s->data[0], s->timestamp, update);
2835 return update;
2842 int update = 0; local
2844 update = inv_get_sensor_type_geomagnetic_rotation_vector(s->data, &status,
2847 update = inv_get_sensor_type_geomagnetic_rotation_vector(s->data, &status,
2852 …a[0], s->data[1], s->data[2], s->data[3], s->data[4], s->orientation.status, s->timestamp, update);
2853 return update < 1 ? 0 :1;
2861 int update = 0; local
2868 update = mPressureUpdate;
2872 s->data[0], s->data[1], s->data[2], s->data[3], s->timestamp, update);
2873 return update < 1 ? 0 :1;
2880 int update = 1; local
2893 s->data[0], s->timestamp, update);
2894 return update;
2900 int update = 1; local
2906 s->u64.step_counter, s->timestamp, update);
2910 s->step_counter, s->timestamp, update);
2913 if (s->timestamp == 0 && update) {
2924 return update;
2930 int update = 1; local
2950 s->timestamp, update);
3766 int update = 0; local
3771 update = readDmpPedometerEvents(data, count, ID_P, 1);
3773 if(update == 1 && count > 0) {
3788 update = CALL_MEMBER_FN(this, mHandlers[i])(mPendingEvents + i);
3791 if (update && (count > 0)) {
6261 int update = 0; local
6269 update = sdHandler(&mSdEvents);
6272 if (update && count > 0) {
6327 update = scHandler(&mScEvents);
6330 if (update && count > 0) {
6368 int update = 0; local
6391 int update = smHandler(&mSmEvents); local
6392 if (update && count > 0) {