Searched refs:suid (Results 1 – 5 of 5) sorted by relevance
/system/chre/platform/slpi/see/ |
D | see_cal_helper.cc | 79 bool SeeCalHelper::areCalUpdatesEnabled(const sns_std_suid &suid) const { in areCalUpdatesEnabled() 80 size_t index = getCalIndexFromSuid(suid); in areCalUpdatesEnabled() 87 bool SeeCalHelper::configureCalUpdates(const sns_std_suid &suid, bool enable, in configureCalUpdates() argument 91 size_t index = getCalIndexFromSuid(suid); in configureCalUpdates() 95 helper.configureOnChangeSensor(suid, enable)) { in configureCalUpdates() 107 if (calIndex < ARRAY_SIZE(mCalInfo) && mCalInfo[calIndex].suid.has_value()) { in getCalSuidFromSensorType() 108 return &mCalInfo[calIndex].suid.value(); in getCalSuidFromSensorType() 123 mCalInfo[i].suid = suids[0]; in findCalibrationSensors() 130 void SeeCalHelper::updateCalibration(const sns_std_suid &suid, bool hasBias, in updateCalibration() argument 135 size_t index = getCalIndexFromSuid(suid); in updateCalibration() [all …]
|
D | see_helper.cc | 118 sns_std_suid suid; member 258 const sns_std_suid &suid, in encodeSnsResamplerConfig() argument 266 .sensor_uid = suid, in encodeSnsResamplerConfig() 362 bool prepSnsClientReq(sns_std_suid suid, uint32_t msgId, void *payload, in prepSnsClientReq() argument 380 req->suid = suid; in prepSnsClientReq() 420 sns_std_suid suid = {}; in decodeSnsSuidEventSuid() local 421 bool success = pb_decode(stream, sns_std_suid_fields, &suid); in decodeSnsSuidEventSuid() 426 suids->push_back(suid); in decodeSnsSuidEventSuid() 434 if (!suidsMatch(info->suid, kSuidLookup)) { in decodeSnsSuidEvent() 437 info->suid.suid_high, info->suid.suid_low); in decodeSnsSuidEvent() [all …]
|
D | platform_sensor_manager.cc | 53 sns_std_suid suid; member 323 uint16_t targetGroupMask, const sns_std_suid &suid, in addSensor() argument 369 seeHelper.registerSensor(sensorType, suid, resample, &prevRegistered); in addSensor() 414 for (const auto &suid : suids) { in getSuidAndAttrs() local 416 if (!seeHelper.getAttributesSync(suid, &attr)) { in getSuidAndAttrs() 419 suid.suid_high, suid.suid_low); in getSuidAndAttrs() 426 .suid = suid, in getSuidAndAttrs() 479 sns_std_suid suid = primarySensor.suid; in findAndAddSensorsForType() local 486 addSensor(seeHelper, sensorType, targetGroupMask, suid, attr, sensors); in findAndAddSensorsForType() 503 addSensor(seeHelper, calibratedType, calTargetGroupMask, suid, attr, in findAndAddSensorsForType() [all …]
|
/system/chre/platform/slpi/include/chre/platform/slpi/see/ |
D | see_cal_helper.h | 72 bool areCalUpdatesEnabled(const sns_std_suid &suid) const; 85 bool configureCalUpdates(const sns_std_suid &suid, bool enable, 127 void updateCalibration(const sns_std_suid &suid, bool hasBias, float bias[3], 138 bool getSensorTypeFromSuid(const sns_std_suid &suid, 156 Optional<sns_std_suid> suid; member 188 size_t getCalIndexFromSuid(const sns_std_suid &suid) const;
|
D | see_helper.h | 129 sns_std_suid suid; member 166 bool configureOnChangeSensor(const sns_std_suid &suid, bool enable); 209 bool getAttributesSync(const sns_std_suid &suid, SeeAttributes *attr); 274 bool registerSensor(uint8_t sensorType, const sns_std_suid &suid, 303 bool sendReq(const sns_std_suid &suid, void *syncData, 309 return sendReq(mSeeClients[0], suid, syncData, syncDataType, msgId, payload, 426 bool sendReq(sns_client *client, const sns_std_suid &suid, void *syncData, 438 void prepareWaitForInd(const sns_std_suid &suid, void *syncData,
|