/system/chre/apps/test/common/shared/src/ |
D | send_message.cc | 48 void sendTestResultWithMsgToHost(uint16_t hostEndpointId, uint32_t messageType, in sendTestResultWithMsgToHost() argument 69 messageType); in sendTestResultWithMsgToHost() 76 void sendTestResultToHost(uint16_t hostEndpointId, uint32_t messageType, in sendTestResultToHost() argument 78 sendTestResultWithMsgToHost(hostEndpointId, messageType, success, in sendTestResultToHost() 82 void sendEmptyMessageToHost(uint16_t hostEndpointId, uint32_t messageType) { in sendEmptyMessageToHost() argument 92 messageType, hostEndpointId, in sendEmptyMessageToHost() 97 const pb_field_t *fields, uint32_t messageType) { in sendMessageToHost() argument 110 } else if (!chreSendMessageToHostEndpoint(bytes, size, messageType, in sendMessageToHost()
|
/system/chre/apps/test/chqts/src/shared/ |
D | send_message.cc | 101 static void *prependMessageType(MessageType messageType, void *memory) { in prependMessageType() argument 106 nanoapp_testing::hostToLittleEndian(static_cast<uint32_t>(messageType)); in prependMessageType() 113 static void internalSendMessage(MessageType messageType, void *data, in internalSendMessage() argument 119 data, dataSize, static_cast<uint32_t>(messageType), in internalSendMessage() 126 void sendMessageToHost(MessageType messageType, const void *data, in sendMessageToHost() argument 134 void *ptr = prependMessageType(messageType, myMessageBase); in sendMessageToHost() 136 internalSendMessage(messageType, myMessageBase, fullMessageSize, ChunkAlloc); in sendMessageToHost() 139 void sendStringToHost(MessageType messageType, const char *message, in sendStringToHost() argument 156 char *ptr = static_cast<char *>(prependMessageType(messageType, fullMessage)); in sendStringToHost() 166 internalSendMessage(messageType, fullMessage, fullMessageLen, ChunkAlloc); in sendStringToHost()
|
D | send_message.h | 115 void sendMessageToHost(MessageType messageType, const void *data = nullptr, 133 void sendStringToHost(MessageType messageType, const char *message,
|
/system/chre/apps/test/common/shared/inc/ |
D | send_message.h | 31 void sendTestResultToHost(uint16_t hostEndpointId, uint32_t messageType, 45 void sendTestResultWithMsgToHost(uint16_t hostEndpointId, uint32_t messageType, 55 void sendEmptyMessageToHost(uint16_t hostEndpointId, uint32_t messageType); 66 const pb_field_t *fields, uint32_t messageType);
|
/system/chre/platform/shared/ |
D | chre_api_core.cc | 56 uint32_t messageType, uint16_t hostEndpoint, in sendMessageToHost() argument 70 nanoapp, message, messageSize, messageType, hostEndpoint, in sendMessageToHost() 119 uint32_t messageType, in chreSendMessageToHost() argument 122 message, static_cast<size_t>(messageSize), messageType, in chreSendMessageToHost() 127 void *message, size_t messageSize, uint32_t messageType, in chreSendMessageWithPermissions() argument 131 return sendMessageToHost(nanoapp, message, messageSize, messageType, in chreSendMessageWithPermissions() 137 void *message, size_t messageSize, uint32_t messageType, in chreSendReliableMessageAsync() argument 142 return sendMessageToHost(nanoapp, message, messageSize, messageType, in chreSendReliableMessageAsync() 148 UNUSED_VAR(messageType); in chreSendReliableMessageAsync() 158 void *message, size_t messageSize, uint32_t messageType, in chreSendMessageToHostEndpoint() argument [all …]
|
D | host_protocol_common.cc | 31 FlatBufferBuilder &builder, uint64_t appId, uint32_t messageType, in encodeNanoappMessage() argument 39 builder, appId, messageType, hostEndpoint, messageDataOffset, in encodeNanoappMessage() 60 fbs::ChreMessage messageType, in finalize() argument 65 fbs::CreateMessageContainer(builder, messageType, message, &hostAddr); in finalize()
|
/system/chre/host/common/ |
D | fbs_daemon_base.cc | 113 fbs::ChreMessage messageType; in onMessageReceived() local 115 messageBuffer, messageLen, &hostClientId, &messageType)) { in onMessageReceived() 123 if (messageType == fbs::ChreMessage::LogMessage) { in onMessageReceived() 129 } else if (messageType == fbs::ChreMessage::LogMessageV2) { in onMessageReceived() 136 } else if (messageType == fbs::ChreMessage::TimeSyncRequest) { in onMessageReceived() 138 } else if (messageType == fbs::ChreMessage::LowPowerMicAccessRequest) { in onMessageReceived() 140 } else if (messageType == fbs::ChreMessage::LowPowerMicAccessRelease) { in onMessageReceived() 142 } else if (messageType == fbs::ChreMessage::MetricLog) { in onMessageReceived() 147 } else if (messageType == fbs::ChreMessage::NanConfigurationRequest) { in onMessageReceived() 150 } else if (messageType == fbs::ChreMessage::NanoappTokenDatabaseInfo) { in onMessageReceived()
|
/system/chre/apps/test/common/ping_test/src/ |
D | ping_test.cc | 38 uint32_t messageType = hostData->messageType; in handleMessageFromHost() local 41 } else if (messageType != ping_test_MessageType_PING_COMMAND) { in handleMessageFromHost() 42 LOGE("Invalid message type %" PRIu32, messageType); in handleMessageFromHost()
|
/system/chre/apps/test/common/permission_test/src/ |
D | permission_test.cc | 122 uint32_t messageType = hostData->messageType; in handleMessageFromHost() local 125 } else if (messageType != permission_test_MessageType_TEST_COMMAND) { in handleMessageFromHost() 126 LOGE("Invalid message type %" PRIu32, messageType); in handleMessageFromHost()
|
/system/chre/chre_api/legacy/v1_5/chre/ |
D | event.h | 317 uint32_t messageType; member 466 uint32_t messageType, 482 uint32_t messageType, uint16_t hostEndpoint, 565 uint32_t messageType, uint16_t hostEndpoint,
|
/system/chre/core/include/chre/core/ |
D | host_comms_manager.h | 56 uint32_t messageType; member 201 size_t messageSize, uint32_t messageType, 224 void sendMessageToNanoappFromHost(uint64_t appId, uint32_t messageType, 264 uint64_t appId, uint16_t hostEndpoint, uint32_t messageType,
|
/system/chre/host/tinysys/hal/ |
D | tinysys_chre_connection.cc | 184 fbs::ChreMessage messageType = fbs::ChreMessage::NONE; in handleMessageFromChre() local 186 messageBuffer, messageLen, &hostClientId, &messageType)) { in handleMessageFromChre() 191 messageType, messageLen, hostClientId); in handleMessageFromChre() 193 switch (messageType) { in handleMessageFromChre() 210 LOGE("Unsupported message type %hhu received from CHRE.", messageType); in handleMessageFromChre()
|
/system/chre/chre_api/include/chre_api/chre/ |
D | event.h | 382 uint32_t messageType; member 697 uint32_t messageType, 713 uint32_t messageType, uint16_t hostEndpoint, 798 uint32_t messageType, uint16_t hostEndpoint, 842 uint32_t messageType, uint16_t hostEndpoint,
|
/system/chre/chre_api/legacy/v1_1/chre/ |
D | event.h | 215 uint32_t messageType; member 366 uint32_t messageType, 426 uint32_t messageType, uint16_t hostEndpoint,
|
/system/chre/chre_api/legacy/v1_3/chre/ |
D | event.h | 243 uint32_t messageType; member 391 uint32_t messageType, 451 uint32_t messageType, uint16_t hostEndpoint,
|
/system/chre/chre_api/legacy/v1_2/chre/ |
D | event.h | 243 uint32_t messageType; member 394 uint32_t messageType, 454 uint32_t messageType, uint16_t hostEndpoint,
|
/system/chre/chre_api/legacy/v1_6/chre/ |
D | event.h | 328 uint32_t messageType; member 614 uint32_t messageType, 630 uint32_t messageType, uint16_t hostEndpoint, 713 uint32_t messageType, uint16_t hostEndpoint,
|
/system/chre/chre_api/legacy/v1_7/chre/ |
D | event.h | 328 uint32_t messageType; member 614 uint32_t messageType, 630 uint32_t messageType, uint16_t hostEndpoint, 713 uint32_t messageType, uint16_t hostEndpoint,
|
/system/chre/core/ |
D | host_comms_manager.cc | 151 uint32_t messageType, uint16_t hostEndpoint, uint32_t messagePermissions, in sendMessageToHostFromNanoapp() argument 169 msgToHost->toHostData.messageType = messageType; in sendMessageToHostFromNanoapp() 201 uint64_t appId, uint32_t messageType, uint16_t hostEndpoint, in sendMessageToNanoappFromHost() argument 213 appId, hostEndpoint, messageType, messageData, in sendMessageToNanoappFromHost() 243 uint64_t appId, uint16_t hostEndpoint, uint32_t messageType, in craftNanoappMessageFromHost() argument 254 messageSize, hostEndpoint, messageType); in craftNanoappMessageFromHost() 259 msgFromHost->fromHostData.messageType = messageType; in craftNanoappMessageFromHost()
|
/system/chre/chre_api/legacy/v1_4/chre/ |
D | event.h | 257 uint32_t messageType; member 406 uint32_t messageType, 467 uint32_t messageType, uint16_t hostEndpoint,
|
/system/chre/chre_api/legacy/v1_8/chre/ |
D | event.h | 335 uint32_t messageType; member 650 uint32_t messageType, 666 uint32_t messageType, uint16_t hostEndpoint, 749 uint32_t messageType, uint16_t hostEndpoint,
|
/system/chre/chre_api/legacy/v1_9/chre/ |
D | event.h | 362 uint32_t messageType; member 677 uint32_t messageType, 693 uint32_t messageType, uint16_t hostEndpoint, 778 uint32_t messageType, uint16_t hostEndpoint,
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | host_protocol_common.h | 79 uint32_t messageType, uint16_t hostEndpoint, const void *messageData, 125 fbs::ChreMessage messageType,
|
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/ |
D | ChreCrossValidatorWifi.java | 163 int messageType = ChreCrossValidationWifi.MessageType.STEP_START_VALUE; in makeStepStartMessage() local 168 mNappBinary.getNanoAppId(), messageType, stepStartCommand.toByteArray()); in makeStepStartMessage() 175 int messageType = ChreCrossValidationWifi.MessageType.STEP_START_VALUE; in sendSetupMessage() local 180 mNappBinary.getNanoAppId(), messageType, stepStartCommand.toByteArray()); in sendSetupMessage() 241 int messageType = ChreCrossValidationWifi.MessageType.SCAN_RESULT_VALUE; in makeWifiScanResultMessage() local 247 mNappBinary.getNanoAppId(), messageType, scanResult.toByteArray()); in makeWifiScanResultMessage()
|
/system/chre/apps/test/common/chre_audio_concurrency_test/src/ |
D | chre_audio_concurrency_test_manager.cc | 138 uint32_t messageType = hostData->messageType; in handleMessageFromHost() local 141 } else if (messageType != in handleMessageFromHost() 143 LOGE("Invalid message type %" PRIu32, messageType); in handleMessageFromHost()
|