Home
last modified time | relevance | path

Searched defs:cmd (Results 1 – 25 of 190) sorted by relevance

12345678

/base/hiviewdfx/hidumper/test/unittest/common/
Dsa_dumper_test.cpp50 std::string cmd = "hidumper -s 1201 -a '-p Faultlogger'"; variable
63 std::string cmd = "hidumper -s WindowManagerService -a '-w 6 -default'"; variable
78 std::string cmd = "hidumper -s 10 -a allInfo"; variable
91 std::string cmd = "hidumper -s 1904 -a -a"; variable
103 std::string cmd = "hidumper -s AbilityManagerService -a -l"; variable
116 std::string cmd = "hidumper -s DisplayManagerService -a '-s -a'"; variable
129 std::string cmd = "hidumper -s ScreenlockService -a -all"; variable
142 std::string cmd = "hidumper -s MultimodalInput -a -w"; variable
156 std::string cmd = "hidumper -s 10 -a -h > " + path; variable
170 std::string cmd = "hidumper -s 10 -a -h --zip"; variable
Dmemory_dumper_test.cpp63 std::string cmd = "hidumper --mem"; variable
76 std::string cmd = "hidumper --mem"; variable
89 std::string cmd = "hidumper --mem 1"; variable
108 std::string cmd = "hidumper --mem"; variable
121 std::string cmd = "hidumper --mem"; variable
134 std::string cmd = "hidumper --mem"; variable
147 std::string cmd = "hidumper --mem --zip"; variable
193 const std::string cmd = "ps -ef"; variable
206 std::string cmd = "hidumper --mem-smaps 1"; variable
224 std::string cmd = "hidumper --mem-smaps 100000"; variable
Dhidumper_test_utils.cpp29 bool HidumperTestUtils::IsExistInCmdResult(const std::string &cmd, const std::string &str) in IsExistInCmdResult()
46 bool HidumperTestUtils::IsExistStrInFile(const std::string &cmd, const std::string &str, const std:… in IsExistStrInFile()
/base/hiviewdfx/faultloggerd/test/systemtest/
Dfaultloggerd_system_test.cpp344 string cmd = "SIGFPE"; variable
364 string cmd = "SIGFPE"; variable
384 string cmd = "SIGILL"; variable
404 string cmd = "SIGILL"; variable
424 string cmd = "triSIGILL"; variable
444 string cmd = "triSIGILL"; variable
464 string cmd = "SIGSEGV"; variable
484 string cmd = "SIGSEGV"; variable
504 string cmd = "triSIGSEGV"; variable
524 string cmd = "triSIGSEGV"; variable
[all …]
/base/hiviewdfx/hilog/test/unittest/common/
Dhilogtool_test.cpp29 static int GetCmdLinesFromPopen(const std::string& cmd) in GetCmdLinesFromPopen()
52 static std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen()
76 static bool IsExistInCmdResult(const std::string &cmd, const std::string &str) in IsExistInCmdResult()
141 std::string cmd = ""; variable
167 std::string cmd = "hilog -b " + level; variable
193 std::string cmd = "hilog -b " + level + " -D " + Uint2HexStr(domain); variable
218 std::string cmd = "hilog -b " + level + " -T " + tag; variable
245 std::string cmd = "hilog -G 512K"; variable
272 std::string cmd = "hilog -g"; variable
293 std::string cmd = "hilog -k on"; variable
[all …]
/base/security/selinux_adapter/test/unittest/service_checker/
Dunit_test.cpp70 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { list } for service=hdf_devmgr_class… variable
91 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { get } for service=" + TEST_SERVICE_… variable
112 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { add } for service=" + TEST_SERVICE_… variable
133 std::string cmd = variable
156 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { get } for service=" + TEST_SERVICE_… variable
178 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { get_remote } for service=" + TEST_S… variable
200 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { add } for service=" + TEST_SERVICE_… variable
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
Dshell_catcher.cpp32 bool ShellCatcher::Initialize(const std::string& cmd, int type, int catcherPid) in Initialize()
59 std::string cmd = "-b EventExclusiveCommander getAllEventExclusiveCaller"; in DoChildProcesscatcher() local
65 std::string cmd = "-b SCBGestureManager getAllGestureEnableCaller"; in DoChildProcesscatcher() local
71 std::string cmd = "-p 0"; in DoChildProcesscatcher() local
103 std::string cmd = "-w " + focusWindowId_ + cmdSuffix; in CaDoInChildProcesscatcher() local
120 … std::string cmd = (catcherType_ == CATCHER_SCBSESSION) ? "-b SCBScenePanel getContainerSession" : in CaDoInChildProcesscatcher() local
214 bool ShellCatcher::ReadShellToFile(int writeFd, const std::string& cmd) in ReadShellToFile()
/base/startup/init/services/init/standard/
Dinit_cmdexecutor.c33 PluginCmd *cmd = NULL; in AddCmdExecutor_() local
78 PluginCmd *cmd = groupNode->data.cmd; in RemoveCmdExecutor() local
96 static void PluginExecCmd_(PluginCmd *cmd, const char *cmdContent) in PluginExecCmd_()
125 PluginCmd *cmd = groupNode->data.cmd; in PluginExecCmdByName() local
136 PluginCmd *cmd = groupNode->data.cmd; in PluginExecCmd() local
154 PluginCmd *cmd = groupNode->data.cmd; in CompareCmdId() local
176 PluginCmd *cmd = GetPluginCmdByIndex(index); in GetPluginCmdNameByIndex() local
185 PluginCmd *cmd = GetPluginCmdByIndex(index); in PluginExecCmdByCmdIndex() local
218 PluginCmd *cmd = groupNode->data.cmd; in PluginGetCmdIndex() local
/base/update/updater/services/applypatch/
Dtransfer_manager.cpp36 bool TransferManager::CommandsExecute(int fd, Command &cmd) in CommandsExecute()
74 std::unique_ptr<Command> cmd = std::make_unique<Command>(transferParams_.get()); in CommandsParser() local
116 bool TransferManager::RegisterForRetry(const std::string &cmd) in RegisterForRetry()
142 std::string cmd = ""; in ReloadForRetry() local
150 bool TransferManager::CheckResult(const CommandResult result, const std::string &cmd, const Command… in CheckResult()
/base/account/os_account/services/accountmgr/test/unittest/common/account_mgr_service_test/
Daccount_dump_helper_test.cpp127 vector<std::string> cmd; variable
158 vector<std::string> cmd = {"-ohos_account_infos"}; variable
187 vector<std::string> cmd = {"-os_account_infos"}; variable
207 vector<std::string> cmd = {"-time_info_dump"}; variable
225 vector<std::string> cmd = {"-h"}; variable
244 vector<std::string> cmd = {"-ohos_account_infos"}; variable
262 vector<std::string> cmd = {"-os_account_infos"}; variable
358 vector<std::string> cmd = {"This_is_invalid_cmd"}; variable
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
Dmk_agree.c83 static int32_t ThrowException(BaseCmd *cmd, const CJson *in, CJson **out) in ThrowException()
92 static int32_t AddEventByState(const BaseCmd *cmd, CJson *sendData) in AddEventByState()
104 static int32_t ProcessMkAgreeTask(BaseCmd *cmd, const CJson *in, CJson **out) in ProcessMkAgreeTask()
171 static int32_t SwitchState(BaseCmd *cmd, const CJson *in, CJson **out, CmdState *returnState) in SwitchState()
192 static int32_t StartMkAgreeCmd(BaseCmd *cmd, CJson **out) in StartMkAgreeCmd()
206 static int32_t ProcessMkAgreeCmd(BaseCmd *cmd, const CJson *in, CJson **out, CmdState *returnState) in ProcessMkAgreeCmd()
219 static void DestroyMkAgreeCmd(BaseCmd *cmd) in DestroyMkAgreeCmd()
232 static int32_t InitMkAgreeTask(MkAgreeCmd *cmd, const MkAgreeParams *params, bool isClient) in InitMkAgreeTask()
267 static int32_t InitMkAgreeCmd(MkAgreeCmd *cmd, const MkAgreeParams *params, in InitMkAgreeCmd()
294 MkAgreeCmd *cmd = (MkAgreeCmd *)HcMalloc(sizeof(MkAgreeCmd), 0); in CreateMkAgreeCmd() local
/base/hiviewdfx/hiview/test/moduletest/common/
Dhiview_plugin_platform_module_test.cpp24 std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen()
48 std::string cmd = "pidof " + serviceName; in GetServicePid() local
60 std::string cmd = "start " + serviceName; in WaitForServiceReady() local
/base/hiviewdfx/hievent_lite/command/
Dhievent_lite_command.c39 void HieventCmdProc(const char *cmd) in HieventCmdProc()
76 static void HieventSetProc(const char *cmd) in HieventSetProc()
92 static boolean CheckCmdStr(const char *cmd) in CheckCmdStr()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dcmd_dumper.cpp41 std::string cmd = ptrDumpCfg_->target_; in PreExecute() local
115 DumpStatus CMDDumper::GetCmdInterface(const std::string& cmd, StringMatrix dumpDatas) in GetCmdInterface()
169 void CMDDumper::ReplacePidInCmd(std::string &cmd, int pid) in ReplacePidInCmd()
178 void CMDDumper::ReplaceCpuIdInCmd(std::string &cmd, int cpuId) in ReplaceCpuIdInCmd()
/base/update/updater/test/unittest/applypatch_test/
Dtransfer_manager_unittest.cpp54 std::string cmd = "zero 2,0,1"; variable
62 string cmd = tm->ReloadForRetry(); variable
Dcommands_unittest.cpp59 Command *cmd = new Command(transferParams.get()); variable
77 Command *cmd = new Command(transferParams.get()); variable
Dcommandsfunction_unittest.cpp37 CommandResult TestCommandFnExec(std::shared_ptr<Command> cmd, std::string cmdLine) in TestCommandFnExec()
66 std::shared_ptr<Command> cmd = std::make_shared<Command>(transferParams.get()); variable
/base/powermgr/power_manager/utils/shell/src/
Dmain.cpp56 OHOS::PowerMgr::PowerShellCommand cmd(argc, argv); in Loop() local
72 OHOS::PowerMgr::PowerShellCommand cmd(argc, argv); in main() local
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_client_api_test.cpp36 std::string cmd = "test_cmd" + std::to_string(i); variable
58 std::string cmd = "test_cmd" + std::to_string(i); variable
/base/startup/init/services/modules/reboot/
Dreboot_static.c66 static int CheckParamCmdExist(const char *cmd) in CheckParamCmdExist()
83 static int SetParamCmdInfo(ParamCmdInfo *currInfo, CmdExecutor executor, const char *cmd) in SetParamCmdInfo()
115 static int AddRebootCmdExecutor_(const char *cmd, CmdExecutor executor) in AddRebootCmdExecutor_()
138 int AddRebootCmdExecutor(const char *cmd, CmdExecutor executor) in AddRebootCmdExecutor()
/base/startup/init/services/begetctl/
Ddump_service.c32 static int SendAppspawnCmdMessage(const CmdAgent *agent, uint16_t type, const char *cmd, const char… in SendAppspawnCmdMessage()
69 static void DumpAppspawnClientInit(const char *cmd, CallbackSendMsgProcess sendMsg) in DumpAppspawnClientInit()
99 char *cmd = (char *)calloc(1, serviceNameLen); in main_cmd() local
/base/security/access_token/services/tokensyncmanager/test/unittest/
Dtoken_sync_service_test.cpp291 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
306 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
334 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
362 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
377 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
393 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
409 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
424 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
448 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
486 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
[all …]
/base/startup/appspawn/service/hnp/
Dhnpcli_main.c31 char *cmd; member
61 static NativeManagerCmdInfo* HnpCmdCheck(const char *cmd) in HnpCmdCheck()
Dhnp_main.c31 char *cmd; member
70 static NativeManagerCmdInfo* HnpCmdCheck(const char *cmd) in HnpCmdCheck()
/base/hiviewdfx/faultloggerd/test/moduletest/
Dfaultloggerd_module_test.cpp33 std::string cmd = "start " + serviceName; in WaitForServiceReady() local
70 std::string cmd = "cat /proc/" + std::to_string(getpid()) + "/maps"; variable

12345678