Home
last modified time | relevance | path

Searched refs:mCalInfo (Results 1 – 2 of 2) sorted by relevance

/system/chre/platform/slpi/see/
Dsee_cal_helper.cc31 if (index < ARRAY_SIZE(mCalInfo)) { in applyCalibration()
35 if (mCalInfo[index].cal.hasBias) { in applyCalibration()
37 output[i] = input[i] - mCalInfo[index].cal.bias[i]; in applyCalibration()
57 if (index < ARRAY_SIZE(mCalInfo)) { in getBias()
60 if (mCalInfo[index].cal.hasBias) { in getBias()
61 biasData->header.baseTimestamp = mCalInfo[index].cal.timestamp; in getBias()
65 biasData->header.accuracy = mCalInfo[index].cal.accuracy; in getBias()
69 biasData->readings[0].bias[i] = mCalInfo[index].cal.bias[i]; in getBias()
82 if (index < ARRAY_SIZE(mCalInfo)) { in areCalUpdatesEnabled()
83 return mCalInfo[index].enabled; in areCalUpdatesEnabled()
[all …]
/system/chre/platform/slpi/include/chre/platform/slpi/see/
Dsee_cal_helper.h174 SeeCalInfo mCalInfo[kNumSeeCalSensors] = {}; variable