/system/chre/host/common/ |
D | host_protocol_host.cc | 29 namespace fbs = ::chre::fbs; 52 std::unique_ptr<fbs::MessageContainerT> container = in decodeMessageFromChre() 53 fbs::UnPackMessageContainer(message); in decodeMessageFromChre() 54 fbs::ChreMessageUnion& msg = container->message; in decodeMessageFromChre() 57 case fbs::ChreMessage::NanoappMessage: in decodeMessageFromChre() 61 case fbs::ChreMessage::HubInfoResponse: in decodeMessageFromChre() 65 case fbs::ChreMessage::NanoappListResponse: in decodeMessageFromChre() 69 case fbs::ChreMessage::LoadNanoappResponse: in decodeMessageFromChre() 73 case fbs::ChreMessage::UnloadNanoappResponse: in decodeMessageFromChre() 77 case fbs::ChreMessage::DebugDumpData: in decodeMessageFromChre() [all …]
|
/system/chre/platform/shared/ |
D | host_protocol_chre.cc | 52 const fbs::MessageContainer *container = fbs::GetMessageContainer(message); in decodeMessageFromHost() 56 case fbs::ChreMessage::NanoappMessage: { in decodeMessageFromHost() 57 const auto *nanoappMsg = static_cast<const fbs::NanoappMessage *>( in decodeMessageFromHost() 68 case fbs::ChreMessage::HubInfoRequest: in decodeMessageFromHost() 72 case fbs::ChreMessage::NanoappListRequest: in decodeMessageFromHost() 76 case fbs::ChreMessage::LoadNanoappRequest: { in decodeMessageFromHost() 77 const auto *request = static_cast<const fbs::LoadNanoappRequest *>( in decodeMessageFromHost() 90 case fbs::ChreMessage::UnloadNanoappRequest: { in decodeMessageFromHost() 91 const auto *request = static_cast<const fbs::UnloadNanoappRequest *>( in decodeMessageFromHost() 99 case fbs::ChreMessage::TimeSyncMessage: { in decodeMessageFromHost() [all …]
|
D | host_protocol_common.cc | 35 auto nanoappMessage = fbs::CreateNanoappMessage( in encodeNanoappMessage() 37 finalize(builder, fbs::ChreMessage::NanoappMessage, nanoappMessage.Union()); in encodeNanoappMessage() 47 FlatBufferBuilder& builder, fbs::ChreMessage messageType, in finalize() 49 fbs::HostAddress hostAddr(hostClientId); in finalize() 50 auto container = fbs::CreateMessageContainer( in finalize() 62 valid = fbs::VerifyMessageContainerBuffer(verifier); in verifyMessage()
|
/system/chre/platform/android/ |
D | host_link.cc | 56 fbs::ChreMessageTraits<typename T::TableType>::enum_value in sendFlatbufferToHost() 57 != fbs::ChreMessage::NONE, in sendFlatbufferToHost() 60 fbs::MessageContainerT container; in sendFlatbufferToHost() 62 container.host_addr.reset(new fbs::HostAddress(hostClientId)); in sendFlatbufferToHost() 77 void handleNanoappMessage(const fbs::NanoappMessageT& message) { in handleNanoappMessage() 93 fbs::HubInfoResponseT response; in handleHubInfoRequest() 120 auto response = static_cast<fbs::NanoappListResponseT *>(data); in constructNanoappListCallback() 122 std::unique_ptr<fbs::NanoappListEntryT>(new fbs::NanoappListEntryT()); in constructNanoappListCallback() 130 fbs::NanoappListResponseT response; in constructNanoappListCallback() 158 uint16_t hostClientId, const fbs::LoadNanoappRequestT& loadRequest) { in handleLoadNanoappRequest() [all …]
|
/system/chre/host/common/include/chre_host/ |
D | host_protocol_host.h | 55 const ::chre::fbs::NanoappMessageT& /*message*/) {}; in handleNanoappMessage() 58 const ::chre::fbs::HubInfoResponseT& /*response*/) {}; in handleHubInfoResponse() 61 const ::chre::fbs::NanoappListResponseT& /*response*/) {}; in handleNanoappListResponse() 64 const ::chre::fbs::LoadNanoappResponseT& /*response*/) {}; in handleLoadNanoappResponse() 67 const ::chre::fbs::UnloadNanoappResponseT& /*response*/) {}; in handleUnloadNanoappResponse() 70 const ::chre::fbs::DebugDumpDataT& /*data*/) {}; in handleDebugDumpData() 73 const ::chre::fbs::DebugDumpResponseT& /*response*/) {}; in handleDebugDumpResponse() 175 ::chre::fbs::ChreMessage *messageType);
|
/system/chre/host/hal_generic/ |
D | generic_context_hub.h | 83 const ::chre::fbs::NanoappMessageT& message) override; 86 const ::chre::fbs::HubInfoResponseT& response) override; 89 const ::chre::fbs::NanoappListResponseT& response) override; 92 const ::chre::fbs::LoadNanoappResponseT& response) override; 95 const ::chre::fbs::UnloadNanoappResponseT& response) override; 98 const ::chre::fbs::DebugDumpDataT& data) override; 101 const ::chre::fbs::DebugDumpResponseT& response) override; 167 const ::chre::fbs::LoadNanoappResponseT& response);
|
D | generic_context_hub.cc | 45 namespace fbs = ::chre::fbs; 360 const fbs::NanoappMessageT& message) { in handleNanoappMessage() 373 const fbs::HubInfoResponseT& response) { in handleHubInfoResponse() 406 const fbs::NanoappListResponseT& response) { in handleNanoappListResponse() 410 for (const std::unique_ptr<fbs::NanoappListEntryT>& nanoapp in handleNanoappListResponse() 438 const ::chre::fbs::LoadNanoappResponseT& response) { in handleLoadNanoappResponse() 486 const ::chre::fbs::LoadNanoappResponseT& response) { in isExpectedLoadResponseLocked() 495 const ::chre::fbs::UnloadNanoappResponseT& response) { in handleUnloadNanoappResponse() 507 const ::chre::fbs::DebugDumpDataT& data) { in handleDebugDumpData() 519 const ::chre::fbs::DebugDumpResponseT& response) { in handleDebugDumpResponse()
|
/system/chre/platform/shared/idl/ |
D | update.sh | 5 --cpp-ptr-type chre::UniquePtr host_messages.fbs 9 --gen-mutable --gen-object-api host_messages.fbs
|
/system/chre/host/common/test/ |
D | chre_test_client.cc | 54 namespace fbs = ::chre::fbs; 88 void handleNanoappMessage(const fbs::NanoappMessageT& message) in handleNanoappMessage() 95 void handleHubInfoResponse(const fbs::HubInfoResponseT& rsp) in handleHubInfoResponse() 110 void handleNanoappListResponse(const fbs::NanoappListResponseT& response) in handleNanoappListResponse() 113 for (const std::unique_ptr<fbs::NanoappListEntryT>& nanoapp in handleNanoappListResponse() 121 void handleLoadNanoappResponse(const fbs::LoadNanoappResponseT& response) in handleLoadNanoappResponse() 127 void handleUnloadNanoappResponse(const fbs::UnloadNanoappResponseT& response) in handleUnloadNanoappResponse()
|
/system/chre/platform/shared/include/chre/platform/shared/ |
D | host_protocol_common.h | 26 namespace fbs { 86 flatbuffers::FlatBufferBuilder& builder, fbs::ChreMessage messageType,
|
/system/chre/host/common/audio_stress_test/ |
D | audio_stress_test.cc | 47 namespace fbs = ::chre::fbs; 72 void handleLoadNanoappResponse(const fbs::LoadNanoappResponseT& response) in handleLoadNanoappResponse()
|
/system/chre/host/msm/daemon/ |
D | chre_daemon.cc | 96 namespace fbs = ::chre::fbs; 186 const fbs::MessageContainer *container = fbs::GetMessageContainer(message); in parseAndEmitLogMessages() 187 const auto *logMessage = static_cast<const fbs::LogMessage *>( in parseAndEmitLogMessages() 706 std::unique_ptr<fbs::MessageContainerT> container = in handleDaemonMessage() 707 fbs::UnPackMessageContainer(message); in handleDaemonMessage() 709 != fbs::ChreMessage::LoadNanoappResponse) { in handleDaemonMessage() 754 fbs::ChreMessage messageType; in chre_message_to_host_thread() 762 if (messageType == fbs::ChreMessage::LogMessage) { in chre_message_to_host_thread() 764 } else if (messageType == fbs::ChreMessage::TimeSyncRequest) { in chre_message_to_host_thread() 767 } else if (messageType == fbs::ChreMessage::LowPowerMicAccessRequest) { in chre_message_to_host_thread() [all …]
|
/system/chre/apps/wifi_offload/test/ |
D | flatbuffersserialization_test.cc | 24 using wifi_offload::fbs::Serialize; 25 using wifi_offload::fbs::Deserialize;
|
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/ |
D | scan_config.h | 32 using FbsType = fbs::ScanConfig;
|
D | scan_record.h | 30 using FbsType = fbs::ScanRecord;
|
D | scan_filter.h | 35 using FbsType = fbs::ScanFilter;
|
D | scan_params.h | 34 using FbsType = fbs::ScanParams;
|
D | scan_result_message.h | 33 using FbsType = fbs::ScanResultMessage;
|
D | preferred_network.h | 40 using FbsType = fbs::PreferredNetwork;
|
D | scan_stats.h | 36 using FbsType = fbs::ScanStats;
|
D | ssid.h | 31 using FbsType = fbs::Ssid;
|
D | rpc_log_record.h | 59 using FbsType = fbs::RpcLogRecord;
|
/system/chre/apps/wifi_offload/ |
D | scan_record.cc | 37 return fbs::CreateScanRecord(*builder, time_spent_scanning_ms_, in Serialize()
|
D | scan_config.cc | 33 return fbs::CreateScanConfig(*builder, params_offset, filter_offset); in Serialize()
|
D | preferred_network.cc | 32 return fbs::CreatePreferredNetwork(*builder, ssid_.Serialize(builder), in Serialize()
|