Home
last modified time | relevance | path

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

/system/chre/core/
Dhost_comms_manager.cc48 MessageToHost *msgToHost = mMessagePool.allocate(); in sendMessageToHostFromCurrentNanoapp() local
50 if (msgToHost == nullptr) { in sendMessageToHostFromCurrentNanoapp()
53 msgToHost->appId = currentApp->getAppId(); in sendMessageToHostFromCurrentNanoapp()
54 msgToHost->message.wrap(static_cast<uint8_t *>(messageData), messageSize); in sendMessageToHostFromCurrentNanoapp()
55 msgToHost->toHostData.hostEndpoint = hostEndpoint; in sendMessageToHostFromCurrentNanoapp()
56 msgToHost->toHostData.messageType = messageType; in sendMessageToHostFromCurrentNanoapp()
57 msgToHost->toHostData.nanoappFreeFunction = freeCallback; in sendMessageToHostFromCurrentNanoapp()
61 msgToHost->toHostData.reserved = kMessageToHostReservedFieldValue; in sendMessageToHostFromCurrentNanoapp()
63 success = mHostLink.sendMessage(msgToHost); in sendMessageToHostFromCurrentNanoapp()
65 freeMessageToHost(msgToHost); in sendMessageToHostFromCurrentNanoapp()
[all …]
/system/chre/platform/slpi/
Dhost_link.cc72 const MessageToHost *msgToHost = nullptr) { in PendingMessage()
74 data.msgToHost = msgToHost; in PendingMessage()
84 const MessageToHost *msgToHost; member
194 int generateMessageToHost(const MessageToHost *msgToHost, unsigned char *buffer, in generateMessageToHost() argument
199 FlatBufferBuilder builder(msgToHost->message.size() + kFixedSizePortion); in generateMessageToHost()
201 builder, msgToHost->appId, msgToHost->toHostData.messageType, in generateMessageToHost()
202 msgToHost->toHostData.hostEndpoint, msgToHost->message.data(), in generateMessageToHost()
203 msgToHost->message.size()); in generateMessageToHost()
209 hostCommsManager.onMessageToHostComplete(msgToHost); in generateMessageToHost()
285 result = generateMessageToHost(pendingMsg.data.msgToHost, buffer, in chre_slpi_get_message_to_host()
/system/chre/core/include/chre/core/
Dhost_comms_manager.h131 void onMessageToHostComplete(const MessageToHost *msgToHost);
171 void freeMessageToHost(MessageToHost *msgToHost);