Lines Matching refs:messageLen
140 size_t bufferSize, unsigned int *messageLen) { in copyToHostBuffer() argument
151 *messageLen = size; in copyToHostBuffer()
311 size_t bufferSize, unsigned int *messageLen) { in generateMessageToHost() argument
321 int result = copyToHostBuffer(builder, buffer, bufferSize, messageLen); in generateMessageToHost()
331 size_t bufferSize, unsigned int *messageLen) { in generateHubInfoResponse() argument
358 return copyToHostBuffer(builder, buffer, bufferSize, messageLen); in generateHubInfoResponse()
363 unsigned int *messageLen) { in generateMessageFromBuilder() argument
365 int result = copyToHostBuffer(*builder, buffer, bufferSize, messageLen); in generateMessageFromBuilder()
594 unsigned char *buffer, int bufferLen, unsigned int *messageLen) { in chre_slpi_get_message_to_host() argument
597 CHRE_ASSERT(messageLen != nullptr); in chre_slpi_get_message_to_host()
600 if (bufferLen <= 0 || buffer == nullptr || messageLen == nullptr) { in chre_slpi_get_message_to_host()
604 bufferLen, (buffer == nullptr), (messageLen == nullptr)); in chre_slpi_get_message_to_host()
616 bufferSize, messageLen); in chre_slpi_get_message_to_host()
621 bufferSize, messageLen); in chre_slpi_get_message_to_host()
633 buffer, bufferSize, messageLen); in chre_slpi_get_message_to_host()
660 int messageLen) { in chre_slpi_deliver_message_from_host() argument
662 CHRE_ASSERT(messageLen > 0); in chre_slpi_deliver_message_from_host()
665 if (message == nullptr || messageLen <= 0) { in chre_slpi_deliver_message_from_host()
666 LOGE("Got null or invalid size (%d) message from host", messageLen); in chre_slpi_deliver_message_from_host()
668 message, static_cast<size_t>(messageLen))) { in chre_slpi_deliver_message_from_host()