/packages/modules/Bluetooth/system/test/mock/ |
D | mock_osi_config.h | 75 std::function<bool(const config_t& config, const std::string& section, 77 body{[this](const config_t& /* config */, 81 bool operator()(const config_t& config, const std::string& section, in operator() 93 std::function<int(const config_t& config, const std::string& section, 95 body{[this](const config_t& /* config */, 99 int operator()(const config_t& config, const std::string& section, in operator() 112 const config_t& config, const std::string& section, 114 body{[this](const config_t& /* config */, 118 const std::string* operator()(const config_t& config, in operator() 132 std::function<uint64_t(const config_t& config, const std::string& section, [all …]
|
D | mock_osi_config.cc | 75 bool config_get_bool(const config_t& config, const std::string& section, in config_get_bool() 81 int config_get_int(const config_t& config, const std::string& section, in config_get_int() 87 const std::string* config_get_string(const config_t& config, in config_get_string() 95 uint64_t config_get_uint64(const config_t& config, const std::string& section, in config_get_uint64() 101 bool config_has_key(const config_t& config, const std::string& section, in config_has_key() 106 bool config_has_section(const config_t& config, const std::string& section) { in config_has_section() 110 std::unique_ptr<config_t> config_new(const char* filename) { in config_new() 114 std::unique_ptr<config_t> config_new_clone(const config_t& src) { in config_new_clone() 118 std::unique_ptr<config_t> config_new_empty(void) { in config_new_empty() 122 bool config_remove_key(config_t* config, const std::string& section, in config_remove_key() [all …]
|
/packages/modules/Bluetooth/system/osi/include/ |
D | config.h | 41 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 …]
|
/packages/modules/Bluetooth/system/osi/test/ |
D | config_test.cc | 87 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 97 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 113 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 134 std::unique_ptr<config_t> config = config_new_empty(); in TEST_F() 139 std::unique_ptr<config_t> config = config_new("/meow"); in TEST_F() 144 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 149 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 150 std::unique_ptr<config_t> clone = config_new_clone(*config); in TEST_F() 164 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() 169 std::unique_ptr<config_t> config = config_new(CONFIG_FILE); in TEST_F() [all …]
|
/packages/modules/Bluetooth/system/osi/src/ |
D | config.cc | 59 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() 129 std::unique_ptr<config_t> config_new_clone(const config_t& src) { in config_new_clone() [all …]
|
/packages/modules/Bluetooth/system/device/test/ |
D | device_iot_config_test.cc | 88 [&]() -> std::unique_ptr<config_t> { in SetUp() 89 return std::make_unique<config_t>(); in SetUp() 93 [&](const char* filename) -> std::unique_ptr<config_t> { in SetUp() 94 return std::make_unique<config_t>(); in SetUp() 98 [&](const config_t& config, const std::string& section, in SetUp() 102 [&](config_t* config, const std::string& section, in SetUp() 106 [&](const config_t& config, const std::string& section, in SetUp() 111 [&](config_t* config, const std::string& section, in SetUp() 141 config_t* config_new_return_value = NULL; in TEST_F_WITH_FLAGS() 142 config_t* config_new_empty_return_value = NULL; in TEST_F_WITH_FLAGS() [all …]
|
/packages/modules/Bluetooth/system/test/stub/ |
D | osi.cc | 75 std::list<section_t>::iterator config_t::Find(const std::string& section) { in Find() 86 bool config_get_bool(const config_t& config, const std::string& section, in config_get_bool() 91 bool config_has_key(const config_t& config, const std::string& section, in config_has_key() 96 bool config_has_section(const config_t& config, const std::string& section) { in config_has_section() 100 bool config_remove_key(config_t* config, const std::string& section, in config_remove_key() 105 bool config_remove_section(config_t* config, const std::string& section) { in config_remove_section() 109 bool config_save(const config_t& config, const std::string& filename) { in config_save() 113 bool config_t::Has(const std::string& key) { in Has() 121 const std::string* config_get_string(const config_t& config, in config_get_string() 128 int config_get_int(const config_t& config, const std::string& section, in config_get_int() [all …]
|
/packages/modules/Bluetooth/system/device/src/ |
D | device_iot_config_int.h | 64 struct config_t; 77 void device_iot_config_sections_sort_by_entry_key(config_t& config, 83 int device_iot_config_get_device_num(const config_t& config); 84 void device_iot_config_restrict_device_num(config_t& config);
|
D | device_iot_config_int.cc | 48 extern std::unique_ptr<config_t> config; 209 void device_iot_config_sections_sort_by_entry_key(config_t& config, in device_iot_config_sections_sort_by_entry_key() 240 int device_iot_config_get_device_num(const config_t& conf) { in device_iot_config_get_device_num() 253 void device_iot_config_restrict_device_num(config_t& config) { in device_iot_config_restrict_device_num()
|
D | device_iot_config.cc | 47 std::unique_ptr<config_t> config;
|
D | interop.cc | 99 static std::unique_ptr<const config_t> config_static; 100 static std::unique_ptr<config_t> config_dynamic;
|
/packages/modules/Bluetooth/system/test/common/ |
D | stack_config.cc | 51 struct config_t; 52 config_t* get_all(void) { return nullptr; } in get_all()
|
/packages/modules/Bluetooth/system/main/ |
D | stack_config.cc | 57 static std::unique_ptr<config_t> config; 207 static config_t* get_all(void) { return config.get(); } in get_all()
|
D | bte_conf.cc | 40 std::unique_ptr<config_t> config = config_new(p_path); in bte_load_did_conf()
|
/packages/modules/Bluetooth/system/internal_include/ |
D | stack_config.h | 50 config_t* (*get_all)(void);
|
/packages/modules/Bluetooth/system/stack/test/ |
D | stack_smp_test.cc | 68 config_t* get_all(void) { return nullptr; } in get_all()
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | codec_manager_test.cc | 81 config_t* get_all(void) { return nullptr; } in get_all()
|
D | state_machine_test.cc | 86 config_t* get_all(void) { return nullptr; } in get_all()
|
D | le_audio_client_test.cc | 205 config_t* get_all(void) { return nullptr; } in get_all()
|