Home
last modified time | relevance | path

Searched refs:msgLen (Results 1 – 2 of 2) sorted by relevance

/system/chre/platform/slpi/see/
Dsee_helper.cc168 bool encodeSnsStdAttrReq(UniquePtr<pb_byte_t> *msg, size_t *msgLen) { in encodeSnsStdAttrReq() argument
170 CHRE_ASSERT(msgLen); in encodeSnsStdAttrReq()
175 bool success = pb_get_encoded_size(msgLen, sns_std_attr_req_fields, &req); in encodeSnsStdAttrReq()
179 UniquePtr<pb_byte_t> buf(static_cast<pb_byte_t *>(memoryAlloc(*msgLen))); in encodeSnsStdAttrReq()
183 if (msg->isNull() && *msgLen > 0) { in encodeSnsStdAttrReq()
186 pb_ostream_t stream = pb_ostream_from_buffer(msg->get(), *msgLen); in encodeSnsStdAttrReq()
208 UniquePtr<pb_byte_t> *msg, size_t *msgLen) { in encodeSnsSuidReq() argument
210 CHRE_ASSERT(msgLen); in encodeSnsSuidReq()
223 if (!pb_get_encoded_size(msgLen, sns_suid_req_fields, &req)) { in encodeSnsSuidReq()
225 } else if (*msgLen == 0) { in encodeSnsSuidReq()
[all …]
/system/chre/platform/slpi/include/chre/platform/slpi/see/
Dsee_helper.h475 static void seeIndCb(sns_client *client, void *msg, uint32_t msgLen,