Home
last modified time | relevance | path

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

/system/chre/host/msm/daemon/
Dfastrpc_daemon.cc164 unsigned int messageLen; in msgToHostThreadEntry() local
170 messageLen = 0; in msgToHostThreadEntry()
173 &messageLen); in msgToHostThreadEntry()
174 LOGV("Got message from CHRE with size %u (result %d)", messageLen, result); in msgToHostThreadEntry()
179 } else if (result == CHRE_FASTRPC_SUCCESS && messageLen > 0) { in msgToHostThreadEntry()
180 onMessageReceived(messageBuffer, messageLen); in msgToHostThreadEntry()
/system/chre/platform/slpi/
Dhost_link.cc132 unsigned int *messageLen) { in copyToHostBuffer() argument
143 *messageLen = size; in copyToHostBuffer()
277 size_t bufferSize, unsigned int *messageLen) { in generateMessageToHost() argument
288 int result = copyToHostBuffer(builder, buffer, bufferSize, messageLen); in generateMessageToHost()
298 size_t bufferSize, unsigned int *messageLen) { in generateHubInfoResponse() argument
323 return copyToHostBuffer(builder, buffer, bufferSize, messageLen); in generateHubInfoResponse()
328 unsigned int *messageLen, in generateMessageFromBuilder() argument
331 int result = copyToHostBuffer(*builder, buffer, bufferSize, messageLen); in generateMessageFromBuilder()
586 unsigned int *messageLen) { in chre_slpi_get_message_to_host() argument
589 CHRE_ASSERT(messageLen != nullptr); in chre_slpi_get_message_to_host()
[all …]
/system/chre/host/msm/daemon/generated/
Dchre_slpi.h44 …t_message_to_host)(unsigned char* buffer, int bufferLen, unsigned int* messageLen) __QAIC_HEADER_A…
45 …chre_slpi_deliver_message_from_host)(const unsigned char* message, int messageLen) __QAIC_HEADER_A…
Dchre_slpi_stub.c585 …t_message_to_host)(unsigned char* buffer, int bufferLen, unsigned int* messageLen) __QAIC_STUB_ATT… in __QAIC_STUB()
587 …(_chre_slpi_handle(), _mid, (unsigned char**)&buffer, (int*)&bufferLen, (unsigned int*)messageLen); in __QAIC_STUB()
604 …chre_slpi_deliver_message_from_host)(const unsigned char* message, int messageLen) __QAIC_STUB_ATT… in __QAIC_STUB()
606 …turn _stub_method_2(_chre_slpi_handle(), _mid, (const unsigned char**)&message, (int*)&messageLen); in __QAIC_STUB()
/system/chre/host/common/
Dhost_protocol_host.cc49 size_t messageLen, in decodeMessageFromChre() argument
51 bool success = verifyMessage(message, messageLen); in decodeMessageFromChre()
139 const void *message, size_t messageLen, uint16_t *hostClientId, in extractHostClientIdAndType() argument
143 success = verifyMessage(message, messageLen); in extractHostClientIdAndType()
158 bool HostProtocolHost::mutateHostClientId(void *message, size_t messageLen, in mutateHostClientId() argument
160 bool success = verifyMessage(message, messageLen); in mutateHostClientId()
Ddaemon_base.cc164 size_t messageLen) { in onMessageReceived() argument
165 getLogger()->dump(messageBuffer, messageLen); in onMessageReceived()
170 messageBuffer, messageLen, &hostClientId, &messageType)) { in onMessageReceived()
201 mServer.sendToAllClients(messageBuffer, static_cast<size_t>(messageLen)); in onMessageReceived()
203 mServer.sendToClientById(messageBuffer, static_cast<size_t>(messageLen), in onMessageReceived()
/system/chre/host/common/include/chre_host/
Dhost_protocol_host.h98 static bool decodeMessageFromChre(const void *message, size_t messageLen,
178 static bool extractHostClientIdAndType(const void *message, size_t messageLen,
192 static bool mutateHostClientId(void *message, size_t messageLen,
Dtokenized_log_message_parser.h82 unsigned int messageLen, in parseAndEmitTokenizedLogMessages() argument
99 detokenizer->Detokenize(message, messageLen - kLogMessageHeaderSize); in parseAndEmitTokenizedLogMessages()
Ddaemon_base.h177 void onMessageReceived(const unsigned char *message, size_t messageLen);
/system/chre/platform/shared/
Dhost_protocol_common.cc58 bool HostProtocolCommon::verifyMessage(const void *message, size_t messageLen) { in verifyMessage() argument
63 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/logging/liblog/
Dlogprint.cpp501 entry->messageLen = 0; in android_log_processLogBuffer()
575 entry->messageLen = (msgEnd < msgStart) ? 0 : (msgEnd - msgStart); in android_log_processLogBuffer()
980 entry->messageLen = 0; in android_log_processBinaryLogBuffer()
1089 entry->messageLen = outBuf - messageBuf; in android_log_processBinaryLogBuffer()
1090 assert(entry->messageLen == (messageBufLen - 1) - outRemaining); in android_log_processBinaryLogBuffer()
1101 size_t convertPrintable(char* p, const char* message, size_t messageLen) { in convertPrintable() argument
1106 while (messageLen) { in convertPrintable()
1109 if ((size_t)len > messageLen) { in convertPrintable()
1110 len = messageLen; in convertPrintable()
1148 messageLen -= len; in convertPrintable()
[all …]
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_protocol_common.h118 static bool verifyMessage(const void *message, size_t messageLen);
Dhost_protocol_chre.h97 static bool decodeMessageFromHost(const void *message, size_t messageLen);
/system/logging/liblog/include/log/
Dlogprint.h65 size_t messageLen; member
/system/logging/liblog/tests/
Dlogprint_test.cpp25 size_t convertPrintable(char* p, const char* message, size_t messageLen);
138 EXPECT_EQ(4U, entry.messageLen); in TEST()
/system/chre/host/msm/daemon/idl/
Dchre_slpi.idl34 rout unsigned long messageLen);
/system/logging/logcat/
Dlogcat.cpp215 std::regex_search(entry.message, entry.message + entry.messageLen, *regex_); in ProcessBuffer()