Lines Matching refs:msgId
119 uint32_t msgId; member
362 bool prepSnsClientReq(sns_std_suid suid, uint32_t msgId, void *payload, in prepSnsClientReq() argument
381 req->msg_id = msgId; in prepSnsClientReq()
486 switch (info->msgId) { in decodeSnsSuidProtoEvent()
492 LOG_UNHANDLED_MSG(info->msgId); in decodeSnsSuidProtoEvent()
723 switch (info->msgId) { in decodeSnsStdProtoEvent()
745 LOG_UNHANDLED_MSG(info->msgId); in decodeSnsStdProtoEvent()
1010 switch (info->msgId) { in decodeSnsStdSensorProtoEvent()
1020 LOG_UNHANDLED_MSG(info->msgId); in decodeSnsStdSensorProtoEvent()
1101 switch (info->msgId) { in decodeSnsCalProtoEvent()
1107 LOG_UNHANDLED_MSG(info->msgId); in decodeSnsCalProtoEvent()
1135 switch (info->msgId) { in decodeSnsProximityProtoEvent()
1141 LOG_UNHANDLED_MSG(info->msgId); in decodeSnsProximityProtoEvent()
1170 switch (info->msgId) { in decodeSnsResamplerProtoEvent()
1176 LOG_UNHANDLED_MSG(info->msgId); in decodeSnsResamplerProtoEvent()
1202 switch (info->msgId) { in decodeSnsRemoteProcProtoEvent()
1208 LOG_UNHANDLED_MSG(info->msgId); in decodeSnsRemoteProcProtoEvent()
1254 switch (info->msgId) { in assignPayloadCallback()
1286 LOG_UNHANDLED_MSG(info->msgId); in assignPayloadCallback()
1296 bool decodeMsgIdAndTime(pb_istream_t *stream, uint32_t *msgId, in decodeMsgIdAndTime() argument
1305 *msgId = event.msg_id; in decodeMsgIdAndTime()
1320 bool success = decodeMsgIdAndTime(stream, &info->msgId, &info->data->timeNs); in decodeSnsClientEventMsg()
1340 if (success && (info->msgId == SNS_STD_SENSOR_MSGID_SNS_STD_SENSOR_EVENT || in decodeSnsClientEventMsg()
1341 info->msgId == SNS_PROXIMITY_MSGID_SNS_PROXIMITY_EVENT in decodeSnsClientEventMsg()
1343 || info->msgId == SNS_AMD_MSGID_SNS_AMD_EVENT in decodeSnsClientEventMsg()
1606 if (data->info.msgId == SNS_STD_MSGID_SNS_STD_FLUSH_EVENT) { in handleSnsClientEventMsg()
1748 uint32_t msgId; in makeRequest() local
1755 msgId = SNS_CLIENT_MSGID_SNS_CLIENT_DISABLE_REQ; in makeRequest()
1758 msgId = SNS_RESAMPLER_MSGID_SNS_RESAMPLER_CONFIG; in makeRequest()
1762 msgId = SNS_STD_SENSOR_MSGID_SNS_STD_SENSOR_CONFIG; in makeRequest()
1766 msgId = SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG; in makeRequest()
1773 nullptr /* syncDataType */, msgId, msg.get(), msgLen, in makeRequest()
1789 uint32_t msgId = SNS_STD_MSGID_SNS_STD_FLUSH_REQ; in flush() local
1792 nullptr /* syncDataType */, msgId, nullptr /* msg */, in flush()
1800 uint32_t msgId = (enable) ? SNS_STD_SENSOR_MSGID_SNS_STD_ON_CHANGE_CONFIG in configureOnChangeSensor() local
1803 msgId, nullptr /* msg */, 0 /* msgLen */, in configureOnChangeSensor()
1873 uint32_t msgId, void *payload, size_t payloadLen, in sendReq() argument
1881 if (prepSnsClientReq(suid, msgId, payload, payloadLen, batchValid, in sendReq()
2031 uint32_t msgId = SNS_REMOTE_PROC_STATE_MSGID_SNS_REMOTE_PROC_STATE_CONFIG; in initRemoteProcSensor() local
2038 nullptr /* syncDataType */, msgId, msgBuffer, msgLen, in initRemoteProcSensor()