Home
last modified time | relevance | path

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

12

/system/chre/host/msm/daemon/
Dfastrpc_daemon.cc157 unsigned int messageLen; in msgToHostThreadEntry() local
163 messageLen = 0; in msgToHostThreadEntry()
166 &messageLen); in msgToHostThreadEntry()
167 LOGV("Got message from CHRE with size %u (result %d)", messageLen, result); in msgToHostThreadEntry()
172 } else if (result == CHRE_FASTRPC_SUCCESS && messageLen > 0) { in msgToHostThreadEntry()
173 onMessageReceived(messageBuffer, messageLen); in msgToHostThreadEntry()
/system/chre/platform/slpi/
Dhost_link.cc125 unsigned int *messageLen) { in copyToHostBuffer() argument
136 *messageLen = size; in copyToHostBuffer()
251 size_t bufferSize, unsigned int *messageLen) { in generateMessageToHost() argument
262 int result = copyToHostBuffer(builder, buffer, bufferSize, messageLen); in generateMessageToHost()
272 size_t bufferSize, unsigned int *messageLen) { in generateHubInfoResponse() argument
297 return copyToHostBuffer(builder, buffer, bufferSize, messageLen); in generateHubInfoResponse()
302 unsigned int *messageLen, in generateMessageFromBuilder() argument
305 int result = copyToHostBuffer(*builder, buffer, bufferSize, messageLen); in generateMessageFromBuilder()
472 unsigned int *messageLen) { in chre_slpi_get_message_to_host() argument
475 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/
Dfbs_daemon_base.cc101 size_t messageLen) { in onMessageReceived() argument
102 getLogger().dump(messageBuffer, messageLen); in onMessageReceived()
107 messageBuffer, messageLen, &hostClientId, &messageType)) { in onMessageReceived()
151 mServer.sendToAllClients(messageBuffer, static_cast<size_t>(messageLen)); in onMessageReceived()
153 mServer.sendToClientById(messageBuffer, static_cast<size_t>(messageLen), in onMessageReceived()
Dhost_protocol_host.cc49 size_t messageLen, in decodeMessageFromChre() argument
51 bool success = verifyMessage(message, messageLen); in decodeMessageFromChre()
148 const void *message, size_t messageLen, uint16_t *hostClientId, in extractHostClientIdAndType() argument
152 success = verifyMessage(message, messageLen); in extractHostClientIdAndType()
167 bool HostProtocolHost::mutateHostClientId(void *message, size_t messageLen, in mutateHostClientId() argument
169 bool success = verifyMessage(message, messageLen); in mutateHostClientId()
/system/chre/host/tinysys/hal/
Dtinysys_chre_connection.cc170 size_t messageLen) { in handleMessageFromChre() argument
183 messageBuffer, messageLen, &hostClientId, &messageType)) { in handleMessageFromChre()
188 messageType, messageLen, hostClientId); in handleMessageFromChre()
218 messageLen); in handleMessageFromChre()
Dtinysys_chre_connection.h64 size_t messageLen);
/system/chre/host/common/include/chre_host/
Dhost_protocol_host.h98 static bool decodeMessageFromChre(const void *message, size_t messageLen,
186 static bool extractHostClientIdAndType(const void *message, size_t messageLen,
200 static bool mutateHostClientId(void *message, size_t messageLen,
Dfbs_daemon_base.h88 size_t messageLen) override;
Ddaemon_base.h209 size_t messageLen) = 0;
/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.cc49 size_t messageLen) { in decodeMessageFromHost() argument
50 bool success = verifyMessage(message, messageLen); in decodeMessageFromHost()
53 messageLen); in decodeMessageFromHost()
/system/logging/liblog/
Dlogprint.cpp492 entry->messageLen = 0; in android_log_processLogBuffer()
566 entry->messageLen = (msgEnd < msgStart) ? 0 : (msgEnd - msgStart); in android_log_processLogBuffer()
971 entry->messageLen = 0; in android_log_processBinaryLogBuffer()
1080 entry->messageLen = outBuf - messageBuf; in android_log_processBinaryLogBuffer()
1081 assert(entry->messageLen == (messageBufLen - 1) - outRemaining); in android_log_processBinaryLogBuffer()
1092 size_t convertPrintable(char* p, const char* message, size_t messageLen) { in convertPrintable() argument
1097 while (messageLen) { in convertPrintable()
1100 if ((size_t)len > messageLen) { in convertPrintable()
1101 len = messageLen; in convertPrintable()
1139 messageLen -= len; in convertPrintable()
[all …]
/system/chre/platform/exynos/
Dhost_link.cc80 void HostLinkBase::receive(void *cookie, void *message, int messageLen) { in receive() argument
87 if (!HostProtocolChre::decodeMessageFromHost(message, messageLen)) { in receive()
88 LOGE("Failed to decode msg %p of len %zu", message, messageLen); in receive()
/system/chre/host/hal_generic/common/
Dchre_connection_callback.h31 size_t messageLen) = 0;
Dmulti_client_context_hub_base.h92 size_t messageLen) override;
/system/logging/liblog/tests/
Dliblog_convertPrintable_fuzzer.cpp19 size_t convertPrintable(char* p, const char* message, size_t messageLen);
Dlogprint_test.cpp27 size_t convertPrintable(char* p, const char* message, size_t messageLen);
149 EXPECT_EQ(4U, entry.messageLen); in TEST()
/system/chre/platform/exynos/include/chre/target_platform/
Dhost_link_base.h51 static void receive(void *cookie, void *message, int messageLen);
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_protocol_common.h120 static bool verifyMessage(const void *message, size_t messageLen);
Dhost_protocol_chre.h147 static bool decodeMessageFromHost(const void *message, size_t messageLen);
/system/logging/liblog/include/log/
Dlogprint.h66 size_t messageLen; member
/system/chre/platform/tinysys/
Dhost_link.cc486 int messageLen) { in receive() argument
487 LOGV("%s: message len %d", __func__, messageLen); in receive()
494 if (!HostProtocolChre::decodeMessageFromHost(message, messageLen)) { in receive()
495 LOGE("Failed to decode msg %p of len %u", message, messageLen); in receive()
/system/chre/host/msm/daemon/idl/
Dchre_slpi.idl34 rout unsigned long messageLen);

12