Home
last modified time | relevance | path

Searched refs:fb_builder (Results 1 – 19 of 19) sorted by relevance

/system/bt/gd/dumpsys/test_data/
Dbaz.h10 TableAddFunction GetTable(flatbuffers::FlatBufferBuilder& fb_builder) override { in GetTable() argument
11 auto sub_name_private = fb_builder.CreateString("Baz Subtable Private"); in GetTable()
12 auto sub_name_opaque = fb_builder.CreateString("Baz Subtable Opaque"); in GetTable()
13 auto sub_name_anonymized = fb_builder.CreateString("Baz Subtable Anonymized"); in GetTable()
14 auto sub_name_any = fb_builder.CreateString("Baz Subtable Any"); in GetTable()
16 auto private_subtable = CreateBazSubTablePrivate(fb_builder, 1, sub_name_private); in GetTable()
17 auto opaque_subtable = CreateBazSubTableOpaque(fb_builder, 1, sub_name_opaque); in GetTable()
18 auto anonymized_subtable = CreateBazSubTableAnonymized(fb_builder, 1, sub_name_anonymized); in GetTable()
19 auto any_subtable = CreateBazSubTableAny(fb_builder, 1, 2, 3, 4, sub_name_any); in GetTable()
21 BazTestSchemaBuilder builder(fb_builder); in GetTable()
Dfoo.h10 TableAddFunction GetTable(flatbuffers::FlatBufferBuilder& fb_builder) override { in GetTable() argument
11 auto int_string = fb_builder.CreateString("123"); in GetTable()
12 auto float_string = fb_builder.CreateString("123.456"); in GetTable()
13 auto bool_string = fb_builder.CreateString("true"); in GetTable()
15 FooTestSchemaBuilder builder(fb_builder); in GetTable()
Dqux.h10 TableAddFunction GetTable(flatbuffers::FlatBufferBuilder& fb_builder) override { in GetTable() argument
11 auto name = fb_builder.CreateString("Qux Module String"); in GetTable()
13 QuxTestSchemaBuilder builder(fb_builder); in GetTable()
Dbar.h12 TableAddFunction GetTable(flatbuffers::FlatBufferBuilder& fb_builder) override { in GetTable() argument
Droot.h13 virtual TableAddFunction GetTable(flatbuffers::FlatBufferBuilder& fb_builder) = 0;
/system/bt/gd/l2cap/classic/internal/
Ddumpsys_helper.cc32 flatbuffers::FlatBufferBuilder* fb_builder, in DumpActiveDynamicChannels() argument
37 ChannelDataBuilder builder(*fb_builder); in DumpActiveDynamicChannels()
46 flatbuffers::FlatBufferBuilder* fb_builder, in DumpActiveFixedChannels() argument
53 ChannelDataBuilder builder(*fb_builder); in DumpActiveFixedChannels()
61 …assic::internal::DumpsysHelper::DumpActiveLinks(flatbuffers::FlatBufferBuilder* fb_builder) const { in DumpActiveLinks()
67 auto link_address = fb_builder->CreateString(it->second.ToString()); in DumpActiveLinks()
68 …auto dynamic_channel_offsets = DumpActiveDynamicChannels(fb_builder, it->second.dynamic_channel_al… in DumpActiveLinks()
69 auto dynamic_channels = fb_builder->CreateVector(dynamic_channel_offsets); in DumpActiveLinks()
71 …auto fixed_channel_offsets = DumpActiveFixedChannels(fb_builder, it->second.fixed_channel_allocato… in DumpActiveLinks()
72 auto fixed_channels = fb_builder->CreateVector(fixed_channel_offsets); in DumpActiveLinks()
[all …]
Ddumpsys_helper.h36 flatbuffers::FlatBufferBuilder* fb_builder,
39 flatbuffers::FlatBufferBuilder* fb_builder,
41 …r<flatbuffers::Offset<LinkData>> DumpActiveLinks(flatbuffers::FlatBufferBuilder* fb_builder) const;
/system/bt/gd/btaa/linux_generic/
Dattribution_processor.cc112 …latbuffers::Offset<ActivityAttributionData>> promise, flatbuffers::FlatBufferBuilder* fb_builder) { in Dump() argument
114 auto title_wakeup = fb_builder->CreateString("----- Wakeup Attribution Dumpsys -----"); in Dump()
118 WakeupEntryBuilder wakeup_entry_builder(*fb_builder); in Dump()
121 wakeup_entry_builder.add_wakeup_time(fb_builder->CreateString( in Dump()
123 …wakeup_entry_builder.add_activity(fb_builder->CreateString((ActivityToString(it.entry.activity_)))… in Dump()
124 wakeup_entry_builder.add_address(fb_builder->CreateString(it.entry.address_.ToString())); in Dump()
127 auto wakeup_entries = fb_builder->CreateVector(wakeup_entry_offsets); in Dump()
130 …auto title_device_activity = fb_builder->CreateString("----- Device-based Activity Attribution Dum… in Dump()
133 DeviceActivityAggregationEntryBuilder device_entry_builder(*fb_builder); in Dump()
134 device_entry_builder.add_address(fb_builder->CreateString(it.first.address.ToString())); in Dump()
[all …]
/system/bt/gd/dumpsys/
Dfilter_test.cc60 flatbuffers::FlatBufferBuilder fb_builder(1024); in PopulateTestSchema() local
62 auto string_private = fb_builder.CreateString("String private"); in PopulateTestSchema()
63 auto string_opaque = fb_builder.CreateString("String opaque"); in PopulateTestSchema()
64 auto string_anonymized = fb_builder.CreateString("String anonymized"); in PopulateTestSchema()
65 auto string_any = fb_builder.CreateString("String any"); in PopulateTestSchema()
69 queue.push(test_data_class->GetTable(fb_builder)); in PopulateTestSchema()
72 testing::DumpsysTestDataRootBuilder builder(fb_builder); in PopulateTestSchema()
88 fb_builder.Finish(builder.Finish()); in PopulateTestSchema()
90 …return std::string(fb_builder.GetBufferPointer(), fb_builder.GetBufferPointer() + fb_builder.GetSi… in PopulateTestSchema()
Dinit_flags.cc22 flatbuffers::FlatBufferBuilder* fb_builder) { in Dump() argument
23 auto title = fb_builder->CreateString("----- Init Flags -----"); in Dump()
24 common::InitFlagsDataBuilder builder(*fb_builder); in Dump()
Dinit_flags.h27 …static flatbuffers::Offset<common::InitFlagsData> Dump(flatbuffers::FlatBufferBuilder* fb_builder);
/system/bt/gd/l2cap/classic/
Dl2cap_classic_module.cc85 flatbuffers::FlatBufferBuilder* fb_builder) const;
139 flatbuffers::FlatBufferBuilder* fb_builder) const { in Dump()
140 auto title = fb_builder->CreateString("----- L2cap Classic Dumpsys -----"); in Dump()
143 dumpsys_helper_->DumpActiveLinks(fb_builder); in Dump()
145 auto active_links = fb_builder->CreateVector(link_offsets); in Dump()
147 L2capClassicModuleDataBuilder builder(*fb_builder); in Dump()
155 DumpsysDataFinisher L2capClassicModule::GetDumpsysData(flatbuffers::FlatBufferBuilder* fb_builder) … in GetDumpsysData()
156 ASSERT(fb_builder != nullptr); in GetDumpsysData()
160 pimpl_->Dump(std::move(promise), fb_builder); in GetDumpsysData()
/system/bt/gd/shim/
Ddumpsys.cc172 DumpsysDataFinisher Dumpsys::GetDumpsysData(flatbuffers::FlatBufferBuilder* fb_builder) const { in GetDumpsysData()
173 auto name = fb_builder->CreateString("----- Shim Dumpsys -----"); in GetDumpsysData()
174 auto example_piecemeal_string = fb_builder->CreateString("Example Piecemeal String"); in GetDumpsysData()
175 auto example_instant_string = fb_builder->CreateString("Example Instant String"); in GetDumpsysData()
177 ExamplePiecemealTableBuilder example_piecemeal_table_builder(*fb_builder); in GetDumpsysData()
183 …auto example_instant_table = CreateExampleInstantTable(*fb_builder, example_instant_string, 246, 2… in GetDumpsysData()
185 DumpsysModuleDataBuilder builder(*fb_builder); in GetDumpsysData()
/system/bt/gd/btaa/android/
Dactivity_attribution.cc132 …latbuffers::Offset<ActivityAttributionData>> promise, flatbuffers::FlatBufferBuilder* fb_builder) { in Dump()
133 attribution_processor_.Dump(std::move(promise), fb_builder); in Dump()
196 DumpsysDataFinisher ActivityAttribution::GetDumpsysData(flatbuffers::FlatBufferBuilder* fb_builder)… in GetDumpsysData()
197 ASSERT(fb_builder != nullptr); in GetDumpsysData()
201 pimpl_->Dump(std::move(promise), fb_builder); in GetDumpsysData()
/system/bt/gd/os/linux_generic/
Dwakelock_manager.cc134 flatbuffers::FlatBufferBuilder* fb_builder, bool is_native) const { in GetDumpsysData()
159 WakelockManagerDataBuilder builder(*fb_builder); in GetDumpsysData()
160 builder.add_title(fb_builder->CreateString("Bluetooth Wakelock Statistics")); in GetDumpsysData()
264 …<WakelockManagerData> WakelockManager::GetDumpsysData(flatbuffers::FlatBufferBuilder* fb_builder) { in GetDumpsysData() argument
266 return pstats_->GetDumpsysData(fb_builder, is_native_); in GetDumpsysData()
/system/bt/gd/hci/
Dacl_manager.cc111 …se<flatbuffers::Offset<AclManagerData>> promise, flatbuffers::FlatBufferBuilder* fb_builder) const;
305 …e<flatbuffers::Offset<AclManagerData>> promise, flatbuffers::FlatBufferBuilder* fb_builder) const { in Dump()
306 auto title = fb_builder->CreateString("----- Acl Manager Dumpsys -----"); in Dump()
307 AclManagerDataBuilder builder(*fb_builder); in Dump()
313 DumpsysDataFinisher AclManager::GetDumpsysData(flatbuffers::FlatBufferBuilder* fb_builder) const { in GetDumpsysData()
314 ASSERT(fb_builder != nullptr); in GetDumpsysData()
318 pimpl_->Dump(std::move(promise), fb_builder); in GetDumpsysData()
/system/bt/gd/os/
Dwakelock_manager.h76 …latbuffers::Offset<WakelockManagerData> GetDumpsysData(flatbuffers::FlatBufferBuilder* fb_builder);
/system/bt/gd/
Dmodule_unittest.cc209 DumpsysDataFinisher GetDumpsysData(flatbuffers::FlatBufferBuilder* fb_builder) const override { in GetDumpsysData()
210 auto string = fb_builder->CreateString(test_string_.c_str()); in GetDumpsysData()
212 auto builder = ModuleUnitTestDataBuilder(*fb_builder); in GetDumpsysData()
/system/bt/gd/btaa/
Dattribution_processor.h59 …flatbuffers::Offset<ActivityAttributionData>> promise, flatbuffers::FlatBufferBuilder* fb_builder);