Home
last modified time | relevance | path

Searched refs:args_ (Results 1 – 12 of 12) sorted by relevance

/system/connectivity/shill/
Dstatic_ip_parameters.cc160 args_.SetInt(property.name, value); in Load()
162 args_.RemoveInt(property.name); in Load()
170 args_.SetString(property.name, value); in Load()
172 args_.RemoveString(property.name); in Load()
184 args_.SetStrings(property.name, string_list); in Load()
186 args_.RemoveStrings(property.name); in Load()
205 if (args_.ContainsInt(property.name)) { in Save()
207 storage->SetInt(storage_id, name, args_.GetInt(property.name)); in Save()
211 if (args_.ContainsString(property.name)) { in Save()
213 storage->SetString(storage_id, name, args_.GetString(property.name)); in Save()
[all …]
Dstatic_ip_parameters.h126 KeyValueStore args_; variable
Dstatic_ip_parameters_unittest.cc294 static_params_.args_.Clear(); in TEST_F()
339 static_params_.args_.Clear(); in TEST_F()
Ddevice_unittest.cc787 service->static_ip_parameters_.args_.SetString(kAddressProperty, "1.1.1.1"); in TEST_F()
788 service->static_ip_parameters_.args_.SetInt(kPrefixlenProperty, 16); in TEST_F()
1753 parameters->args_.SetString(kAddressProperty, "1.1.1.1"); in TEST_F()
1754 parameters->args_.SetInt(kPrefixlenProperty, 16); in TEST_F()
1771 parameters->args_.SetStrings(kNameServersProperty, static_servers); in TEST_F()
/system/connectivity/shill/vpn/
Dvpn_driver.cc75 args_.SetStrings(property, value); in Load()
77 args_.RemoveStrings(property); in Load()
85 args_.SetString(property, value); in Load()
87 args_.RemoveString(property); in Load()
107 if (!args_.ContainsStrings(property)) { in Save()
111 Strings value = args_.GetStrings(property); in Save()
114 if (!args_.ContainsString(property) || in Save()
119 string value = args_.GetString(property); in Save()
135 args_.RemoveString(properties_[i].property); in UnloadCredentials()
175 if (args_.ContainsString(properties_[index].property)) { in ClearMappedStringProperty()
[all …]
Dvpn_driver.h63 KeyValueStore* args() { return &args_; } in args()
64 const KeyValueStore* const_args() const { return &args_; } in const_args()
125 KeyValueStore args_; variable
/system/extras/simpleperf/
Dworkload.h48 args_(args), in Workload()
58 std::vector<std::string> args_; variable
Dworkload.cpp80 ChildProcessFn(args_, start_signal_pipe[0], exec_child_pipe[1]); in CreateNewProcess()
/system/core/init/
Daction.cpp36 : func_(f), args_(args), filename_(filename), line_(line) { in Command()
41 expanded_args.resize(args_.size()); in InvokeFunc()
42 expanded_args[0] = args_[0]; in InvokeFunc()
43 for (std::size_t i = 1; i < args_.size(); ++i) { in InvokeFunc()
44 if (!expand_props(args_[i], &expanded_args[i])) { in InvokeFunc()
45 ERROR("%s: cannot expand '%s'\n", args_[0].c_str(), args_[i].c_str()); in InvokeFunc()
54 return Join(args_, ' '); in BuildCommandString()
Dservice.cpp66 ioprio_class_(IoSchedClass_NONE), ioprio_pri_(0), args_(args) { in Service()
75 seclabel_(seclabel), ioprio_class_(IoSchedClass_NONE), ioprio_pri_(0), args_(args) { in Service()
159 for (const auto& s : args_) { in DumpState()
339 if (stat(args_[0].c_str(), &sb) == -1) { in Start()
341 args_[0].c_str(), strerror(errno), name_.c_str()); in Start()
353 INFO("computing context for service '%s'\n", args_[0].c_str()); in Start()
360 rc = getfilecon(args_[0].c_str(), &fcon); in Start()
464 for (const auto& s : args_) { in Start()
468 if (execve(args_[0].c_str(), (char**) &strs[0], (char**) ENV) < 0) { in Start()
469 ERROR("cannot execve('%s'): %s\n", args_[0].c_str(), strerror(errno)); in Start()
Dservice.h101 const std::vector<std::string>& args() const { return args_; } in args()
158 std::vector<std::string> args_; variable
Daction.h40 std::vector<std::string> args_; variable