Home
last modified time | relevance | path

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

/system/chre/platform/slpi/see/
Dsee_cal_helper.cc82 static sns_std_suid suid = sns_suid_sensor_init_zero; in getCalSuidFromSensorType() local
86 if (calIndex < ARRAY_SIZE(mCalInfo) && mCalInfo[calIndex].suid.has_value()) { in getCalSuidFromSensorType()
87 suid = mCalInfo[calIndex].suid.value(); in getCalSuidFromSensorType()
89 return suid; in getCalSuidFromSensorType()
104 mCalInfo[i].suid = suids[0]; in registerForCalibrationUpdates()
116 const sns_std_suid& suid, bool hasBias, float bias[3], bool hasScale, in updateCalibration() argument
119 size_t index = getCalIndexFromSuid(suid); in updateCalibration()
144 SensorType SeeCalHelper::getSensorTypeFromSuid(const sns_std_suid& suid) const { in getSensorTypeFromSuid()
145 size_t calSensorIndex = getCalIndexFromSuid(suid); in getSensorTypeFromSuid()
191 size_t SeeCalHelper::getCalIndexFromSuid(const sns_std_suid& suid) const { in getCalIndexFromSuid()
[all …]
Dsee_helper.cc113 sns_std_suid suid; member
252 const sns_std_suid& suid, in encodeSnsResamplerConfig() argument
260 .sensor_uid = suid, in encodeSnsResamplerConfig()
356 bool prepSnsClientReq(sns_std_suid suid, uint32_t msgId, in prepSnsClientReq() argument
375 req->suid = suid; in prepSnsClientReq()
415 sns_std_suid suid = {}; in decodeSnsSuidEventSuid() local
416 bool success = pb_decode(stream, sns_std_suid_fields, &suid); in decodeSnsSuidEventSuid()
421 suids->push_back(suid); in decodeSnsSuidEventSuid()
429 if (!suidsMatch(info->suid, kSuidLookup)) { in decodeSnsSuidEvent()
431 " %" PRIx64, info->suid.suid_high, info->suid.suid_low); in decodeSnsSuidEvent()
[all …]
Dplatform_sensor.cc132 sns_std_suid suid; member
425 const sns_std_suid& suid, const SeeAttributes& attr, in addSensor() argument
459 sensorType, suid, resample, &prevRegistered); in addSensor()
499 for (const auto& suid : suids) { in getSuidAndAttrs() local
501 if (!seeHelper.getAttributesSync(suid, &attr)) { in getSuidAndAttrs()
504 suid.suid_high, suid.suid_low); in getSuidAndAttrs()
511 .suid = suid, in getSuidAndAttrs()
559 sns_std_suid suid = primarySensor.suid; in findAndAddSensorsForType() local
566 addSensor(seeHelper, sensorType, suid, attr, sensors); in findAndAddSensorsForType()
573 addSensor(seeHelper, calibratedType, suid, attr, sensors); in findAndAddSensorsForType()
[all …]
/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],
119 SensorType getSensorTypeFromSuid(const sns_std_suid& suid) const;
136 Optional<sns_std_suid> suid; member
165 size_t getCalIndexFromSuid(const sns_std_suid& suid) const;
Dsee_helper.h130 sns_std_suid suid; member
167 bool configureOnChangeSensor(const sns_std_suid& suid, bool enable);
210 bool getAttributesSync(const sns_std_suid& suid, SeeAttributes *attr);
275 bool registerSensor(SensorType sensorType, const sns_std_suid& suid,
318 const sns_std_suid& suid,
325 return sendReq(mSeeClients[0], suid,
446 sns_client *client, const sns_std_suid& suid,
459 void prepareWaitForInd(const sns_std_suid& suid, void *syncData,