Lines Matching refs:update

2487     int update;
2488 update = inv_get_sensor_type_gyroscope(s->gyro.v, &s->gyro.status,
2491 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update);
2492 return update;
2498 int update;
2499 update = inv_get_sensor_type_gyroscope_raw(s->uncalibrated_gyro.uncalib,
2501 if(update) {
2505 s->uncalibrated_gyro.bias[2], s->timestamp, update);
2510 s->uncalibrated_gyro.uncalib[2], s->timestamp, update);
2511 return update;
2517 int update;
2518 update = inv_get_sensor_type_accelerometer(
2522 s->timestamp, update);
2524 return update;
2530 int update;
2531 update = inv_get_sensor_type_magnetic_field(
2535 s->timestamp, update);
2537 return update;
2543 int update;
2546 update = mCompassSensor->readRawSample(s->uncalibrated_magnetic.uncalib, &s->timestamp);
2549 update = inv_get_sensor_type_magnetic_field_raw(s->uncalibrated_magnetic.uncalib,
2552 if(update) {
2556 s->uncalibrated_magnetic.bias[2], s->timestamp, update);
2561 s->uncalibrated_magnetic.uncalib[2], s->magnetic.status, s->timestamp, update);
2562 return update;
2573 int update;
2574 update = inv_get_sensor_type_rotation_vector(s->data, &status,
2576 update |= isCompassDisabled();
2579 update);
2581 return update;
2592 int update;
2593 update = inv_get_sensor_type_rotation_vector_6_axis(s->data, &status,
2599 update = 1;*/
2604 update);
2605 return update;
2611 int update;
2612 update = inv_get_sensor_type_linear_acceleration(
2614 update |= isCompassDisabled();
2616 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update);
2617 return update;
2623 int update;
2624 update = inv_get_sensor_type_gravity(s->gyro.v, &s->gyro.status,
2626 update |= isCompassDisabled();
2628 s->gyro.v[0], s->gyro.v[1], s->gyro.v[2], s->timestamp, update);
2629 return update;
2635 int update;
2636 update = inv_get_sensor_type_orientation(
2638 update |= isCompassDisabled();
2641 s->timestamp, update);
2642 return update;
2648 int update = 1;
2668 s->data[0], s->timestamp, update);
2669 return update;
2675 int update = 0;
2677 //update = readDmpPedometerEvents(s, 1);
2679 s->data[0], s->timestamp, update);
2680 return update < 1 ? 0 :1;
2687 int update = 0;
2688 update = inv_get_sensor_type_geomagnetic_rotation_vector(s->data, &status,
2692 s->data[0], s->data[1], s->data[2], s->data[3], s->data[4], s->timestamp, update);
2693 return update < 1 ? 0 :1;
2700 int update = 0;
2707 update = mPressureUpdate;
2711 s->data[0], s->data[1], s->data[2], s->data[3], s->timestamp, update);
2712 return update < 1 ? 0 :1;
2719 int update = 0;
2729 update = mFlushBatchSet;
2739 s->timestamp, update);
2747 return update;
3119 // need to update delay since they are different
3125 "HAL:need to update delay due to resetDataRates");
3141 // need to update delay since they are different
3145 "HAL:need to update delay due to resetDataRates");
3169 "HAL:need to update delay due to LPQ");
3263 LOGE_IF(res < 0, "HAL:sampling frequency update delay error");
3332 LOGE("HAL:GYRO update delay error");
3344 LOGE_IF(res < 0, "HAL:ACCEL update delay error");
3352 LOGE_IF(res < 0, "HAL:ACCEL update delay error");
3391 LOGE("Compass update delay error");
3414 LOGE_IF(res < 0, "HAL:GYRO update delay error");
3453 LOGE_IF(res < 0, "HAL:ACCEL update delay error");
3503 LOGE_IF(res < 0, "HAL:PRESSURE update delay error");
3647 int update = 0;
3652 update = readDmpPedometerEvents(data, count, ID_P,
3655 if(update == 1 && count > 0) {
3670 update = CALL_MEMBER_FN(this, mHandlers[i])(mPendingEvents + i);
3673 if (update && (count > 0)) {
6000 int update = smHandler(&temp);
6001 if (update && count > 0) {
6264 LOGE("HAL:GYRO update delay error");
6272 LOGE_IF(res < 0, "HAL:ACCEL update delay error");
6349 LOGE_IF(res < 0, "HAL:sampling frequency update delay error");
6357 LOGE("HAL:GYRO update delay error");
6365 LOGE_IF(res < 0, "HAL:ACCEL update delay error");