Home
last modified time | relevance | path

Searched refs:sections (Results 1 – 25 of 56) sorted by relevance

123

/system/linkerconfig/contents/configuration/
Dbaseconfig.cc48 std::vector<Section> sections; in CreateBaseConfiguration() local
103 sections.emplace_back(BuildSystemSection(ctx)); in CreateBaseConfiguration()
105 sections.emplace_back(BuildVendorSection(ctx)); in CreateBaseConfiguration()
107 sections.emplace_back(BuildProductSection(ctx)); in CreateBaseConfiguration()
116 sections.emplace_back(BuildUnrestrictedSection(ctx)); in CreateBaseConfiguration()
117 sections.emplace_back(BuildPostInstallSection(ctx)); in CreateBaseConfiguration()
119 sections.emplace_back(BuildIsolatedSection(ctx)); in CreateBaseConfiguration()
121 return android::linkerconfig::modules::Configuration(std::move(sections), in CreateBaseConfiguration()
Dlegacy.cc29 std::vector<Section> sections; in CreateLegacyConfiguration() local
32 sections.emplace_back(BuildLegacySection(ctx)); in CreateLegacyConfiguration()
33 sections.emplace_back(BuildPostInstallSection(ctx)); in CreateLegacyConfiguration()
49 return android::linkerconfig::modules::Configuration(std::move(sections), in CreateLegacyConfiguration()
Drecovery.cc35 std::vector<Section> sections; in CreateRecoveryConfiguration() local
38 sections.emplace_back(BuildRecoverySection(ctx)); in CreateRecoveryConfiguration()
40 return android::linkerconfig::modules::Configuration(std::move(sections), in CreateRecoveryConfiguration()
Dapexconfig.cc30 std::vector<Section> sections; in CreateApexConfiguration() local
39 sections.push_back(BuildApexDefaultSection(ctx, apex_info)); in CreateApexConfiguration()
40 return android::linkerconfig::modules::Configuration(std::move(sections), in CreateApexConfiguration()
/system/linkerconfig/modules/tests/
Dconfiguration_test.cc89 std::vector<Section> sections; in TEST() local
112 sections.emplace_back(std::move(system_section)); in TEST()
120 sections.emplace_back(std::move(vendor_section)); in TEST()
122 Configuration conf(std::move(sections), dir_to_sections); in TEST()
/system/bt/btif/src/
Dbtif_config_cache.cc68 paired_devices_list_.sections.clear(); in Clear()
79 paired_devices_list_.sections.end(); in HasPersistentSection()
93 if (section_iter != paired_devices_list_.sections.end()) { in HasKey()
105 for (auto it = paired_devices_list_.sections.begin(); in RemovePersistentSectionsWithKey()
106 it != paired_devices_list_.sections.end();) { in RemovePersistentSectionsWithKey()
108 it = paired_devices_list_.sections.erase(it); in RemovePersistentSectionsWithKey()
131 if (section_iter == paired_devices_list_.sections.end()) { in RemoveKey()
140 paired_devices_list_.sections.erase(section_iter); in RemoveKey()
144 paired_devices_list_.sections.erase(section_iter); in RemoveKey()
153 result.reserve(paired_devices_list_.sections.size()); in GetPersistentSectionNames()
[all …]
/system/bt/osi/src/
Dconfig.cc61 sections.begin(), sections.end(), in Find()
66 return Find(key) != sections.end(); in Has()
76 config.sections.begin(), config.sections.end(), in section_find()
84 if (sec == config.sections.end()) return nullptr; in entry_find()
133 for (const section_t& sec : src.sections) { in config_new_clone()
143 return (section_find(config, section) != config.sections.end()); in config_has_section()
212 if (sec == config->sections.end()) { in config_set_string()
213 config->sections.emplace_back(section_t{.name = section}); in config_set_string()
214 sec = std::prev(config->sections.end()); in config_set_string()
240 if (sec == config->sections.end()) return false; in config_remove_section()
[all …]
/system/chre/build/
Dtools_config.mk29 COMMON_CFLAGS += -fdata-sections
30 COMMON_CFLAGS += -ffunction-sections
/system/linkerconfig/modules/include/linkerconfig/
Dconfiguration.h32 explicit Configuration(std::vector<Section> sections, in Configuration() argument
34 : sections_(std::move(sections)), in Configuration()
/system/linkerconfig/contents/tests/configuration/include/
Dlinkerconfigparser.h43 if (!MapContainsKey(conf.sections, section_name)) { in ParseDirPath()
44 conf.sections[section_name].name = section_name; in ParseDirPath()
45 conf.sections[section_name].namespaces["default"].name = "default"; in ParseDirPath()
48 conf.sections[section_name].dirs.push_back(dir_path); in ParseDirPath()
221 ASSERT_TRUE(MapContainsKey(conf.sections, section_name)) << line; in ParseConfiguration()
222 current_section = &conf.sections[section_name]; in ParseConfiguration()
Dconfigurationtest.h76 EXPECT_NE(0u, conf.sections.size()); in ValidateConfiguration()
77 for (auto& [_, section] : conf.sections) { in ValidateConfiguration()
Dmodules.h50 std::map<std::string, Section> sections; member
/system/bt/build/
DBUILD.gn35 "-fdata-sections",
36 "-ffunction-sections",
72 ldflags = [ "-Wl,--gc-sections" ]
/system/extras/simpleperf/
Dread_elf_test.cpp253 std::vector<ElfSection> sections = elf->GetSectionHeader(); in TEST() local
254 ASSERT_EQ(sections.size(), 30); in TEST()
255 ASSERT_EQ(sections[13].name, ".text"); in TEST()
256 ASSERT_EQ(sections[13].vaddr, 0x400400); in TEST()
257 ASSERT_EQ(sections[13].file_offset, 0x400); in TEST()
258 ASSERT_EQ(sections[13].size, 0x1b2); in TEST()
Dread_elf.cpp340 auto section_headers_or_err = elf_->sections(); in GetSectionHeader()
345 std::vector<ElfSection> sections(section_headers.size()); in GetSectionHeader() local
349 sections[i].name = name.get(); in GetSectionHeader()
351 sections[i].vaddr = shdr.sh_addr; in GetSectionHeader()
352 sections[i].file_offset = shdr.sh_offset; in GetSectionHeader()
353 sections[i].size = shdr.sh_size; in GetSectionHeader()
355 return sections; in GetSectionHeader()
/system/teeui/libteeui/example/
DAndroid.bp22 "-ffunction-sections",
/system/chre/build/arch/
Darm64.mk33 TARGET_SO_LDFLAGS += -Wl,-gc-sections
Dx86.mk37 TARGET_SO_LDFLAGS += -Wl,-gc-sections
Dhexagon.mk59 TARGET_SO_LDFLAGS += --gc-sections
/system/teeui/libteeui/prebuilt/localization/
DAndroid.bp27 "-ffunction-sections",
/system/core/fs_mgr/libdm/
Ddm_target.cpp201 auto sections = android::base::Split(text, " "); in ParseStatusText() local
202 if (sections.size() == 0) { in ParseStatusText()
207 if (sections.size() == 1) { in ParseStatusText()
212 } else if (sections.size() == 2 && text == "Merge failed") { in ParseStatusText()
/system/bt/osi/test/
Dconfig_test.cc95 ASSERT_NE(section_iter, config->sections.end()); in TEST_F()
97 EXPECT_EQ(config->Find("random"), config->sections.end()); in TEST_F()
105 ASSERT_NE(section_iter, config->sections.end()); in TEST_F()
121 ASSERT_NE(section_iter, config->sections.end()); in TEST_F()
/system/teeui/libteeui/
DAndroid.bp21 "-ffunction-sections",
/system/extras/simpleperf/scripts/
Dbinary_cache_builder.py146 sections = self.readelf.get_sections(file_path)
147 if '.debug_line' in sections:
149 if '.symtab' in sections:
/system/media/camera/docs/
DHidlMetadata.mako49 * Top level hierarchy definitions for camera metadata. *_INFO sections are for
71 * Hierarchy positions in enum space. All vendor extension sections must be
88 // No new metadata sections added in this revision

123