Home
last modified time | relevance | path

Searched refs:section_t (Results 1 – 5 of 5) sorted by relevance

/system/bt/osi/include/
Dconfig.h33 struct section_t { struct
42 std::list<section_t> sections; argument
43 std::list<section_t>::iterator Find(const std::string& section);
/system/bt/osi/src/
Dconfig.cc37 void section_t::Set(std::string key, std::string value) { in Set()
49 std::list<entry_t>::iterator section_t::Find(const std::string& key) { in Find()
55 bool section_t::Has(const std::string& key) { in Has()
59 std::list<section_t>::iterator config_t::Find(const std::string& section) { in Find()
62 [&section](const section_t& sec) { return sec.name == section; }); in Find()
77 [&section](const section_t& sec) { return sec.name == section; }); in section_find()
133 for (const section_t& sec : src.sections) { in config_new_clone()
213 config->sections.emplace_back(section_t{.name = section}); in config_set_string()
304 for (const section_t& section : config.sections) { in config_save()
/system/bt/btif/src/
Dbtif_config_cache.cc34 bool has_link_key_in_section(const section_t& section) { in has_link_key_in_section()
96 section_t* section = unpaired_devices_cache_.Find(section_name); in HasKey()
118 section_t* section = unpaired_devices_cache_.Find(section_name); in RemoveKey()
182 section_t section = {}; in SetString()
228 section_t section = {}; in GetString()
/system/bt/btif/include/
Dbtif_config_cache.h58 bluetooth::common::LruCache<std::string, section_t> unpaired_devices_cache_;
/system/bt/btif/test/
Dbtif_config_cache_test.cc496 for (const section_t& sec : config_paired.sections) { in TEST()
507 for (const section_t& sec : config_paired.sections) { in TEST()
519 for (const section_t& sec : config_paired.sections) { in TEST()