/base/startup/init/test/unittest/lite/ |
H A D | cmd_func_test.cpp | 312 std::string cmdStr = "start "; in HWTEST_F() local 314 std::string command = cmdStr + cmdContentStr; in HWTEST_F() 316 EXPECT_EQ(0, strcmp(cmdStr.c_str(), curCmdLine.name)); in HWTEST_F() 331 std::string cmdStr = "mkdir "; in HWTEST_F() local 333 std::string command = cmdStr + cmdContentStr; in HWTEST_F() 335 EXPECT_EQ(0, strcmp(cmdStr.c_str(), curCmdLine.name)); in HWTEST_F() 350 command = cmdStr + cmdContentStr; in HWTEST_F() 352 EXPECT_EQ(0, strcmp(cmdStr.c_str(), curCmdLine.name)); in HWTEST_F() 376 std::string cmdStr = "chmod "; in HWTEST_F() local 378 std::string command = cmdStr in HWTEST_F() 432 std::string cmdStr = "chown "; HWTEST_F() local 468 std::string cmdStr = "mkdir "; HWTEST_F() local 848 std::string cmdStr = "loadcfg "; HWTEST_F() local 883 std::string cmdStr = "loadcfg "; HWTEST_F() local [all...] |
/base/startup/init/services/init/include/ |
H A D | init_cmds.h | 90 const char *GetMatchCmd(const char *cmdStr, int *index);
109 const char *PluginGetCmdIndex(const char *cmdStr, int *index);
|
/base/startup/init/services/init/standard/ |
H A D | init_cmdexecutor.c | 198 const char *PluginGetCmdIndex(const char *cmdStr, int *index)
in PluginGetCmdIndex() argument 202 while ((i < MAX_CMD_NAME_LEN) && (*(cmdStr + i) != '\0') && (*(cmdStr + i) != ' ')) {
in PluginGetCmdIndex() 203 cmdName[i] = *(cmdStr + i);
in PluginGetCmdIndex()
|
/base/startup/init/test/unittest/init/ |
H A D | group_unittest.cpp | 324 char cmdStr[] = "all#bootevent"; in HWTEST_F() local 327 ProcessControlFd(ACTION_DUMP, cmdStr, nullptr); in HWTEST_F() 329 ProcessControlFd(ACTION_SANDBOX, cmdStr, nullptr); in HWTEST_F() 330 ProcessControlFd(ACTION_MODULEMGR, cmdStr, nullptr); in HWTEST_F() 331 ProcessControlFd(ACTION_MAX, cmdStr, nullptr); in HWTEST_F()
|
/base/powermgr/battery_manager/test/systemtest/src/ |
H A D | battery_event_system_test.cpp | 614 std::string cmdStr = baseCmdStr; in HWTEST_F() local 615 cmdStr.append(" \"--capacity ").append(ToString(capacity)).append("\""); in HWTEST_F() 616 system(cmdStr.c_str()); in HWTEST_F() 637 cmdStr = baseCmdStr; in HWTEST_F() 638 cmdStr.append(" \"--capacity ").append(ToString(capacity)).append("\""); in HWTEST_F() 639 system(cmdStr.c_str()); in HWTEST_F()
|
/base/startup/init/services/init/lite/ |
H A D | init_cmds.c | 129 const char *PluginGetCmdIndex(const char *cmdStr, int *index)
in PluginGetCmdIndex() argument
|
/base/hiviewdfx/hidumper/frameworks/native/include/manager/ |
H A D | dump_implement.h | 87 void ReportCmdUsage(const DumperOpts &opts_, const std::string& cmdStr);
|
/base/startup/init/services/init/ |
H A D | init_common_cmds.c | 647 const char *GetMatchCmd(const char *cmdStr, int *index)
in GetMatchCmd() argument 649 INIT_CHECK_RETURN_VALUE(cmdStr != NULL && index != NULL, NULL);
in GetMatchCmd() 650 char *startCmd = GetCmdStart(cmdStr);
in GetMatchCmd()
|
/base/hiviewdfx/hidumper/frameworks/native/src/manager/ |
H A D | dump_implement.cpp | 845 void DumpImplement::ReportCmdUsage(const DumperOpts &opts_, const std::string &cmdStr) in ReportCmdUsage() argument 874 "CMD_USER_INPUT", cmdStr); in ReportCmdUsage()
|
/base/hiviewdfx/hiview/plugins/eventlogger/ |
H A D | event_logger.cpp | 326 std::string cmdStr = event->GetValue("eventLog_action"); in StartLogCollect() local 328 StringUtil::SplitStr(cmdStr, ",", cmdList); in StartLogCollect()
|