Home
last modified time | relevance | path

Searched refs:biasData (Results 1 – 5 of 5) sorted by relevance

/system/chre/platform/slpi/see/
Dsee_cal_helper.cc51 SensorType sensorType, struct chreSensorThreeAxisData *biasData) const { in getBias()
52 CHRE_ASSERT(biasData != nullptr); in getBias()
55 if (biasData != nullptr) { in getBias()
61 biasData->header.baseTimestamp = mCalInfo[index].cal.timestamp; in getBias()
62 biasData->header.sensorHandle = in getBias()
64 biasData->header.readingCount = 1; in getBias()
65 biasData->header.accuracy = mCalInfo[index].cal.accuracy; in getBias()
66 biasData->header.reserved = 0; in getBias()
69 biasData->readings[0].bias[i] = mCalInfo[index].cal.bias[i]; in getBias()
71 biasData->readings[0].timestampDelta = 0; in getBias()
Dplatform_sensor.cc124 void onSensorBiasEvent(UniquePtr<struct chreSensorThreeAxisData>&& biasData)
347 UniquePtr<struct chreSensorThreeAxisData>&& biasData) { in onSensorBiasEvent() argument
349 biasData->header.sensorHandle); in onSensorBiasEvent()
357 postSensorBiasEvent(toUncalibratedSensorType(sensorType), *biasData.get()); in onSensorBiasEvent()
360 eventType, biasData.release(), freeEventDataCallback); in onSensorBiasEvent()
Dsee_helper.cc1059 auto biasData = MakeUniqueZeroFill<struct chreSensorThreeAxisData>(); in decodeSnsCalEvent() local
1060 if (biasData.isNull()) { in decodeSnsCalEvent()
1062 } else if (calHelper->getBias(sensorType, biasData.get())) { in decodeSnsCalEvent()
1063 info->data->bias = std::move(biasData); in decodeSnsCalEvent()
/system/chre/platform/slpi/include/chre/platform/slpi/see/
Dsee_cal_helper.h67 SensorType sensorType, struct chreSensorThreeAxisData *biasData) const;
Dsee_helper.h76 UniquePtr<struct chreSensorThreeAxisData>&& biasData) = 0;