Home
last modified time | relevance | path

Searched refs:messageType (Results 1 – 18 of 18) sorted by relevance

/system/chre/apps/chqts/src/shared/
Dsend_message.cc97 static void *prependMessageType(MessageType messageType, void *memory) { in prependMessageType() argument
101 uint32_t type = static_cast<uint32_t>(messageType); in prependMessageType()
109 static void internalSendMessage(MessageType messageType, void *data, in internalSendMessage() argument
115 static_cast<uint32_t>(messageType), in internalSendMessage()
122 void sendMessageToHost(MessageType messageType, const void *data, in sendMessageToHost() argument
130 void *ptr = prependMessageType(messageType, myMessageBase); in sendMessageToHost()
132 internalSendMessage(messageType, myMessageBase, fullMessageSize, dumbAlloc); in sendMessageToHost()
135 void sendStringToHost(MessageType messageType, const char *message, in sendStringToHost() argument
152 char *ptr = static_cast<char*>(prependMessageType(messageType, in sendStringToHost()
162 internalSendMessage(messageType, fullMessage, fullMessageLen, dumbAlloc); in sendStringToHost()
Dsend_message.h115 void sendMessageToHost(MessageType messageType, const void *data = nullptr,
133 void sendStringToHost(MessageType messageType, const char *message,
/system/chre/core/
Dhost_comms_manager.cc35 uint32_t messageType, uint16_t hostEndpoint, in sendMessageToHostFromNanoapp() argument
54 msgToHost->toHostData.messageType = messageType; in sendMessageToHostFromNanoapp()
72 uint64_t appId, uint16_t hostEndpoint, uint32_t messageType, in deliverNanoappMessageFromHost() argument
83 hostEndpoint, messageType); in deliverNanoappMessageFromHost()
86 msgFromHost->fromHostData.messageType = messageType; in deliverNanoappMessageFromHost()
103 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint, in sendMessageToNanoappFromHost() argument
121 deliverNanoappMessageFromHost(appId, hostEndpoint, messageType, messageData, in sendMessageToNanoappFromHost()
/system/chre/platform/shared/
Dhost_protocol_common.cc30 FlatBufferBuilder& builder, uint64_t appId, uint32_t messageType, in encodeNanoappMessage() argument
36 builder, appId, messageType, hostEndpoint, messageDataOffset); in encodeNanoappMessage()
47 FlatBufferBuilder& builder, fbs::ChreMessage messageType, in finalize() argument
51 builder, messageType, message, &hostAddr); in finalize()
Dchre_api_core.cc71 uint32_t messageType, in chreSendMessageToHost() argument
74 message, static_cast<size_t>(messageSize), messageType, in chreSendMessageToHost()
79 void *message, size_t messageSize, uint32_t messageType, in chreSendMessageToHostEndpoint() argument
93 nanoapp, message, messageSize, messageType, hostEndpoint, freeCallback); in chreSendMessageToHostEndpoint()
/system/chre/core/include/chre/core/
Dhost_comms_manager.h52 uint32_t messageType; member
112 uint32_t messageType, uint16_t hostEndpoint,
130 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint,
169 uint64_t appId, uint16_t hostEndpoint, uint32_t messageType,
/system/chre/chre_api/include/chre_api/chre/
Devent.h215 uint32_t messageType; member
366 uint32_t messageType,
426 uint32_t messageType, uint16_t hostEndpoint,
/system/chre/platform/shared/include/chre/platform/shared/
Dhost_protocol_common.h58 uint32_t messageType, uint16_t hostEndpoint, const void *messageData,
80 flatbuffers::FlatBufferBuilder& builder, fbs::ChreMessage messageType,
Dhost_protocol_chre.h37 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint,
/system/chre/host/common/include/chre_host/
Dhost_protocol_host.h39 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint,
163 ::chre::fbs::ChreMessage *messageType);
/system/chre/host/msm/daemon/
Dchre_daemon.cc271 fbs::ChreMessage messageType; in chre_message_to_host_thread() local
273 messageBuffer, messageLen, &hostClientId, &messageType)) { in chre_message_to_host_thread()
279 if (messageType == fbs::ChreMessage::LogMessage) { in chre_message_to_host_thread()
281 } else if (messageType == fbs::ChreMessage::TimeSyncRequest) { in chre_message_to_host_thread()
/system/chre/host/common/
Dhost_protocol_host.cc190 ::chre::fbs::ChreMessage *messageType) { in extractHostClientIdAndType() argument
192 if (hostClientId != nullptr && messageType != nullptr) { in extractHostClientIdAndType()
200 *messageType = container->message_type(); in extractHostClientIdAndType()
/system/chre/apps/message_world/
Dmessage_world.cc64 msg->messageType, msg->messageSize, msg->message, msg->hostEndpoint); in nanoappHandleEvent()
/system/chre/host/common/test/
Dchre_test_client.cc75 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint, in handleNanoappMessage() argument
79 messageType, messageLen); in handleNanoappMessage()
/system/chre/platform/slpi/
Dhost_link.cc303 builder, msgToHost->appId, msgToHost->toHostData.messageType, in generateMessageToHost()
604 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint, in handleNanoappMessage() argument
608 appId, hostEndpoint, messageType, messageDataLen); in handleNanoappMessage()
613 appId, messageType, hostEndpoint, messageData, messageDataLen); in handleNanoappMessage()
/system/chre/build/app_support/qcom_nanohub/
Dapp_support.cc151 u.msg.messageType = 0; in chreappHandle()
/system/chre/host/hal_generic/
Dgeneric_context_hub.h79 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint,
Dgeneric_context_hub.cc333 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint, in handleNanoappMessage() argument
338 msg.msgType = messageType; in handleNanoappMessage()