Home
last modified time | relevance | path

Searched refs:messageLen (Results 1 – 14 of 14) sorted by relevance

/system/chre/platform/slpi/
Dhost_link.cc140 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()
[all …]
/system/chre/host/common/
Dhost_protocol_host.cc49 const void *message, size_t messageLen, IChreMessageHandlers& handlers) { in decodeMessageFromChre() argument
50 bool success = verifyMessage(message, messageLen); in decodeMessageFromChre()
134 const void *message, size_t messageLen, uint16_t *hostClientId, in extractHostClientIdAndType() argument
138 success = verifyMessage(message, messageLen); in extractHostClientIdAndType()
152 bool HostProtocolHost::mutateHostClientId(void *message, size_t messageLen, in mutateHostClientId() argument
154 bool success = verifyMessage(message, messageLen); in mutateHostClientId()
/system/chre/host/msm/daemon/generated/
Dchre_slpi.h43 …t_message_to_host)(unsigned char* buffer, int bufferLen, unsigned int* messageLen) __QAIC_HEADER_A…
44 …chre_slpi_deliver_message_from_host)(const unsigned char* message, int messageLen) __QAIC_HEADER_A…
Dchre_slpi_stub.c582 …t_message_to_host)(unsigned char* buffer, int bufferLen, unsigned int* messageLen) __QAIC_STUB_ATT… in __QAIC_STUB()
584 …method_1(_chre_slpi_handle(), _mid, (char**)&buffer, (uint32_t*)&bufferLen, (uint32_t*)messageLen); in __QAIC_STUB()
601 …chre_slpi_deliver_message_from_host)(const unsigned char* message, int messageLen) __QAIC_STUB_ATT… in __QAIC_STUB()
603 return _stub_method_2(_chre_slpi_handle(), _mid, (char**)&message, (uint32_t*)&messageLen); in __QAIC_STUB()
/system/chre/host/common/include/chre_host/
Dhost_protocol_host.h95 static bool decodeMessageFromChre(const void *message, size_t messageLen,
174 const void *message, size_t messageLen, uint16_t *hostClientId,
187 static bool mutateHostClientId(void *message, size_t messageLen,
/system/chre/platform/shared/
Dhost_protocol_common.cc55 bool HostProtocolCommon::verifyMessage(const void *message, size_t messageLen) { in verifyMessage() argument
60 messageLen); in verifyMessage()
Dhost_protocol_chre.cc46 size_t messageLen) { in decodeMessageFromHost() argument
47 bool success = verifyMessage(message, messageLen); in decodeMessageFromHost()
50 messageLen); in decodeMessageFromHost()
/system/chre/host/msm/daemon/
Dchre_daemon.cc737 unsigned int messageLen; in chre_message_to_host_thread() local
742 messageLen = 0; in chre_message_to_host_thread()
745 messageBuffer, sizeof(messageBuffer), &messageLen); in chre_message_to_host_thread()
746 LOGV("Got message from CHRE with size %u (result %d)", messageLen, result); in chre_message_to_host_thread()
751 } else if (result == CHRE_FASTRPC_SUCCESS && messageLen > 0) { in chre_message_to_host_thread()
752 log_buffer(messageBuffer, messageLen); in chre_message_to_host_thread()
756 messageBuffer, messageLen, &hostClientId, &messageType)) { in chre_message_to_host_thread()
776 static_cast<size_t>(messageLen)); in chre_message_to_host_thread()
779 static_cast<size_t>(messageLen), hostClientId); in chre_message_to_host_thread()
/system/core/liblog/
Dlogprint.cpp498 entry->messageLen = 0; in android_log_processLogBuffer()
578 entry->messageLen = (msgEnd < msgStart) ? 0 : (msgEnd - msgStart); in android_log_processLogBuffer()
1005 entry->messageLen = 0; in android_log_processBinaryLogBuffer()
1128 entry->messageLen = outBuf - messageBuf; in android_log_processBinaryLogBuffer()
1129 assert(entry->messageLen == (messageBufLen - 1) - outRemaining); in android_log_processBinaryLogBuffer()
1194 static size_t convertPrintable(char* p, const char* message, size_t messageLen) { in convertPrintable() argument
1198 while (messageLen) { in convertPrintable()
1201 if ((size_t)len > messageLen) { in convertPrintable()
1202 len = messageLen; in convertPrintable()
1207 snprintf(buf, sizeof(buf), ((messageLen > 1) && isdigit(message[1])) ? "\\%03o" : "\\%o", in convertPrintable()
[all …]
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_protocol_common.h98 static bool verifyMessage(const void *message, size_t messageLen);
Dhost_protocol_chre.h88 static bool decodeMessageFromHost(const void *message, size_t messageLen);
/system/core/liblog/include/log/
Dlogprint.h64 size_t messageLen; member
/system/chre/host/msm/daemon/idl/
Dchre_slpi.idl34 rout unsigned long messageLen);
/system/core/logcat/
Dlogcat.cpp310 std::string messageString(entry.message, entry.messageLen); in regexOk()