Home
last modified time | relevance | path

Searched refs:new_name (Results 1 – 6 of 6) sorted by relevance

/device/google/cuttlefish/guest/commands/rename_netiface/
Dmain.cpp37 const char *const new_name = argv[2]; in main() local
42 std::unique_ptr<cuttlefish::NetworkInterface> ni(nm->Open(new_name, name)); in main()
45 ni->SetName(new_name); in main()
/device/google/cuttlefish/guest/commands/setup_wifi/
Dmain.cpp117 int RenameNetwork(const std::string& name, const std::string& new_name) { in RenameNetwork() argument
125 connection->SetName(new_name); in RenameNetwork()
128 LOG(ERROR) << "setup_network: can't rename " << name << " to " << new_name; in RenameNetwork()
/device/google/cuttlefish/common/libs/net/
Dnetwork_interface.h39 NetworkInterface& SetName(const std::string& new_name) { in SetName() argument
40 name_ = new_name; in SetName()
/device/google/cuttlefish/guest/commands/ip_link_add/
Dmain.cpp41 const char *const new_name = argv[3]; in main() local
50 link_add_request.AddString(IFLA_IFNAME, std::string(new_name)); in main()
/device/google/cuttlefish/common/libs/utils/
Dfiles.cpp115 bool RenameFile(const std::string& old_name, const std::string& new_name) { in RenameFile() argument
116 LOG(DEBUG) << "Renaming " << old_name << " to " << new_name; in RenameFile()
117 if(rename(old_name.c_str(), new_name.c_str())) { in RenameFile()
Dfiles.h30 bool RenameFile(const std::string& old_name, const std::string& new_name);