Home
last modified time | relevance | path

Searched refs:messageBuffer (Results 1 – 4 of 4) sorted by relevance

/system/chre/apps/test/chqts/src/who_am_i/
Dwho_am_i.cc37 uint8_t messageBuffer[2]; variable
50 messageBuffer[0] = (msg->hostEndpoint & 0xff00) >> 8; in nanoappHandleEvent()
51 messageBuffer[1] = (msg->hostEndpoint & 0xff); in nanoappHandleEvent()
52 if (!chreSendMessageToHostEndpoint(static_cast<void *>(messageBuffer), in nanoappHandleEvent()
53 sizeof(messageBuffer), msg->messageType, in nanoappHandleEvent()
/system/chre/apps/test/chqts/src/echo_message/
Decho_message.cc50 uint8_t *messageBuffer = in nanoappHandleEvent() local
52 if (msg->messageSize != 0 && messageBuffer == nullptr) { in nanoappHandleEvent()
56 std::memcpy(static_cast<void *>(messageBuffer), in nanoappHandleEvent()
60 static_cast<void *>(messageBuffer), msg->messageSize, in nanoappHandleEvent()
/system/chre/host/common/
Ddaemon_base.cc163 void ChreDaemonBase::onMessageReceived(const unsigned char *messageBuffer, in onMessageReceived() argument
165 getLogger()->dump(messageBuffer, messageLen); in onMessageReceived()
170 messageBuffer, messageLen, &hostClientId, &messageType)) { in onMessageReceived()
177 fbs::UnPackMessageContainer(messageBuffer); in onMessageReceived()
185 fbs::UnPackMessageContainer(messageBuffer); in onMessageReceived()
199 handleDaemonMessage(messageBuffer); 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/msm/daemon/
Dfastrpc_daemon.cc163 unsigned char messageBuffer[4096]; in msgToHostThreadEntry() local
172 result = chre_slpi_get_message_to_host(messageBuffer, sizeof(messageBuffer), in msgToHostThreadEntry()
180 onMessageReceived(messageBuffer, messageLen); in msgToHostThreadEntry()