Home
last modified time | relevance | path

Searched refs:saved_args_ (Results 1 – 3 of 3) sorted by relevance

/system/connectivity/shill/
Dstatic_ip_parameters.cc238 saved_args_.SetInt(property, *value_out); in ApplyInt()
246 saved_args_.SetString(property, *value_out); in ApplyString()
254 saved_args_.SetStrings(property, *value_out); in ApplyStrings()
278 props->address = saved_args_.LookupString(kAddressProperty, ""); in RestoreTo()
279 props->gateway = saved_args_.LookupString(kGatewayProperty, ""); in RestoreTo()
280 props->mtu = saved_args_.LookupInt(kMtuProperty, 0); in RestoreTo()
282 if (saved_args_.ContainsStrings(kNameServersProperty)) { in RestoreTo()
283 props->dns_servers = saved_args_.GetStrings(kNameServersProperty); in RestoreTo()
285 props->peer_address = saved_args_.LookupString(kPeerAddressProperty, ""); in RestoreTo()
286 props->subnet_prefix = saved_args_.LookupInt(kPrefixlenProperty, 0); in RestoreTo()
[all …]
Dstatic_ip_parameters.h127 KeyValueStore saved_args_; variable
Dstatic_ip_parameters_unittest.cc314 EXPECT_TRUE(static_params_.saved_args_.IsEmpty()); in TEST_F()
359 EXPECT_TRUE(static_params_.saved_args_.IsEmpty()); in TEST_F()