Home
last modified time | relevance | path

Searched refs:bias (Results 1 – 20 of 20) sorted by relevance

/system/chre/platform/slpi/see/
Dsee_cal_helper.cc37 output[i] = input[i] - mCalInfo[index].cal.bias[i]; in applyCalibration()
69 biasData->readings[0].bias[i] = mCalInfo[index].cal.bias[i]; in getBias()
116 const sns_std_suid& suid, bool hasBias, float bias[3], bool hasScale, in updateCalibration()
126 memcpy(calData.bias, bias, sizeof(calData.bias)); in updateCalibration()
Dplatform_sensor.cc256 const chreSensorThreeAxisData& bias) { in postSensorBiasEvent() argument
263 *event = bias; in postSensorBiasEvent()
841 struct chreSensorThreeAxisData *bias) const { in getThreeAxisBias()
860 if (calHelper->getBias(calSensorType, bias)) { in getThreeAxisBias()
861 bias->header.sensorHandle = getSensorHandleFromSensorType(sensorType); in getThreeAxisBias()
864 memset(bias, 0, sizeof(chreSensorThreeAxisData)); in getThreeAxisBias()
865 bias->header.accuracy = CHRE_SENSOR_ACCURACY_UNKNOWN; in getThreeAxisBias()
Dsee_helper.cc104 UniquePtr<struct chreSensorThreeAxisData> bias; member
1034 .bias.funcs.decode = decodeFloatData, in decodeSnsCalEvent()
1035 .bias.arg = &offset, in decodeSnsCalEvent()
1063 info->data->bias = std::move(biasData); in decodeSnsCalEvent()
1548 if (!data->info.data->bias.isNull()) { in handleSnsClientEventMsg()
1549 mCbIf->onSensorBiasEvent(std::move(data->info.data->bias)); in handleSnsClientEventMsg()
/system/chre/ash/platform/slpi/smgr/
Dash.cc104 calRequest->ZeroBias[0] = FX_FLTTOFIX_Q16(-calInfo->bias[1] * scaling); in populateCalRequest()
105 calRequest->ZeroBias[1] = FX_FLTTOFIX_Q16(-calInfo->bias[0] * scaling); in populateCalRequest()
106 calRequest->ZeroBias[2] = FX_FLTTOFIX_Q16(calInfo->bias[2] * scaling); in populateCalRequest()
/system/chre/platform/slpi/include/chre/platform/slpi/see/
Dsee_cal_helper.h110 void updateCalibration(const sns_std_suid& suid, bool hasBias, float bias[3],
124 float bias[3]; member
/system/chre/core/include/chre/core/
Dsensor_request_manager.h148 uint32_t sensorHandle, struct chreSensorThreeAxisData *bias) const;
276 bool getThreeAxisBias(struct chreSensorThreeAxisData *bias) const { in getThreeAxisBias() argument
278 return isSensorSupported() ? mSensor->getThreeAxisBias(bias) : false; in getThreeAxisBias()
/system/chre/apps/ash_world/
Dash_world.cc90 .bias = {0.1f, -0.1f, 0.2f},
96 .bias = {0.2f, -0.2f, 0.1f},
102 .bias = {10, -10, 20},
/system/chre/platform/slpi/
Dplatform_nanoapp.cc152 chreSensorThreeAxisData bias; in handleEvent() local
154 bias = *static_cast<const chreSensorThreeAxisData *>(eventData); in handleEvent()
155 bias.header.sensorHandle = in handleEvent()
156 getBigImageSensorHandle(bias.header.sensorHandle); in handleEvent()
157 eventData = &bias; in handleEvent()
/system/chre/platform/include/chre/platform/
Dplatform_sensor.h110 bool getThreeAxisBias(struct chreSensorThreeAxisData *bias) const;
/system/chre/platform/linux/
Dplatform_sensor.cc90 struct chreSensorThreeAxisData *bias) const { in getThreeAxisBias()
/system/chre/platform/shared/nanoapp/
Dnanoapp_support_lib_dso.cc188 struct chreSensorThreeAxisData *bias) { in chreSensorGetThreeAxisBias() argument
190 return (fptr != nullptr) ? fptr(sensorHandle, bias) : false; in chreSensorGetThreeAxisBias()
/system/chre/ash/include/ash_api/
Dash.h71 float bias[3]; member
/system/chre/platform/shared/
Dchre_api_sensor.cc169 uint32_t sensorHandle, struct chreSensorThreeAxisData *bias) { in chreSensorGetThreeAxisBias() argument
171 .getThreeAxisBias(sensorHandle, bias); in chreSensorGetThreeAxisBias()
/system/chre/chre_api/legacy/v1_2/chre/
Dsensor_types.h294 float bias[3]; member
/system/chre/chre_api/include/chre_api/chre/
Dsensor_types.h347 float bias[3]; member
Dsensor.h950 struct chreSensorThreeAxisData *bias);
/system/chre/core/
Dsensor_request_manager.cc337 uint32_t sensorHandle, struct chreSensorThreeAxisData *bias) const { in getThreeAxisBias()
338 CHRE_ASSERT(bias != nullptr); in getThreeAxisBias()
341 if (bias != nullptr) { in getThreeAxisBias()
349 success = mSensorRequests[sensorIndex].getThreeAxisBias(bias); in getThreeAxisBias()
/system/chre/chre_api/legacy/v1_0/chre/
Dsensor.h539 float bias[3]; member
/system/chre/chre_api/legacy/v1_1/chre/
Dsensor.h678 float bias[3]; member
/system/chre/platform/slpi/smgr/
Dplatform_sensor.cc1621 struct chreSensorThreeAxisData *bias) const { in getThreeAxisBias()