Searched refs:suid (Results 1 – 5 of 5) sorted by relevance
/system/chre/platform/slpi/see/ |
D | see_cal_helper.cc | 80 bool SeeCalHelper::areCalUpdatesEnabled(const sns_std_suid &suid) const { in areCalUpdatesEnabled() 81 size_t index = getCalIndexFromSuid(suid); in areCalUpdatesEnabled() 88 bool SeeCalHelper::configureCalUpdates(const sns_std_suid &suid, bool enable, in configureCalUpdates() argument 92 size_t index = getCalIndexFromSuid(suid); in configureCalUpdates() 96 helper.configureOnChangeSensor(suid, enable)) { in configureCalUpdates() 108 if (calIndex < ARRAY_SIZE(mCalInfo) && mCalInfo[calIndex].suid.has_value()) { in getCalSuidFromSensorType() 109 return &mCalInfo[calIndex].suid.value(); in getCalSuidFromSensorType() 126 mCalInfo[i].suid = suids[0]; in registerForCalibrationUpdates() 141 const sns_std_suid& suid, bool hasBias, float bias[3], bool hasScale, in updateCalibration() argument 144 size_t index = getCalIndexFromSuid(suid); in updateCalibration() [all …]
|
D | platform_sensor.cc | 131 sns_std_suid suid; member 460 const sns_std_suid& suid, const SeeAttributes& attr, in addSensor() argument 500 sensorType, suid, resample, &prevRegistered); in addSensor() 545 for (const auto& suid : suids) { in getSuidAndAttrs() local 547 if (!seeHelper.getAttributesSync(suid, &attr)) { in getSuidAndAttrs() 550 suid.suid_high, suid.suid_low); in getSuidAndAttrs() 557 .suid = suid, in getSuidAndAttrs() 607 sns_std_suid suid = primarySensor.suid; in findAndAddSensorsForType() local 614 addSensor(seeHelper, sensorType, suid, attr, sensors); in findAndAddSensorsForType() 621 addSensor(seeHelper, calibratedType, suid, attr, sensors); in findAndAddSensorsForType() [all …]
|
D | see_helper.cc | 117 sns_std_suid suid; member 256 const sns_std_suid& suid, in encodeSnsResamplerConfig() argument 264 .sensor_uid = suid, in encodeSnsResamplerConfig() 360 bool prepSnsClientReq(sns_std_suid suid, uint32_t msgId, in prepSnsClientReq() argument 379 req->suid = suid; in prepSnsClientReq() 419 sns_std_suid suid = {}; in decodeSnsSuidEventSuid() local 420 bool success = pb_decode(stream, sns_std_suid_fields, &suid); in decodeSnsSuidEventSuid() 425 suids->push_back(suid); in decodeSnsSuidEventSuid() 433 if (!suidsMatch(info->suid, kSuidLookup)) { in decodeSnsSuidEvent() 435 " %" PRIx64, info->suid.suid_high, info->suid.suid_low); in decodeSnsSuidEvent() [all …]
|
/system/chre/platform/slpi/include/chre/platform/slpi/see/ |
D | see_cal_helper.h | 72 bool areCalUpdatesEnabled(const sns_std_suid &suid) const; 82 bool configureCalUpdates(const sns_std_suid &suid, bool enable, 125 void updateCalibration(const sns_std_suid& suid, bool hasBias, float bias[3], 134 SensorType getSensorTypeFromSuid(const sns_std_suid& suid) const; 151 Optional<sns_std_suid> suid; member 183 size_t getCalIndexFromSuid(const sns_std_suid& suid) const;
|
D | see_helper.h | 130 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, 305 const sns_std_suid& suid, 312 return sendReq(mSeeClients[0], suid, 433 sns_client *client, const sns_std_suid& suid, 446 void prepareWaitForInd(const sns_std_suid& suid, void *syncData,
|