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.cc32 if (index < ARRAY_SIZE(mCalInfo)) { in applyCalibration()
36 if (mCalInfo[index].cal.hasBias) { in applyCalibration()
38 output[i] = input[i] - mCalInfo[index].cal.bias[i]; in applyCalibration()
58 if (index < ARRAY_SIZE(mCalInfo)) { in getBias()
61 if (mCalInfo[index].cal.hasBias) { in getBias()
62 biasData->header.baseTimestamp = mCalInfo[index].cal.timestamp; in getBias()
64 biasData->header.accuracy = mCalInfo[index].cal.accuracy; in getBias()
68 biasData->readings[0].bias[i] = mCalInfo[index].cal.bias[i]; in getBias()
81 if (index < ARRAY_SIZE(mCalInfo)) { in areCalUpdatesEnabled()
82 return mCalInfo[index].enabled; in areCalUpdatesEnabled()
[all …]
/system/chre/platform/slpi/include/chre/platform/slpi/see/
Dsee_cal_helper.h179 SeeCalInfo mCalInfo[kNumSeeCalSensors] = {}; variable