Searched refs:dflt (Results 1 – 4 of 4) sorted by relevance
/system/netd/libnetdutils/include/netdutils/ |
D | Misc.h | 27 inline const V& findWithDefault(const std::map<U, V>& map, const U& key, const V& dflt) { in findWithDefault() argument 29 return (it == map.end()) ? dflt : it->second; in findWithDefault()
|
/system/netd/server/ |
D | InterfaceControllerTest.cpp | 60 MOCK_CONST_METHOD2(get, std::string(const std::string& key, const std::string& dflt)); 88 .WillOnce(Invoke([](const std::string&, const std::string& dflt) { return dflt; })); in expectGetPropertyDefault() argument 119 [this](const std::string& key, const std::string& dflt) { in __anond5606f800602() argument 120 return mProperties.get(key, dflt); in __anond5606f800602()
|
D | InterfaceController.h | 71 std::function<std::string(const std::string& key, const std::string& dflt)>;
|
D | InterfaceController.cpp | 181 std::string getProperty(const std::string& key, const std::string& dflt) { in getProperty() argument 182 return android::base::GetProperty(key, dflt); in getProperty()
|