/system/chre/apps/test/chqts/src/shared/ |
D | send_message.cc | 97 static void *prependMessageType(MessageType messageType, void *memory) { in prependMessageType() argument 102 nanoapp_testing::hostToLittleEndian(static_cast<uint32_t>(messageType)); in prependMessageType() 109 static void internalSendMessage(MessageType messageType, void *data, in internalSendMessage() argument 115 data, dataSize, 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, ChunkAlloc); in sendMessageToHost() 135 void sendStringToHost(MessageType messageType, const char *message, in sendStringToHost() argument 152 char *ptr = static_cast<char *>(prependMessageType(messageType, fullMessage)); in sendStringToHost() 162 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/src/ |
D | send_message.cc | 45 void sendTestResultWithMsgToHost(uint16_t hostEndpointId, uint32_t messageType, in sendTestResultWithMsgToHost() argument 77 chreSendMessageToHostEndpoint(bytes, size, messageType, hostEndpointId, in sendTestResultWithMsgToHost() 89 void sendTestResultToHost(uint16_t hostEndpointId, uint32_t messageType, in sendTestResultToHost() argument 91 sendTestResultWithMsgToHost(hostEndpointId, messageType, success, in sendTestResultToHost() 95 void sendEmptyMessageToHost(uint16_t hostEndpointId, uint32_t messageType) { in sendEmptyMessageToHost() argument 105 messageType, hostEndpointId, in sendEmptyMessageToHost()
|
/system/chre/apps/test/common/shared/inc/ |
D | send_message.h | 30 void sendTestResultToHost(uint16_t hostEndpointId, uint32_t messageType, 43 void sendTestResultWithMsgToHost(uint16_t hostEndpointId, uint32_t messageType, 52 void sendEmptyMessageToHost(uint16_t hostEndpointId, uint32_t messageType);
|
/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/core/ |
D | host_comms_manager.cc | 30 uint32_t messageType, uint16_t hostEndpoint, uint32_t messagePermissions, in sendMessageToHostFromNanoapp() argument 53 msgToHost->toHostData.messageType = messageType; in sendMessageToHostFromNanoapp() 82 uint64_t appId, uint16_t hostEndpoint, uint32_t messageType, in craftNanoappMessageFromHost() argument 92 messageSize, hostEndpoint, messageType); in craftNanoappMessageFromHost() 97 msgFromHost->fromHostData.messageType = messageType; in craftNanoappMessageFromHost() 127 uint32_t messageType, in sendMessageToNanoappFromHost() argument 140 appId, hostEndpoint, messageType, messageData, in sendMessageToNanoappFromHost()
|
/system/chre/platform/shared/ |
D | chre_api_core.cc | 69 uint32_t messageType, in chreSendMessageToHost() argument 72 message, static_cast<size_t>(messageSize), messageType, in chreSendMessageToHost() 77 void *message, size_t messageSize, uint32_t messageType, in chreSendMessageWithPermissions() argument 92 nanoapp, message, messageSize, messageType, hostEndpoint, in chreSendMessageWithPermissions() 104 void *message, size_t messageSize, uint32_t messageType, in chreSendMessageToHostEndpoint() argument 107 message, messageSize, messageType, hostEndpoint, in chreSendMessageToHostEndpoint()
|
D | host_protocol_common.cc | 30 FlatBufferBuilder &builder, uint64_t appId, uint32_t messageType, in encodeNanoappMessage() argument 37 builder, appId, messageType, hostEndpoint, messageDataOffset, in encodeNanoappMessage() 49 fbs::ChreMessage messageType, in finalize() argument 54 fbs::CreateMessageContainer(builder, messageType, message, &hostAddr); in finalize()
|
/system/chre/core/include/chre/core/ |
D | host_comms_manager.h | 53 uint32_t messageType; member 122 size_t messageSize, uint32_t messageType, 141 void sendMessageToNanoappFromHost(uint64_t appId, uint32_t messageType, 205 uint32_t messageType,
|
/system/chre/apps/test/common/permission_test/src/ |
D | permission_test.cc | 123 uint32_t messageType = hostData->messageType; in handleMessageFromHost() local 126 } else if (messageType != permission_test_MessageType_TEST_COMMAND) { in handleMessageFromHost() 127 LOGE("Invalid message type %" PRIu32, messageType); in handleMessageFromHost()
|
/system/chre/chre_api/include/chre_api/chre/ |
D | event.h | 311 uint32_t messageType; member 460 uint32_t messageType, 476 uint32_t messageType, uint16_t hostEndpoint, 559 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/host/common/ |
D | daemon_base.cc | 168 fbs::ChreMessage messageType; in onMessageReceived() local 170 messageBuffer, messageLen, &hostClientId, &messageType)) { in onMessageReceived() 175 if (messageType == fbs::ChreMessage::LogMessage) { in onMessageReceived() 183 } else if (messageType == fbs::ChreMessage::LogMessageV2) { in onMessageReceived() 192 } else if (messageType == fbs::ChreMessage::TimeSyncRequest) { in onMessageReceived() 194 } else if (messageType == fbs::ChreMessage::LowPowerMicAccessRequest) { in onMessageReceived() 196 } else if (messageType == fbs::ChreMessage::LowPowerMicAccessRelease) { in onMessageReceived()
|
/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_4/chre/ |
D | event.h | 257 uint32_t messageType; member 406 uint32_t messageType, 467 uint32_t messageType, uint16_t hostEndpoint,
|
/system/chre/apps/test/common/chre_settings_test/src/ |
D | chre_settings_test_util.cc | 66 void sendEmptyMessageToHost(uint16_t hostEndpointId, uint32_t messageType) { in sendEmptyMessageToHost() argument 73 messageType, hostEndpointId, in sendEmptyMessageToHost()
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | host_protocol_common.h | 75 uint32_t messageType, uint16_t hostEndpoint, const void *messageData, 106 fbs::ChreMessage messageType,
|
/system/chre/apps/test/common/chre_audio_concurrency_test/src/ |
D | chre_audio_concurrency_test_manager.cc | 113 uint32_t messageType = hostData->messageType; in handleMessageFromHost() local 116 } else if (messageType != in handleMessageFromHost() 118 LOGE("Invalid message type %" PRIu32, messageType); in handleMessageFromHost()
|
/system/chre/java/test/cross_validation/src/com/google/android/chre/test/crossvalidator/ |
D | ChreCrossValidatorWifi.java | 166 int messageType = ChreCrossValidationWifi.MessageType.STEP_START_VALUE; in makeStepStartMessage() local 171 mNappBinary.getNanoAppId(), messageType, stepStartCommand.toByteArray()); in makeStepStartMessage() 219 int messageType = ChreCrossValidationWifi.MessageType.USE_SCAN_RESULTS_SIZE_THRESHOLD_VALUE; in sendMessageUseScanResultsThresholdMessage() local 224 mNappBinary.getNanoAppId(), messageType, messageProto.toByteArray()); in sendMessageUseScanResultsThresholdMessage() 230 int messageType = ChreCrossValidationWifi.MessageType.SCAN_RESULT_VALUE; in makeWifiScanResultMessage() local 236 mNappBinary.getNanoAppId(), messageType, scanResult.toByteArray()); in makeWifiScanResultMessage()
|
/system/chre/apps/test/common/chre_cross_validator_wifi/src/ |
D | chre_cross_validator_wifi_manager.cc | 66 switch (hostData->messageType) { in handleMessageFromHost() 87 hostData->messageType); in handleMessageFromHost() 278 uint32_t messageType) { in encodeAndSendMessageToHost() argument 291 static_cast<void *>(buffer), encodedSize, messageType, in encodeAndSendMessageToHost()
|
/system/chre/apps/test/common/chre_settings_test/inc/ |
D | chre_settings_test_util.h | 28 void sendEmptyMessageToHost(uint16_t hostEndpointId, uint32_t messageType);
|
/system/chre/chpp/ |
D | app.c | 275 enum ChppMessageType messageType = in chppDatagramLenIsOk() local 278 switch (messageType) { in chppDatagramLenIsOk() 302 CHPP_LOGE("Invalid type=%d or H#%" PRIu8, messageType, handle); in chppDatagramLenIsOk() 565 enum ChppMessageType messageType = CHPP_APP_GET_MESSAGE_TYPE(rxHeader->type); in chppProcessNegotiatedHandleDatagram() local 568 chppClientServiceContextOfHandle(context, rxHeader->handle, messageType); in chppProcessNegotiatedHandleDatagram() 579 chppGetDispatchFunction(context, rxHeader->handle, messageType); in chppProcessNegotiatedHandleDatagram() 599 if (messageType == CHPP_MESSAGE_TYPE_CLIENT_REQUEST) { in chppProcessNegotiatedHandleDatagram() 610 } else if (messageType == CHPP_MESSAGE_TYPE_SERVICE_RESPONSE) { in chppProcessNegotiatedHandleDatagram()
|
/system/chre/apps/test/pts/audio_enable_disable_test/src/ |
D | audio_enable_disable_test.cc | 97 if (message->messageType != pts_chre_MessageType_PTS_TEST_START) { in handleMessageFromHost() 98 LOGE("Unexpected message from host: type %" PRIu32, message->messageType); in handleMessageFromHost()
|
/system/chre/apps/test/chqts/src/who_am_i/ |
D | who_am_i.cc | 53 sizeof(messageBuffer), msg->messageType, in nanoappHandleEvent()
|