Home
last modified time | relevance | path

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

/system/chre/apps/chqts/src/shared/
Dsend_message.cc97 static void *prependMessageType(MessageType messageType, void *memory) { in prependMessageType() argument
102 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()
123 void sendMessageToHost(MessageType messageType, const void *data, in sendMessageToHost() argument
131 void *ptr = prependMessageType(messageType, myMessageBase); in sendMessageToHost()
133 internalSendMessage(messageType, myMessageBase, fullMessageSize, dumbAlloc); in sendMessageToHost()
136 void sendStringToHost(MessageType messageType, const char *message, in sendStringToHost() argument
153 char *ptr = static_cast<char*>(prependMessageType(messageType, in sendStringToHost()
164 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/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/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.cc68 uint32_t messageType, in chreSendMessageToHost() argument
71 message, static_cast<size_t>(messageSize), messageType, in chreSendMessageToHost()
76 void *message, size_t messageSize, uint32_t messageType, in chreSendMessageToHostEndpoint() argument
90 nanoapp, message, messageSize, messageType, hostEndpoint, freeCallback); in chreSendMessageToHostEndpoint()
/system/chre/chre_api/legacy/v1_1/chre/
Devent.h215 uint32_t messageType; member
366 uint32_t messageType,
426 uint32_t messageType, uint16_t hostEndpoint,
/system/chre/chre_api/include/chre_api/chre/
Devent.h243 uint32_t messageType; member
394 uint32_t messageType,
454 uint32_t messageType, uint16_t hostEndpoint,
/system/chre/chre_api/legacy/v1_2/chre/
Devent.h243 uint32_t messageType; member
394 uint32_t messageType,
454 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,
86 flatbuffers::FlatBufferBuilder& builder, fbs::ChreMessage messageType,
Dhost_protocol_chre.h50 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint,
/system/chre/apps/chqts/src/who_am_i/
Dwho_am_i.cc55 msg->messageType, msg->hostEndpoint, in nanoappHandleEvent()
/system/chre/host/common/
Dhost_protocol_host.cc135 ::chre::fbs::ChreMessage *messageType) { in extractHostClientIdAndType() argument
137 if (hostClientId != nullptr && messageType != nullptr) { in extractHostClientIdAndType()
145 *messageType = container->message_type(); in extractHostClientIdAndType()
/system/chre/apps/chqts/src/echo_message/
Decho_message.cc62 msg->messageType, msg->hostEndpoint, messageFreeCallback)) { in nanoappHandleEvent()
/system/chre/apps/message_world/
Dmessage_world.cc64 msg->messageType, msg->messageSize, msg->message, msg->hostEndpoint); in nanoappHandleEvent()
/system/chre/host/msm/daemon/
Dchre_daemon.cc837 fbs::ChreMessage messageType; in chre_message_to_host_thread() local
839 messageBuffer, messageLen, &hostClientId, &messageType)) { in chre_message_to_host_thread()
845 if (messageType == fbs::ChreMessage::LogMessage) { in chre_message_to_host_thread()
847 } else if (messageType == fbs::ChreMessage::TimeSyncRequest) { in chre_message_to_host_thread()
850 } else if (messageType == fbs::ChreMessage::LowPowerMicAccessRequest) { in chre_message_to_host_thread()
852 } else if (messageType == fbs::ChreMessage::LowPowerMicAccessRelease) { in chre_message_to_host_thread()
/system/chre/host/common/include/chre_host/
Dhost_protocol_host.h175 ::chre::fbs::ChreMessage *messageType);
/system/chre/build/app_support/qcom_nanohub/
Dapp_support.cc151 u.msg.messageType = 0; in chreappHandle()
/system/chre/platform/slpi/
Dhost_link.cc317 builder, msgToHost->appId, msgToHost->toHostData.messageType, in generateMessageToHost()
762 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint, in handleNanoappMessage() argument
766 appId, hostEndpoint, messageType, messageDataLen); in handleNanoappMessage()
771 appId, messageType, hostEndpoint, messageData, messageDataLen); in handleNanoappMessage()