Home
last modified time | relevance | path

Searched refs:section_name (Results 1 – 4 of 4) sorted by relevance

/system/bt/main/
Dbte_conf.c42 char section_name[16] = { 0 }; in bte_load_did_conf() local
43 snprintf(section_name, sizeof(section_name), "DID%d", i); in bte_load_did_conf()
45 if (!config_has_section(config, section_name)) { in bte_load_did_conf()
46 LOG_DEBUG(LOG_TAG, "%s no section named %s.", __func__, section_name); in bte_load_did_conf()
51 record.vendor = config_get_int(config, section_name, "vendorId", LMP_COMPID_BROADCOM); in bte_load_did_conf()
52 …record.vendor_id_source = config_get_int(config, section_name, "vendorIdSource", DI_VENDOR_ID_SOUR… in bte_load_did_conf()
53 record.product = config_get_int(config, section_name, "productId", 0); in bte_load_did_conf()
54 record.version = config_get_int(config, section_name, "version", 0); in bte_load_did_conf()
55 record.primary_record = config_get_bool(config, section_name, "primaryRecord", false); in bte_load_did_conf()
56 …strlcpy(record.client_executable_url, config_get_string(config, section_name, "clientExecutableURL… in bte_load_did_conf()
[all …]
/system/extras/simpleperf/
Dread_elf.cpp227 llvm::StringRef section_name; in ParseSymbolsFromELFFile() local
228 if (section_it.get()->getName(section_name) || section_name.empty()) { in ParseSymbolsFromELFFile()
231 if (section_name.str() == ".text") { in ParseSymbolsFromELFFile()
358 bool ReadSectionFromELFFile(const llvm::object::ELFFile<ELFT>* elf, const std::string& section_name, in ReadSectionFromELFFile() argument
362 if (name_or_err && *name_or_err == section_name) { in ReadSectionFromELFFile()
365 LOG(ERROR) << "failed to read section " << section_name; in ReadSectionFromELFFile()
372 LOG(ERROR) << "can't find section " << section_name; in ReadSectionFromELFFile()
376 bool ReadSectionFromElfFile(const std::string& filename, const std::string& section_name, in ReadSectionFromElfFile() argument
387 result = ReadSectionFromELFFile(elf->getELFFile(), section_name, content); in ReadSectionFromElfFile()
389 result = ReadSectionFromELFFile(elf->getELFFile(), section_name, content); in ReadSectionFromElfFile()
Dread_elf.h54 bool ReadSectionFromElfFile(const std::string& filename, const std::string& section_name,
/system/bt/osi/test/
Dconfig_test.cpp172 const char *section_name = config_section_name(section); in TEST_F() local
174 EXPECT_TRUE(!strcmp(section_name, CONFIG_DEFAULT_SECTION)); in TEST_F()
184 const char *section_name = config_section_name(section); in TEST_F() local
186 EXPECT_TRUE(!strcmp(section_name, "DID")); in TEST_F()