Home
last modified time | relevance | path

Searched refs:fbs (Results 1 – 25 of 41) sorted by relevance

12

/system/chre/host/common/
Dhost_protocol_host.cc29 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/
Dhost_protocol_chre.cc52 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 …]
Dhost_protocol_common.cc35 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/
Dhost_link.cc56 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/
Dhost_protocol_host.h55 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/
Dgeneric_context_hub.h83 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);
Dgeneric_context_hub.cc45 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/
Dupdate.sh5 --cpp-ptr-type chre::UniquePtr host_messages.fbs
9 --gen-mutable --gen-object-api host_messages.fbs
/system/chre/host/common/test/
Dchre_test_client.cc54 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/
Dhost_protocol_common.h26 namespace fbs {
86 flatbuffers::FlatBufferBuilder& builder, fbs::ChreMessage messageType,
/system/chre/host/common/audio_stress_test/
Daudio_stress_test.cc47 namespace fbs = ::chre::fbs;
72 void handleLoadNanoappResponse(const fbs::LoadNanoappResponseT& response) in handleLoadNanoappResponse()
/system/chre/host/msm/daemon/
Dchre_daemon.cc96 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/
Dflatbuffersserialization_test.cc24 using wifi_offload::fbs::Serialize;
25 using wifi_offload::fbs::Deserialize;
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dscan_config.h32 using FbsType = fbs::ScanConfig;
Dscan_record.h30 using FbsType = fbs::ScanRecord;
Dscan_filter.h35 using FbsType = fbs::ScanFilter;
Dscan_params.h34 using FbsType = fbs::ScanParams;
Dscan_result_message.h33 using FbsType = fbs::ScanResultMessage;
Dpreferred_network.h40 using FbsType = fbs::PreferredNetwork;
Dscan_stats.h36 using FbsType = fbs::ScanStats;
Dssid.h31 using FbsType = fbs::Ssid;
Drpc_log_record.h59 using FbsType = fbs::RpcLogRecord;
/system/chre/apps/wifi_offload/
Dscan_record.cc37 return fbs::CreateScanRecord(*builder, time_spent_scanning_ms_, in Serialize()
Dscan_config.cc33 return fbs::CreateScanConfig(*builder, params_offset, filter_offset); in Serialize()
Dpreferred_network.cc32 return fbs::CreatePreferredNetwork(*builder, ssid_.Serialize(builder), in Serialize()

12