Home
last modified time | relevance | path

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

/system/chre/core/
Dhost_comms_manager.cc160 MessageToHost *msgToHost = mMessagePool.allocate(); in sendMessageToHostFromNanoapp() local
161 if (msgToHost == nullptr) { in sendMessageToHostFromNanoapp()
166 msgToHost->appId = nanoapp->getAppId(); in sendMessageToHostFromNanoapp()
167 msgToHost->message.wrap(static_cast<uint8_t *>(messageData), messageSize); in sendMessageToHostFromNanoapp()
168 msgToHost->toHostData.hostEndpoint = hostEndpoint; in sendMessageToHostFromNanoapp()
169 msgToHost->toHostData.messageType = messageType; in sendMessageToHostFromNanoapp()
170 msgToHost->toHostData.messagePermissions = messagePermissions; in sendMessageToHostFromNanoapp()
171 msgToHost->toHostData.appPermissions = nanoapp->getAppPermissions(); in sendMessageToHostFromNanoapp()
172 msgToHost->toHostData.nanoappFreeFunction = freeCallback; in sendMessageToHostFromNanoapp()
173 msgToHost->isReliable = isReliable; in sendMessageToHostFromNanoapp()
[all …]
/system/chre/core/include/chre/core/
Dhost_comms_manager.h146 void onMessageToHostComplete(const MessageToHost *msgToHost);
302 MessageToHost *msgToHost);
333 void freeMessageToHost(MessageToHost *msgToHost);
375 void onMessageToHostCompleteInternal(const MessageToHost *msgToHost);
/system/chre/platform/slpi/
Dhost_link.cc90 const MessageToHost *msgToHost = nullptr) { in PendingMessage()
92 data.msgToHost = msgToHost; in PendingMessage()
102 const MessageToHost *msgToHost; member
250 int generateMessageToHost(const MessageToHost *msgToHost, unsigned char *buffer, in generateMessageToHost() argument
255 ChreFlatBufferBuilder builder(msgToHost->message.size() + kFixedSizePortion); in generateMessageToHost()
257 builder, msgToHost->appId, msgToHost->toHostData.messageType, in generateMessageToHost()
258 msgToHost->toHostData.hostEndpoint, msgToHost->message.data(), in generateMessageToHost()
259 msgToHost->message.size(), msgToHost->toHostData.appPermissions, in generateMessageToHost()
260 msgToHost->toHostData.messagePermissions, msgToHost->toHostData.wokeHost); in generateMessageToHost()
266 hostCommsManager.onMessageToHostComplete(msgToHost); in generateMessageToHost()
[all …]
/system/chre/platform/tinysys/
Dhost_link.cc144 const HostMessage *msgToHost = nullptr) { in PendingMessage()
146 data.msgToHost = msgToHost; in PendingMessage()
156 const HostMessage *msgToHost; member
240 result = generateMessageToHost(pendingMsg.data.msgToHost); in dequeueMessage()