Home
last modified time | relevance | path

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

123

/aosp12/system/chre/platform/shared/
H A Dhost_protocol_chre.cc52 const fbs::MessageContainer *container = fbs::GetMessageContainer(message); in decodeMessageFromHost()
56 case fbs::ChreMessage::NanoappMessage: { in decodeMessageFromHost()
68 case fbs::ChreMessage::HubInfoRequest: in decodeMessageFromHost()
107 case fbs::ChreMessage::DebugDumpRequest: in decodeMessageFromHost()
145 auto response = fbs::CreateHubInfoResponse( in encodeHubInfoResponse()
267 case fbs::Setting::LOCATION: in getSettingFromFbs()
270 case fbs::Setting::WIFI_AVAILABLE: in getSettingFromFbs()
273 case fbs::Setting::AIRPLANE_MODE: in getSettingFromFbs()
276 case fbs::Setting::MICROPHONE: in getSettingFromFbs()
291 case fbs::SettingState::DISABLED: in getSettingStateFromFbs()
[all …]
H A Dhost_protocol_common.cc36 auto nanoappMessage = fbs::CreateNanoappMessage( in encodeNanoappMessage()
39 finalize(builder, fbs::ChreMessage::NanoappMessage, nanoappMessage.Union()); in encodeNanoappMessage()
49 fbs::ChreMessage messageType, in finalize()
52 fbs::HostAddress hostAddr(hostClientId); in finalize()
54 fbs::CreateMessageContainer(builder, messageType, message, &hostAddr); in finalize()
65 valid = fbs::VerifyMessageContainerBuffer(verifier); in verifyMessage()
/aosp12/system/chre/host/common/
H A Dhost_protocol_host.cc29 namespace fbs = ::chre::fbs;
54 fbs::UnPackMessageContainer(message); in decodeMessageFromChre()
58 case fbs::ChreMessage::NanoappMessage: in decodeMessageFromChre()
62 case fbs::ChreMessage::HubInfoResponse: in decodeMessageFromChre()
78 case fbs::ChreMessage::DebugDumpData: in decodeMessageFromChre()
82 case fbs::ChreMessage::DebugDumpResponse: in decodeMessageFromChre()
86 case fbs::ChreMessage::SelfTestResponse: in decodeMessageFromChre()
140 ::chre::fbs::ChreMessage *messageType) { in extractHostClientIdAndType()
147 fbs::GetMessageContainer(message); in extractHostClientIdAndType()
165 fbs::MessageContainer *container = fbs::GetMutableMessageContainer(message); in mutateHostClientId()
[all …]
H A Ddaemon_base.cc28 namespace fbs = ::chre::fbs;
168 fbs::ChreMessage messageType; in onMessageReceived()
175 if (messageType == fbs::ChreMessage::LogMessage) { in onMessageReceived()
176 std::unique_ptr<fbs::MessageContainerT> container = in onMessageReceived()
177 fbs::UnPackMessageContainer(messageBuffer); in onMessageReceived()
183 } else if (messageType == fbs::ChreMessage::LogMessageV2) { in onMessageReceived()
184 std::unique_ptr<fbs::MessageContainerT> container = in onMessageReceived()
185 fbs::UnPackMessageContainer(messageBuffer); in onMessageReceived()
192 } else if (messageType == fbs::ChreMessage::TimeSyncRequest) { in onMessageReceived()
231 std::unique_ptr<fbs::MessageContainerT> container = in handleDaemonMessage()
[all …]
/aosp12/system/chre/host/common/include/chre_host/generated/
H A Dhost_messages_generated.h10 namespace fbs {
1897 return chre::fbs::CreateLogMessage(
2293 chre::fbs::Setting setting;
2294 chre::fbs::SettingState state;
2358 chre::fbs::Setting setting = chre::fbs::Setting::LOCATION,
2359 chre::fbs::SettingState state = chre::fbs::SettingState::DISABLED) {
2800 chre::fbs::ChreMessage message_type = chre::fbs::ChreMessage::NONE,
3794 … value = new chre::fbs::NanoappMessageT(*reinterpret_cast<chre::fbs::NanoappMessageT *>(u.value));
3830 value = new chre::fbs::LogMessageT(*reinterpret_cast<chre::fbs::LogMessageT *>(u.value));
3842 … value = new chre::fbs::DebugDumpDataT(*reinterpret_cast<chre::fbs::DebugDumpDataT *>(u.value));
[all …]
/aosp12/system/chre/platform/shared/include/chre/platform/shared/generated/
H A Dhost_messages_generated.h10 namespace fbs {
466 return chre::fbs::CreateNanoappMessage(
688 return chre::fbs::CreateHubInfoResponse(
1332 return chre::fbs::CreateLogMessage(
1463 return chre::fbs::CreateDebugDumpData(
1629 chre::fbs::Setting setting() const {
1668 chre::fbs::Setting setting = chre::fbs::Setting::LOCATION,
1669 chre::fbs::SettingState state = chre::fbs::SettingState::DISABLED) {
1750 return chre::fbs::CreateLogMessageV2(
1963 template<> inline const chre::fbs::LogMessage *MessageContainer::message_as<chre::fbs::LogMessage>(…
[all …]
/aosp12/system/chre/platform/android/
H A Dhost_link.cc52 fbs::ChreMessage::NONE, in sendFlatbufferToHost()
55 fbs::MessageContainerT container; in sendFlatbufferToHost()
88 fbs::HubInfoResponseT response; in handleHubInfoRequest()
122 std::unique_ptr<fbs::NanoappListEntryT>(new fbs::NanoappListEntryT()); in handleNanoappListRequest()
131 fbs::NanoappListResponseT response; in handleNanoappListRequest()
178 fbs::MessageContainerT container; in handleMessageFromHost()
182 case fbs::ChreMessage::NanoappMessage: in handleMessageFromHost()
186 case fbs::ChreMessage::HubInfoRequest: in handleMessageFromHost()
190 case fbs::ChreMessage::NanoappListRequest: in handleMessageFromHost()
194 case fbs::ChreMessage::LoadNanoappRequest: in handleMessageFromHost()
[all …]
/aosp12/system/chre/host/hal_generic/common/
H A Dcontext_hub_settings_util.cc33 namespace fbs = ::chre::fbs;
42 bool getFbsSetting(const Setting &setting, fbs::Setting *fbsSetting) { in getFbsSetting()
47 *fbsSetting = fbs::Setting::LOCATION; in getFbsSetting()
50 *fbsSetting = fbs::Setting::WIFI_AVAILABLE; in getFbsSetting()
53 *fbsSetting = fbs::Setting::AIRPLANE_MODE; in getFbsSetting()
56 *fbsSetting = fbs::Setting::MICROPHONE; in getFbsSetting()
68 fbs::SettingState *fbsState) { in getFbsSettingValue()
73 *fbsState = fbs::SettingState::ENABLED; in getFbsSettingValue()
76 *fbsState = fbs::SettingState::DISABLED; in getFbsSettingValue()
H A Dcontext_hub_settings_util.h42 ::chre::fbs::Setting *fbsSetting);
53 ::chre::fbs::SettingState *fbsState);
/aosp12/system/chre/host/common/include/chre_host/
H A 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()
76 const ::chre::fbs::SelfTestResponseT & /*response*/){}; in handleSelfTestResponse()
180 ::chre::fbs::ChreMessage *messageType);
229 flatbuffers::FlatBufferBuilder &builder, ::chre::fbs::Setting setting,
[all …]
/aosp12/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/generated/
H A Dflatbuffers_types_generated.h10 namespace fbs {
89 return wifi_offload::fbs::CreateSsid(
100 const wifi_offload::fbs::Ssid *ssid() const { in ssid()
139 flatbuffers::Offset<wifi_offload::fbs::Ssid> ssid = 0,
158 const wifi_offload::fbs::Ssid *ssid() const { in ssid()
233 flatbuffers::Offset<wifi_offload::fbs::Ssid> ssid = 0,
261 return wifi_offload::fbs::CreateScanResult(
320 return wifi_offload::fbs::CreateScanResultMessage(
397 return wifi_offload::fbs::CreateScanParams(
463 return wifi_offload::fbs::CreateScanFilter(
[all …]
/aosp12/system/bt/gd/
H A DBUILD.gn84 "btaa/activity_attribution.fbs",
85 "common/init_flags.fbs",
86 "dumpsys_data.fbs",
87 "hci/hci_acl_manager.fbs",
88 "l2cap/classic/l2cap_classic_module.fbs",
89 "shim/dumpsys.fbs",
95 "btaa/activity_attribution.fbs",
96 "common/init_flags.fbs",
97 "dumpsys_data.fbs",
98 "hci/hci_acl_manager.fbs",
[all …]
H A Ddumpsys_data.fbs2 include "btaa/activity_attribution.fbs";
3 include "common/init_flags.fbs";
4 include "l2cap/classic/l2cap_classic_module.fbs";
5 include "hci/hci_acl_manager.fbs";
6 include "module_unittest.fbs";
7 include "os/wakelock_manager.fbs";
8 include "shim/dumpsys.fbs";
H A DAndroid.bp662 "btaa/activity_attribution.fbs",
663 "common/init_flags.fbs",
664 "dumpsys_data.fbs",
665 "hci/hci_acl_manager.fbs",
667 "shim/dumpsys.fbs",
668 "os/wakelock_manager.fbs",
689 "common/init_flags.fbs",
690 "dumpsys_data.fbs",
691 "hci/hci_acl_manager.fbs",
693 "shim/dumpsys.fbs",
[all …]
/aosp12/system/bt/gd/dumpsys/
H A DAndroid.bp36 "test_data/root.fbs",
37 "test_data/bar.fbs",
38 "test_data/baz.fbs",
39 "test_data/foo.fbs",
40 "test_data/qux.fbs",
58 "test_data/root.fbs",
59 "test_data/bar.fbs",
60 "test_data/baz.fbs",
61 "test_data/foo.fbs",
62 "test_data/qux.fbs",
[all …]
/aosp12/system/chre/host/hal_generic/V1_1/
H A Dgeneric_context_hub_v1_1.cc46 namespace fbs = ::chre::fbs;
50 fbs::Setting fbsSetting; in onSettingChanged()
51 fbs::SettingState fbsState; in onSettingChanged()
/aosp12/system/bt/gd/dumpsys/test_data/
H A Droot.fbs1 include "foo.fbs";
2 include "bar.fbs";
3 include "baz.fbs";
4 include "qux.fbs";
/aosp12/system/bt/gd/dumpsys/internal/test_data/
H A Dmkfiles1 ../../../../../out/host/linux-x86/bin/flatc -b --schema --cpp string.fbs
3 ../../../../../out/host/linux-x86/bin/flatc -b --schema --cpp integer.fbs
5 ../../../../../out/host/linux-x86/bin/flatc -b --schema --cpp float.fbs
7 ../../../../../out/host/linux-x86/bin/flatc -b --schema --cpp struct.fbs
/aosp12/system/chre/platform/shared/include/chre/platform/shared/
H A Dhost_protocol_chre.h31 typedef flatbuffers::Offset<fbs::NanoappListEntry> NanoappListEntryOffset;
75 static void handleSettingChangeMessage(fbs::Setting setting,
76 fbs::SettingState state);
222 static bool getSettingFromFbs(fbs::Setting setting, Setting *chreSetting);
231 static bool getSettingStateFromFbs(fbs::SettingState state,
/aosp12/system/chre/host/hal_generic/V1_2/
H A Dgeneric_context_hub_v1_2.cc57 namespace fbs = ::chre::fbs;
85 fbs::Setting fbsSetting; in onSettingChanged_1_2()
86 fbs::SettingState fbsState; in onSettingChanged_1_2()
/aosp12/system/chre/host/common/test/
H A Dchre_test_client.cc59 namespace fbs = ::chre::fbs;
93 void handleNanoappMessage(const fbs::NanoappMessageT &message) override { in handleNanoappMessage()
100 void handleHubInfoResponse(const fbs::HubInfoResponseT &rsp) override { in handleHubInfoResponse()
115 const fbs::NanoappListResponseT &response) override { in handleNanoappListResponse()
117 for (const std::unique_ptr<fbs::NanoappListEntryT> &nanoapp : in handleNanoappListResponse()
127 const fbs::LoadNanoappResponseT &response) override { in handleLoadNanoappResponse()
133 const fbs::UnloadNanoappResponseT &response) override { in handleUnloadNanoappResponse()
138 void handleSelfTestResponse(const ::chre::fbs::SelfTestResponseT &response) { in handleSelfTestResponse()
/aosp12/hardware/google/pixel/pixelstats/
H A DDropDetect.cpp41 namespace fbs = ::chre::fbs;
118 void DropDetect::handleNanoappListResponse(const fbs::NanoappListResponseT &response) { in handleNanoappListResponse()
119 for (const std::unique_ptr<fbs::NanoappListEntryT> &nanoapp : response.nanoapps) { in handleNanoappListResponse()
191 void DropDetect::handleNanoappMessage(const fbs::NanoappMessageT &message) { in handleNanoappMessage()
/aosp12/system/chre/host/common/audio_stress_test/
H A Daudio_stress_test.cc48 namespace fbs = ::chre::fbs;
74 const fbs::LoadNanoappResponseT &response) override { in handleLoadNanoappResponse()
/aosp12/system/chre/apps/power_test/common/idl/
H A Dupdate.sh7 --cpp-ptr-type chre::UniquePtr chre_power_test.fbs
11 --gen-object-api chre_power_test.fbs
/aosp12/system/chre/platform/shared/idl/
H A Dupdate.sh5 --cpp-ptr-type chre::UniquePtr host_messages.fbs
9 --gen-mutable --gen-object-api host_messages.fbs

123