Lines Matching full:accel
53 # warning "Third party accel"
237 /* read accel FSR to calcuate accel scale later */
246 LOGE("HAL:Error opening accel FSR");
251 LOGE("HAL:Error reading accel FSR");
255 LOGV_IF(EXTRA_VERBOSE, "HAL:Accel FSR used %d", mAccelScale);
327 /* Takes external Accel Calibration Load Method */
339 LOGV_IF(PROCESS_VERBOSE, "HAL:Original accel offset, %ld, %ld, %ld\n",
343 LOGV_IF(PROCESS_VERBOSE, "HAL:Set accel offset, %ld, %ld, %ld\n",
347 /* End of Accel Calibration Load Method */
542 /* accel setup */
544 /* use for third party accel input subsystem driver
632 // get accel orientation
644 "HAL:accel mounting matrix: "
658 LOGE("HAL:Couldn't read accel mounting matrix");
792 //3. Either Gyro or Accel must be enabled/configured before next step
1058 res = enableOneSensor(sensors & INV_THREE_AXIS_ACCEL, "accel", &MPLSensor::enableAccel);
1228 LOGV_IF(HANDLER_DATA, "HAL:accel data : %+f %+f %+f -- %lld - %d",
1533 LOGV_IF(PROCESS_VERBOSE, "HAL:ignore delay set due to gyro/accel");
1593 // same delay for 3rd party Accel or Compass
1597 gyro vs compass vs accel */
1616 LOGV_IF(PROCESS_VERBOSE, "HAL:MPL accel sample rate: %d", mplAccelRate);
1659 LOGE_IF(res < 0, "HAL:ACCEL update delay error");
1714 LOGE_IF(res < 0, "HAL:ACCEL update delay error");
1759 /* For Third Party Accel Input Subsystem Drivers only */
1770 LOGE("HAL:missed accel events, exit");
1808 * compass or accel data. (Also okay for handling all of them).
1897 LOGI_IF(mLocalSensorMask & INV_THREE_AXIS_ACCEL, "accel x/y/z: %d/%d/%d",
2175 // enable accel engine
2178 // disable accel FIFO
2188 // disable accel engine
2495 /* first add gyro, accel and compass to the list */
2497 /* fill in gyro/accel values */
2499 LOGE("HAL:Can not get gyro/accel id");
2516 /* fill in Linear accel values */
2527 void MPLSensor::fillAccel(const char* accel, struct sensor_t *list)
2531 if (accel) {
2532 if(accel != NULL && strcmp(accel, "BMA250") == 0) {
2538 } else if (accel != NULL && strcmp(accel, "MPU6050") == 0) {
2544 } else if (accel != NULL && strcmp(accel, "MPU6500") == 0) {
2551 } else if (accel != NULL && strcmp(accel, "MPU9150") == 0) {
2557 } else if (accel != NULL && strcmp(accel, "MPU3050") == 0) {
2566 LOGE("HAL:unknown accel id %s -- "
2568 accel);
2616 /* fillRV depends on values of accel and compass in the list */