Home
last modified time | relevance | path

Searched refs:dflt (Results 1 – 4 of 4) sorted by relevance

/system/netd/libnetdutils/include/netdutils/
DMisc.h27 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/
DInterfaceControllerTest.cpp60 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()
DInterfaceController.h71 std::function<std::string(const std::string& key, const std::string& dflt)>;
DInterfaceController.cpp181 std::string getProperty(const std::string& key, const std::string& dflt) { in getProperty() argument
182 return android::base::GetProperty(key, dflt); in getProperty()