Home
last modified time | relevance | path

Searched refs:msgToHost (Results 1 – 3 of 3) sorted by relevance

/system/chre/core/
Dhost_comms_manager.cc46 MessageToHost *msgToHost = mMessagePool.allocate(); in sendMessageToHostFromNanoapp() local
48 if (msgToHost == nullptr) { in sendMessageToHostFromNanoapp()
51 msgToHost->appId = nanoapp->getAppId(); in sendMessageToHostFromNanoapp()
52 msgToHost->message.wrap(static_cast<uint8_t *>(messageData), messageSize); in sendMessageToHostFromNanoapp()
53 msgToHost->toHostData.hostEndpoint = hostEndpoint; in sendMessageToHostFromNanoapp()
54 msgToHost->toHostData.messageType = messageType; in sendMessageToHostFromNanoapp()
55 msgToHost->toHostData.nanoappFreeFunction = freeCallback; in sendMessageToHostFromNanoapp()
59 msgToHost->toHostData.reserved = kMessageToHostReservedFieldValue; in sendMessageToHostFromNanoapp()
61 success = mHostLink.sendMessage(msgToHost); in sendMessageToHostFromNanoapp()
63 mMessagePool.deallocate(msgToHost); in sendMessageToHostFromNanoapp()
[all …]
/system/chre/platform/slpi/
Dhost_link.cc100 const MessageToHost *msgToHost = nullptr) { in PendingMessage()
102 data.msgToHost = msgToHost; in PendingMessage()
112 const MessageToHost *msgToHost; member
310 int generateMessageToHost(const MessageToHost *msgToHost, unsigned char *buffer, in generateMessageToHost() argument
315 FlatBufferBuilder builder(msgToHost->message.size() + kFixedSizePortion); in generateMessageToHost()
317 builder, msgToHost->appId, msgToHost->toHostData.messageType, in generateMessageToHost()
318 msgToHost->toHostData.hostEndpoint, msgToHost->message.data(), in generateMessageToHost()
319 msgToHost->message.size()); in generateMessageToHost()
325 hostCommsManager.onMessageToHostComplete(msgToHost); in generateMessageToHost()
615 result = generateMessageToHost(pendingMsg.data.msgToHost, buffer, in chre_slpi_get_message_to_host()
/system/chre/core/include/chre/core/
Dhost_comms_manager.h141 void onMessageToHostComplete(const MessageToHost *msgToHost);
179 void freeMessageToHost(MessageToHost *msgToHost);