Searched refs:msgToHost (Results 1 – 3 of 3) sorted by relevance
/system/chre/core/ |
D | host_comms_manager.cc | 45 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() 65 msgToHost->toHostData.wokeHost = wokeHost; in sendMessageToHostFromNanoapp() [all …]
|
/system/chre/platform/slpi/ |
D | host_link.cc | 98 const MessageToHost *msgToHost = nullptr) { in PendingMessage() 100 data.msgToHost = msgToHost; in PendingMessage() 110 const MessageToHost *msgToHost; member 277 int generateMessageToHost(const MessageToHost *msgToHost, unsigned char *buffer, in generateMessageToHost() argument 282 ChreFlatBufferBuilder builder(msgToHost->message.size() + kFixedSizePortion); in generateMessageToHost() 284 builder, msgToHost->appId, msgToHost->toHostData.messageType, in generateMessageToHost() 285 msgToHost->toHostData.hostEndpoint, msgToHost->message.data(), in generateMessageToHost() 286 msgToHost->message.size(), msgToHost->toHostData.appPermissions, in generateMessageToHost() 287 msgToHost->toHostData.messagePermissions, msgToHost->toHostData.wokeHost); in generateMessageToHost() 293 hostCommsManager.onMessageToHostComplete(msgToHost); in generateMessageToHost() [all …]
|
/system/chre/core/include/chre/core/ |
D | host_comms_manager.h | 179 void onMessageToHostComplete(const MessageToHost *msgToHost); 236 void freeMessageToHost(MessageToHost *msgToHost);
|