Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_config.h95 const std::string& key, bool def_value)>
98 bool def_value) { return return_value; }};
100 const std::string& key, bool def_value) { in operator()
101 return body(config, section, key, def_value); in operator()
112 const std::string& key, int def_value)>
115 int def_value) { return return_value; }};
117 const std::string& key, int def_value) { in operator()
118 return body(config, section, key, def_value); in operator()
130 const std::string& key, const std::string* def_value)>
133 const std::string* def_value) { return return_value; }};
[all …]
Dmock_osi_config.cc79 const std::string& key, bool def_value) { in config_get_bool() argument
82 def_value); in config_get_bool()
85 const std::string& key, int def_value) { in config_get_int() argument
88 def_value); in config_get_int()
93 const std::string* def_value) { in config_get_string() argument
96 def_value); in config_get_string()
99 const std::string& key, uint64_t def_value) { in config_get_uint64() argument
102 def_value); in config_get_uint64()
/packages/modules/Bluetooth/system/osi/src/
Dconfig.cc154 const std::string& key, int def_value) { in config_get_int() argument
156 if (!entry) return def_value; in config_get_int()
160 return (*endptr == '\0') ? ret : def_value; in config_get_int()
164 const std::string& key, uint64_t def_value) { in config_get_uint64() argument
166 if (!entry) return def_value; in config_get_uint64()
170 return (*endptr == '\0') ? ret : def_value; in config_get_uint64()
174 const std::string& key, bool def_value) { in config_get_bool() argument
176 if (!entry) return def_value; in config_get_bool()
181 return def_value; in config_get_bool()
187 const std::string* def_value) { in config_get_string() argument
[all …]
/packages/modules/Bluetooth/system/osi/include/
Dconfig.h80 const std::string& key, int def_value);
86 const std::string& key, uint64_t def_value);
92 const std::string& key, bool def_value);
101 const std::string* def_value);
/packages/modules/Bluetooth/system/test/stub/
Dosi.cc79 const std::string& key, bool def_value) { in config_get_bool() argument
116 const std::string* def_value) { in config_get_string() argument
121 const std::string& key, int def_value) { in config_get_int() argument
142 const std::string& key, uint64_t def_value) { in config_get_uint64() argument