Home
last modified time | relevance | path

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

/chre-3.4.0/core/
Dhost_comms_manager.cc45 MessageToHost *msgToHost = mMessagePool.allocate(); in sendMessageToHostFromNanoapp() local
47 if (msgToHost == nullptr) { in sendMessageToHostFromNanoapp()
50 msgToHost->appId = nanoapp->getAppId(); in sendMessageToHostFromNanoapp()
51 msgToHost->message.wrap(static_cast<uint8_t *>(messageData), messageSize); in sendMessageToHostFromNanoapp()
52 msgToHost->toHostData.hostEndpoint = hostEndpoint; in sendMessageToHostFromNanoapp()
53 msgToHost->toHostData.messageType = messageType; in sendMessageToHostFromNanoapp()
54 msgToHost->toHostData.messagePermissions = messagePermissions; in sendMessageToHostFromNanoapp()
55 msgToHost->toHostData.appPermissions = nanoapp->getAppPermissions(); in sendMessageToHostFromNanoapp()
56 msgToHost->toHostData.nanoappFreeFunction = freeCallback; in sendMessageToHostFromNanoapp()
64 success = HostLink::sendMessage(msgToHost); in sendMessageToHostFromNanoapp()
[all …]
/chre-3.4.0/core/include/chre/core/
Dhost_comms_manager.h175 void onMessageToHostComplete(const MessageToHost *msgToHost);
232 void freeMessageToHost(MessageToHost *msgToHost);
/chre-3.4.0/platform/slpi/
Dhost_link.cc97 const MessageToHost *msgToHost = nullptr) { in PendingMessage()
99 data.msgToHost = msgToHost; in PendingMessage()
109 const MessageToHost *msgToHost; member
276 int generateMessageToHost(const MessageToHost *msgToHost, unsigned char *buffer, in generateMessageToHost() argument
281 ChreFlatBufferBuilder builder(msgToHost->message.size() + kFixedSizePortion); in generateMessageToHost()
283 builder, msgToHost->appId, msgToHost->toHostData.messageType, in generateMessageToHost()
284 msgToHost->toHostData.hostEndpoint, msgToHost->message.data(), in generateMessageToHost()
285 msgToHost->message.size(), msgToHost->toHostData.appPermissions, in generateMessageToHost()
286 msgToHost->toHostData.messagePermissions); in generateMessageToHost()
292 hostCommsManager.onMessageToHostComplete(msgToHost); in generateMessageToHost()
[all …]