Lines Matching refs:serviceName
169 static void RunCmd(const std::string &serviceName, const std::string &namespaceName, const std::string &processName,
172 bool isNamespaceOnly = !namespaceName.empty() && processName.empty() && serviceName.empty() && pid.empty();
173 bool isNamespaceAndProcess = !namespaceName.empty() && !processName.empty() && serviceName.empty() && pid.empty();
174 bool isProcessOnly = namespaceName.empty() && !processName.empty() && serviceName.empty() && pid.empty();
175 bool isServiceOnly = namespaceName.empty() && processName.empty() && !serviceName.empty() && pid.empty();
176 bool isPidOnly = namespaceName.empty() && processName.empty() && serviceName.empty() && !pid.empty();
188 std::cout << "enter sandbox service name " << serviceName << std::endl;
189 CmdClientInit(INIT_CONTROL_FD_SOCKET_PATH, ACTION_SANDBOX, serviceName.c_str(), nullptr);
201 std::string serviceName {};
210 serviceName = optarg;
223 serviceName = optarg;
245 RunCmd(serviceName, namespaceName, processName, pid);