Searched refs:biasData (Results 1 – 5 of 5) sorted by relevance
51 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()
124 void onSensorBiasEvent(UniquePtr<struct chreSensorThreeAxisData>&& biasData)347 UniquePtr<struct chreSensorThreeAxisData>&& biasData) { in onSensorBiasEvent() argument349 biasData->header.sensorHandle); in onSensorBiasEvent()357 postSensorBiasEvent(toUncalibratedSensorType(sensorType), *biasData.get()); in onSensorBiasEvent()360 eventType, biasData.release(), freeEventDataCallback); in onSensorBiasEvent()
1059 auto biasData = MakeUniqueZeroFill<struct chreSensorThreeAxisData>(); in decodeSnsCalEvent() local1060 if (biasData.isNull()) { in decodeSnsCalEvent()1062 } else if (calHelper->getBias(sensorType, biasData.get())) { in decodeSnsCalEvent()1063 info->data->bias = std::move(biasData); in decodeSnsCalEvent()
67 SensorType sensorType, struct chreSensorThreeAxisData *biasData) const;
76 UniquePtr<struct chreSensorThreeAxisData>&& biasData) = 0;