• Home
  • Raw
  • Download

Lines Matching refs:suid

113   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()
439 .suid.funcs.decode = decodeSnsSuidEventSuid, in decodeSnsSuidEvent()
440 .suid.arg = &suids, in decodeSnsSuidEvent()
465 for (const auto& suid : suids) { in decodeSnsSuidEvent() local
466 outputSuids->push_back(suid); in decodeSnsSuidEvent()
702 || !suidsMatch(info->suid, info->sync->syncSuid)) { in decodeSnsStdAttrEvent()
1055 info->suid, hasBias, offset.val, hasScale, scale.val, in decodeSnsCalEvent()
1058 SensorType sensorType = calHelper->getSensorTypeFromSuid(info->suid); in decodeSnsCalEvent()
1196 && suidsMatch(info->suid, info->remoteProcSuid->value())) { in assignPayloadCallback()
1198 } else if (suidsMatch(info->suid, kSuidLookup)) { in assignPayloadCallback()
1294 sns_client *client, const sns_std_suid& suid, in getSensorTypeFromSensorInfo() argument
1299 if (suidsMatch(sensorInfo.suid, suid)) { in getSensorTypeFromSensorInfo()
1310 client, suid.suid_high, suid.suid_low); in getSensorTypeFromSensorInfo()
1506 data->info.suid = data->event.suid; in handleSnsClientEventMsg()
1509 data->info.client, data->info.suid, mSensorInfos); in handleSnsClientEventMsg()
1526 data->info.suid.suid_high, data->info.suid.suid_low); in handleSnsClientEventMsg()
1554 data->info.suid.suid_high, data->info.suid.suid_low); in handleSnsClientEventMsg()
1625 bool SeeHelper::getAttributesSync(const sns_std_suid& suid, in getAttributesSync() argument
1638 success = sendReq(suid, attr, nullptr /* syncDataType */, in getAttributesSync()
1680 if (suidsMatch(sensorInfo->suid, mResamplerSuid.value())) { in makeRequest()
1694 success = sendReq(sensorInfo->client, sensorInfo->suid, in makeRequest()
1713 success = sendReq(sensorInfo->client, sensorInfo->suid, in flush()
1722 bool SeeHelper::configureOnChangeSensor(const sns_std_suid& suid, bool enable) { in configureOnChangeSensor() argument
1727 suid, nullptr /* syncData */, nullptr /* syncDataType */, in configureOnChangeSensor()
1797 sns_client *client, const sns_std_suid& suid, in sendReq() argument
1806 if (prepSnsClientReq(suid, msgId, payload, payloadLen, batchValid, in sendReq()
1809 prepareWaitForInd(suid, syncData, syncDataType); in sendReq()
1821 void SeeHelper::prepareWaitForInd(const sns_std_suid& suid, void *syncData, in prepareWaitForInd() argument
1828 mSyncSuid = suid; in prepareWaitForInd()
1875 SensorType sensorType, const sns_std_suid& suid, bool resample, in registerSensor() argument
1886 const sns_std_suid& reqSuid = doResample ? mResamplerSuid.value() : suid; in registerSensor()
1893 if (suidsMatch(reqSuid, sensorInfo.suid)) { in registerSensor()
1916 .suid = reqSuid, in registerSensor()
1919 .physicalSuid = suid, in registerSensor()