Home
last modified time | relevance | path

Searched refs:sections (Results 1 – 25 of 65) 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.cc119 std::vector<Section> sections; in TEST() local
142 sections.emplace_back(std::move(system_section)); in TEST()
150 sections.emplace_back(std::move(vendor_section)); in TEST()
152 Configuration conf(std::move(sections), dir_to_sections); in TEST()
/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()
229 ASSERT_TRUE(MapContainsKey(conf.sections, section_name)) << line; in ParseConfiguration()
230 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.h52 std::map<std::string, Section> sections; member
/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/unwinding/libunwindstack/tools/
Dstrip.py37 sections = {m["name"] : m for m in re.finditer(READELF_FORMAT, proc.stdout, re.VERBOSE)}
41 section = sections.get(name)
/system/chre/build/arch/
Dcortexm.mk38 TARGET_CFLAGS += -ffunction-sections
39 TARGET_CFLAGS += -fdata-sections
Driscv.mk26 TARGET_SO_LDFLAGS += --gc-sections
Darm64.mk33 TARGET_SO_LDFLAGS += -Wl,-gc-sections
Dx86.mk38 TARGET_SO_LDFLAGS += -Wl,-gc-sections
Dhexagon.mk68 TARGET_SO_LDFLAGS += --gc-sections
/system/core/fs_mgr/libdm/
Ddm_target.cpp205 auto sections = android::base::Split(text, " "); in ParseStatusText() local
206 if (sections.size() == 0) { in ParseStatusText()
211 if (sections.size() == 1) { in ParseStatusText()
216 } else if (sections.size() == 2 && text == "Merge failed") { in ParseStatusText()
/system/teeui/libteeui/example/
DAndroid.bp22 "-ffunction-sections",
/system/teeui/libteeui/prebuilt/localization/
DAndroid.bp27 "-ffunction-sections",
/system/teeui/libteeui/
DAndroid.bp21 "-ffunction-sections",
/system/media/camera/docs/
DHidlMetadata.mako57 * Top level hierarchy definitions for camera metadata. *_INFO sections are for
79 * Hierarchy positions in enum space. All vendor extension sections must be
96 // No new metadata sections added in this revision
Dcamera_metadata_tags.mako45 * Top level hierarchy definitions for camera metadata. *_INFO sections are for
47 * New sections must be added right before ANDROID_SECTION_COUNT to maintain
/system/extras/simpleperf/scripts/
Dapp_profiler.py101 sections = self.readelf.get_sections(path)
103 if '.debug_info' in sections:
105 elif '.gnu_debugdata' in sections:
107 elif '.symtab' in sections:

123