Home
last modified time | relevance | path

Searched refs:cmds (Results 1 – 25 of 72) sorted by relevance

123

/base/update/updater/services/etc/
Dupdater_common.cfg9 "cmds" : [
14 "cmds" : [
28 "cmds" : [
36 "cmds" : [
/base/hiviewdfx/hiview/service/
Dhiview_service.cpp41 void HiviewService::DumpRequestDispatcher(int fd, const std::vector<std::string> &cmds) in DumpRequestDispatcher() argument
48 if (cmds.size() == 0) { in DumpRequestDispatcher()
54 if ((cmds.size() == MIN_SUPPORT_CMD_SIZE) && (cmds[0] == "-d")) { in DumpRequestDispatcher()
60 if ((cmds.size() >= MIN_SUPPORT_CMD_SIZE) && (cmds[0] == "-p")) { in DumpRequestDispatcher()
61 DumpPluginInfo(fd, cmds); in DumpRequestDispatcher()
69 void HiviewService::DumpPluginInfo(int fd, const std::vector<std::string> &cmds) const in DumpPluginInfo()
75 if (cmds.size() >= pluginNameSize) { in DumpPluginInfo()
76 pluginName = cmds[pluginNamePos]; in DumpPluginInfo()
77 newCmd.insert(newCmd.begin(), cmds.begin() + pluginNamePos, cmds.end()); in DumpPluginInfo()
Dhiview_service.h33 void DumpRequestDispatcher(int fd, const std::vector<std::string>& cmds);
40 void DumpPluginInfo(int fd, const std::vector<std::string>& cmds) const;
/base/hiviewdfx/hiview/plugins/faultlogger/test/common/unittest/
Dfaultlogger_unittest.cpp107 std::vector<std::string> cmds; variable
108 plugin->Dump(fd, cmds);
109 cmds.push_back("Faultlogger");
110 plugin->Dump(fd, cmds);
111 cmds.push_back("-l");
112 plugin->Dump(fd, cmds);
113 cmds.push_back("-f");
114 plugin->Dump(fd, cmds);
115 cmds.push_back("cppcrash-ModuleName-10-20201209103823");
116 plugin->Dump(fd, cmds);
[all …]
/base/hiviewdfx/hiview/plugins/sysevent_source/
Dsysevent_source.cpp157 static void ShowUsage(int fd, const std::vector<std::string>& cmds) in ShowUsage() argument
160 for (auto it = cmds.begin(); it != cmds.end(); it++) { in ShowUsage()
167 void SysEventSource::Dump(int fd, const std::vector<std::string>& cmds) in Dump() argument
169 if (cmds.size() >= 2) { // args from the second item in Dump()
170 std::string arg1 = cmds[1]; in Dump()
180 ShowUsage(fd, cmds); in Dump()
/base/startup/init/services/etc/
Dinit.reboot.cfg4 "cmds" : [
13 "cmds" : [
Dinit.usb.cfg8 "cmds" : [
14 "cmds" : [
Dinit.cfg9 "cmds" : [
34 "cmds" : [
85 "cmds" : [
97 "cmds" : [
109 "cmds" : [
114 "cmds" : [
165 "cmds" : [
180 "cmds" : [
186 "cmds" : [
191 "cmds" : [
[all …]
Dinit.without_two_stages.cfg9 "cmds" : [
24 "cmds" : [
70 "cmds" : [
82 "cmds" : [
94 "cmds" : [
99 "cmds" : [
187 "cmds" : [
206 "cmds" : [
212 "cmds" : [
218 "cmds" : [
[all …]
/base/security/access_token/services/accesstokenmanager/
Daccess_token.cfg4 "cmds" : [
9 "cmds" : [
/base/startup/init/test/moduletest/
Dinit_test.cfg5 "cmds" : [
12 "cmds" : [
19 "cmds" : [
Dchipset.init.test.cfg5 "cmds" : [
24 "cmds" : [
32 "cmds" : [
Dplugin_param_test.cfg5 "cmds" : [
/base/hiviewdfx/faultloggerd/services/config/bionic/
Dfaultloggerd.cfg4 "cmds" : [
9 "cmds" : [
/base/hiviewdfx/faultloggerd/test/funchook/config/
Dfaultloggerd.cfg4 "cmds" : [
9 "cmds" : [
/base/hiviewdfx/faultloggerd/test/funchook/config/bionic/
Dfaultloggerd.cfg4 "cmds" : [
9 "cmds" : [
/base/hiviewdfx/hilog/services/hilogd/etc/
Dhilogd.cfg4 "cmds" : [
11 "cmds" : [
/base/hiviewdfx/faultloggerd/test/utils/
Ddfx_test_util.cpp34 std::string ExecuteCommands(const std::string& cmds) in ExecuteCommands() argument
36 if (cmds.empty()) { in ExecuteCommands()
41 procFileInfo = popen(cmds.c_str(), "r"); in ExecuteCommands()
54 bool ExecuteCommands(const std::string& cmds, std::vector<std::string>& ress) in ExecuteCommands() argument
56 if (cmds.empty()) { in ExecuteCommands()
62 fp = popen(cmds.c_str(), "r"); in ExecuteCommands()
Ddfx_test_util.h46 std::string ExecuteCommands(const std::string& cmds);
47 bool ExecuteCommands(const std::string& cmds, std::vector<std::string>& ress);
/base/startup/init/services/init/lite/
Dinit_jobs.c41 CmdLine *cmd = &g_jobs[i].cmdLines->cmds[j]; in DumpAllJobs()
141 DoCmdByIndex(cmdLines->cmds[j].cmdIndex, cmdLines->cmds[j].cmdContent, NULL); in DoJob()
/base/account/os_account/services/accountmgr/
Daccountmgr.cfg4 "cmds" : [
9 "cmds" : [
/base/startup/init/services/init/
Dinit_common_cmds.c623 const struct CmdTable *cmds = GetCmdTable(&number); in GetCmdByName() local
625 if (strncmp(startCmd, cmds[i].name, strlen(cmds[i].name)) == 0) { in GetCmdByName()
626 return &cmds[i]; in GetCmdByName()
647 const struct CmdTable *cmds = GetCmdTable(&number); in GetMatchCmd() local
649 if (strncmp(startCmd, cmds[i].name, strlen(cmds[i].name)) == 0) { in GetMatchCmd()
651 return cmds[i].name; in GetMatchCmd()
666 const struct CmdTable *cmds = GetCmdTable(&number); in GetCmdTableByIndex() local
668 cmdTable = &cmds[index - cmdCnt]; in GetCmdTableByIndex()
715 …int ret = strcpy_s((*cmdLines)->cmds[(*cmdLines)->cmdNum].cmdContent, MAX_CMD_CONTENT_LEN, tmp + s… in GetCmdLinesFromJson()
721 (*cmdLines)->cmds[(*cmdLines)->cmdNum].cmdIndex = index; in GetCmdLinesFromJson()
/base/hiviewdfx/faultloggerd/test/performancetest/include/
Dfaultloggerd_performance_test.h29 static std::string ForkAndRootCommands(const std::vector<std::string>& cmds);
/base/startup/init/test/exec_test/
Dfd_holder_test.cfg4 "cmds" : [
/base/security/code_signature/services/key_enable/
Dkey_enable.cfg4 "cmds" : [

123