Lines Matching refs:result

332         int result = m_pt2AccelCalLoadFunc(accel_offset);
333 if(result)
334 LOGW("HAL:Vendor accelerometer calibration file load failed %d\n", result);
420 inv_error_t result = inv_init_mpl();
421 if (result) {
423 return result;
425 result = inv_constructor_default_enable();
426 result = inv_start_mpl();
427 if (result) {
429 LOG_RESULT_LOCATION(result);
430 return result;
433 return result;
440 inv_error_t result;
442 result = inv_enable_quaternion();
443 if (result) {
445 return result;
448 result = inv_enable_in_use_auto_calibration();
449 if (result) {
450 return result;
453 // result = inv_enable_motion_no_motion();
454 result = inv_enable_fast_nomot();
455 if (result) {
456 return result;
459 result = inv_enable_gyro_tc();
460 if (result) {
461 return result;
464 result = inv_enable_hal_outputs();
465 if (result) {
466 return result;
472 result = inv_enable_vector_compass_cal();
473 if (result) {
474 LOG_RESULT_LOCATION(result);
475 return result;
483 result = inv_enable_compass_bias_w_gyro();
484 if (result) {
485 LOG_RESULT_LOCATION(result);
486 return result;
489 result = inv_enable_heading_from_gyro();
490 if (result) {
491 LOG_RESULT_LOCATION(result);
492 return result;
495 result = inv_enable_magnetic_disturbance();
496 if (result) {
497 LOG_RESULT_LOCATION(result);
498 return result;
502 result = inv_enable_9x_sensor_fusion();
503 if (result) {
504 LOG_RESULT_LOCATION(result);
505 return result;
511 result = inv_enable_no_gyro_fusion();
512 if (result) {
513 LOG_RESULT_LOCATION(result);
514 return result;
517 result = inv_enable_quat_accuracy_monitor();
518 if (result) {
519 LOG_RESULT_LOCATION(result);
520 return result;
523 return result;