Home
last modified time | relevance | path

Searched refs:config_t (Results 1 – 17 of 17) sorted by relevance

/system/bt/osi/include/
Dconfig.h41 struct config_t { struct
49 std::unique_ptr<config_t> config_new_empty(void); argument
55 std::unique_ptr<config_t> config_new(const char* filename);
65 std::unique_ptr<config_t> config_new_clone(const config_t& src);
69 bool config_has_section(const config_t& config, const std::string& section);
73 bool config_has_key(const config_t& config, const std::string& section,
79 int config_get_int(const config_t& config, const std::string& section,
85 uint64_t config_get_uint64(const config_t& config, const std::string& section,
91 bool config_get_bool(const config_t& config, const std::string& section,
98 const std::string* config_get_string(const config_t& config,
[all …]
/system/bt/osi/test/
Dconfig_test.cc91 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F()
101 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F()
117 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F()
138 std::unique_ptr<config_t> config = config_new_empty(); in TEST_F()
143 std::unique_ptr<config_t> config = config_new("/meow"); in TEST_F()
148 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F()
153 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F()
154 std::unique_ptr<config_t> clone = config_new_clone(*config); in TEST_F()
168 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F()
173 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F()
[all …]
/system/bt/osi/src/
Dconfig.cc59 std::list<section_t>::iterator config_t::Find(const std::string& section) { in Find()
65 bool config_t::Has(const std::string& key) { in Has()
69 static bool config_parse(FILE* fp, config_t* config);
73 config_t, typename std::remove_const<T>::type>::value>>
80 static const entry_t* entry_find(const config_t& config, in entry_find()
93 std::unique_ptr<config_t> config_new_empty(void) { in config_new_empty()
94 return std::make_unique<config_t>(); in config_new_empty()
97 std::unique_ptr<config_t> config_new(const char* filename) { in config_new()
100 std::unique_ptr<config_t> config = config_new_empty(); in config_new()
130 std::unique_ptr<config_t> config_new_clone(const config_t& src) { in config_new_clone()
[all …]
/system/bt/test/stub/
Dosi.cc58 std::list<section_t>::iterator config_t::Find(const std::string& section) { in Find()
69 bool config_get_bool(const config_t& config, const std::string& section, in config_get_bool()
74 bool config_has_key(const config_t& config, const std::string& section, in config_has_key()
79 bool config_has_section(const config_t& config, const std::string& section) { in config_has_section()
83 bool config_remove_key(config_t* config, const std::string& section, in config_remove_key()
88 bool config_remove_section(config_t* config, const std::string& section) { in config_remove_section()
92 bool config_save(const config_t& config, const std::string& filename) { in config_save()
96 bool config_t::Has(const std::string& key) { in Has()
104 const std::string* config_get_string(const config_t& config, in config_get_string()
111 int config_get_int(const config_t& config, const std::string& section, in config_get_int()
[all …]
/system/bt/btif/include/
Dbtif_config_cache.h33 void Init(std::unique_ptr<config_t> source);
35 config_t PersistentSectionCopy();
60 config_t paired_devices_list_;
Dbtif_config_transcode.h23 std::unique_ptr<config_t> btif_config_transcode(const char* xml_filename);
/system/bt/btif/src/
Dbtif_config_transcode.cc28 std::unique_ptr<config_t> btif_config_transcode(const char* xml_filename) { in btif_config_transcode()
44 std::unique_ptr<config_t> config = config_new_empty(); in btif_config_transcode()
Dbtif_config.cc92 static std::unique_ptr<config_t> btif_config_open(const char* filename);
260 std::unique_ptr<config_t> config; in init()
347 static std::unique_ptr<config_t> btif_config_open(const char* filename) { in btif_config_open()
348 std::unique_ptr<config_t> config = config_new(filename); in btif_config_open()
Dbtif_config_cache.cc71 void BtifConfigCache::Init(std::unique_ptr<config_t> source) { in Init()
162 config_t BtifConfigCache::PersistentSectionCopy() { in PersistentSectionCopy()
/system/bt/main/
Dstack_config.cc37 static std::unique_ptr<config_t> config;
111 static config_t* get_all(void) { return config.get(); } in get_all()
Dmain_int.h25 void init_cpp_logging(config_t* config);
Dbte_init_cpp_logging.cc21 void init_cpp_logging(config_t* config) { in init_cpp_logging()
Dbte_conf.cc36 std::unique_ptr<config_t> config = config_new(p_path); in bte_load_did_conf()
Dbte_logmsg.cc232 static void load_levels_from_config(const config_t* config) { in load_levels_from_config()
/system/bt/internal_include/
Dstack_config.h36 config_t* (*get_all)(void);
/system/bt/stack/test/btm/
Dstack_btm_test.cc61 config_t* get_all(void) { return nullptr; } in get_all()
/system/bt/btif/test/
Dbtif_config_cache_test.cc464 config_t config_paired = {}; in TEST()
506 std::unique_ptr<config_t> config_source = config_new(TEST_CONFIG_FILE); in TEST()