Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/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()
132 for (const section_t& sec : src.sections) { in config_new_clone()
212 config->sections.emplace_back(section_t{.name = section}); in config_set_string()
301 for (const section_t& section : config.sections) { in config_save()
/packages/modules/Bluetooth/system/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);
/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_config.cc155 std::list<section_t>::iterator config_t::Find(const std::string& section) { in Find()
163 std::list<entry_t>::iterator section_t::Find(const std::string& key) { in Find()
167 bool section_t::Has(const std::string& key) { in Has()
171 void section_t::Set(std::string key, std::string value) { in Set()
Dmock_osi_config.h321 std::list<section_t> section_;
322 std::function<std::list<section_t>::iterator(const std::string& section)>
326 std::list<section_t>::iterator operator()(const std::string& section) { in operator()
/packages/modules/Bluetooth/system/test/stub/
Dosi.cc69 std::list<entry_t>::iterator section_t::Find(const std::string& key) { in Find()
75 std::list<section_t>::iterator config_t::Find(const std::string& section) { in Find()
79 [&section](const section_t& sec) { return sec.name == section; }); in Find()
117 bool section_t::Has(const std::string& key) { in Has()
170 void section_t::Set(std::string key, std::string value) { in Set()
/packages/modules/Bluetooth/system/device/src/
Ddevice_iot_config_int.cc267 std::list<section_t>::iterator i = config.sections.begin(); in device_iot_config_restrict_device_num()
Dinterop.cc1166 for (const section_t& sec : config_static.get()->sections) { in load_config()
1179 for (const section_t& sec : config_dynamic.get()->sections) { in load_config()
1596 for (const section_t& sec : config_dynamic.get()->sections) { in interop_database_remove_feature()
/packages/modules/Bluetooth/system/device/test/
Ddevice_iot_config_test.cc911 section_t{.entries = in TEST_F_WITH_FLAGS()
927 section_t{.entries = in TEST_F_WITH_FLAGS()
3133 section_t section1 = {.name = "00:01:02:03:04:05"}; in TEST_F_WITH_FLAGS()
3134 section_t section2 = {.name = "01:01:01:01:01:01"}; in TEST_F_WITH_FLAGS()
3135 section_t section3 = {.name = "00:00:00:00:00:00"}; in TEST_F_WITH_FLAGS()
3136 section_t section4 = {.name = ""}; in TEST_F_WITH_FLAGS()
3150 section_t section = {.name = "00:01:02:03:04:05"}; in TEST_F_WITH_FLAGS()