Searched refs:section_name (Results 1 – 9 of 9) sorted by relevance
/system/bt/btif/src/ |
D | btif_config_cache.cc | 77 bool BtifConfigCache::HasPersistentSection(const std::string& section_name) { in HasPersistentSection() argument 78 return paired_devices_list_.Find(section_name) != in HasPersistentSection() 82 bool BtifConfigCache::HasUnpairedSection(const std::string& section_name) { in HasUnpairedSection() argument 83 return unpaired_devices_cache_.HasKey(section_name); in HasUnpairedSection() 86 bool BtifConfigCache::HasSection(const std::string& section_name) { in HasSection() argument 87 return HasUnpairedSection(section_name) || HasPersistentSection(section_name); in HasSection() 90 bool BtifConfigCache::HasKey(const std::string& section_name, in HasKey() argument 92 auto section_iter = paired_devices_list_.Find(section_name); in HasKey() 96 section_t* section = unpaired_devices_cache_.Find(section_name); in HasKey() 116 bool BtifConfigCache::RemoveKey(const std::string& section_name, in RemoveKey() argument [all …]
|
/system/bt/main/ |
D | bte_conf.cc | 43 char section_name[16] = {0}; in bte_load_did_conf() local 44 snprintf(section_name, sizeof(section_name), "DID%d", i); in bte_load_did_conf() 46 if (!config_has_section(*config, section_name)) { in bte_load_did_conf() 47 LOG_INFO("%s no section named %s.", __func__, section_name); in bte_load_did_conf() 53 config_get_int(*config, section_name, "vendorId", LMP_COMPID_GOOGLE); in bte_load_did_conf() 55 *config, section_name, "vendorIdSource", DI_VENDOR_ID_SOURCE_BTSIG); in bte_load_did_conf() 56 record.product = config_get_int(*config, section_name, "productId", 0); in bte_load_did_conf() 57 record.version = config_get_int(*config, section_name, "version", 0); in bte_load_did_conf() 59 config_get_bool(*config, section_name, "primaryRecord", false); in bte_load_did_conf() 63 config_get_string(*config, section_name, "clientExecutableURL", &empty) in bte_load_did_conf() [all …]
|
/system/bt/btif/include/ |
D | btif_config_cache.h | 36 bool HasSection(const std::string& section_name); 37 bool HasUnpairedSection(const std::string& section_name); 38 bool HasPersistentSection(const std::string& section_name); 39 bool HasKey(const std::string& section_name, const std::string& key); 40 bool RemoveKey(const std::string& section_name, const std::string& key); 44 void SetString(std::string section_name, std::string key, std::string value); 45 std::optional<std::string> GetString(const std::string& section_name, 47 void SetInt(std::string section_name, std::string key, int value); 48 std::optional<int> GetInt(const std::string& section_name, 50 void SetUint64(std::string section_name, std::string key, uint64_t value); [all …]
|
/system/linkerconfig/contents/tests/configuration/include/ |
D | linkerconfigparser.h | 40 std::string section_name = match[1]; in ParseDirPath() local 43 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() 220 std::string section_name = match[1]; in ParseConfiguration() local 221 ASSERT_TRUE(MapContainsKey(conf.sections, section_name)) << line; in ParseConfiguration() 222 current_section = &conf.sections[section_name]; in ParseConfiguration()
|
/system/extras/simpleperf/ |
D | read_elf.cpp | 216 llvm::StringRef section_name; in ReadSymbolTable() local 217 if (section_it_or_err.get()->getName(section_name) || section_name.empty()) { in ReadSymbolTable() 220 if (section_name == ".text") { in ReadSymbolTable() 270 llvm::StringRef section_name; in AddSymbolForPltSection() local 271 std::error_code err = section_ref.getName(section_name); in AddSymbolForPltSection() 272 if (err || section_name != ".plt") { in AddSymbolForPltSection() 298 llvm::StringRef section_name; in CheckSymbolSections() local 299 std::error_code err = section_ref.getName(section_name); in CheckSymbolSections() 303 if (section_name == ".dynsym") { in CheckSymbolSections() 305 } else if (section_name == ".symtab") { in CheckSymbolSections() [all …]
|
D | read_elf.h | 102 virtual ElfStatus ReadSection(const std::string& section_name, std::string* content) = 0;
|
/system/core/init/ |
D | parser.cpp | 78 for (const auto& [section_name, section_parser] : section_parsers_) { in ParseData()
|
/system/bt/gd/storage/ |
D | config_cache.cc | 364 …const std::string& section_name, common::ListMap<std::string, std::string>& device_section_entries… in FixDeviceTypeInconsistencyInSection() argument 365 if (!hci::Address::IsValidAddress(section_name)) { in FixDeviceTypeInconsistencyInSection()
|
/system/extras/simpleperf/scripts/ |
D | simpleperf_utils.py | 927 section_name = result.group(1).strip() 928 if section_name: 929 section_names.append(section_name)
|