Home
last modified time | relevance | path

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

1234567

/base/security/selinux_adapter/test/unittest/service_checker/
Dunit_test.cpp52 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { list } for service=hdf_devmgr_class… variable
69 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { get } for service=" + TEST_SERVICE_… variable
86 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { add } for service=" + TEST_SERVICE_… variable
103 std::string cmd = variable
122 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { get } for service=" + TEST_SERVICE_… variable
140 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { get_remote } for service=" + TEST_S… variable
158 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { add } for service=" + TEST_SERVICE_… variable
/base/hiviewdfx/faultloggerd/test/systemtest/
Dfaultloggerd_system_test.cpp267 string cmd = "SIGFPE"; variable
287 string cmd = "SIGFPE"; variable
308 string cmd = "SIGILL"; variable
328 string cmd = "SIGILL"; variable
348 string cmd = "triSIGILL"; variable
368 string cmd = "triSIGILL"; variable
389 string cmd = "SIGSEGV"; variable
409 string cmd = "SIGSEGV"; variable
430 string cmd = "triSIGSEGV"; variable
450 string cmd = "triSIGSEGV"; variable
[all …]
/base/hiviewdfx/hilog/test/unittest/common/
Dhilogtool_test.cpp28 static int GetCmdLinesFromPopen(const std::string& cmd) in GetCmdLinesFromPopen()
51 static std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen()
75 static bool IsExistInCmdResult(const std::string &cmd, const std::string &str) in IsExistInCmdResult()
140 std::string cmd = ""; variable
166 std::string cmd = "hilog -b " + level; variable
192 std::string cmd = "hilog -b " + level + " -D " + Uint2HexStr(domain); variable
217 std::string cmd = "hilog -b " + level + " -T " + tag; variable
244 std::string cmd = "hilog -G 512K"; variable
270 std::string cmd = "hilog -g"; variable
290 std::string cmd = "hilog -k on"; variable
[all …]
/base/account/os_account/services/accountmgr/test/unittest/common/account_mgr_service_test/
Daccount_dump_helper_test.cpp104 vector<std::string> cmd; variable
137 vector<std::string> cmd = {"-ohos_account_infos"}; variable
168 vector<std::string> cmd = {"-os_account_infos"}; variable
187 vector<std::string> cmd = {"-time_info_dump"}; variable
205 vector<std::string> cmd = {"-h"}; variable
224 vector<std::string> cmd = {"-ohos_account_infos"}; variable
242 vector<std::string> cmd = {"-os_account_infos"}; variable
338 vector<std::string> cmd = {"This_is_invalid_cmd"}; variable
/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
Dinit_control_fd_service.c119 static void PrintBootEventHead(const char *cmd) in PrintBootEventHead()
128 static void DumpAllExtData(const char *cmd) in DumpAllExtData()
178 char *cmd = strrchr(serviceCmd, '#'); in ProcessDumpServiceControlFd() local
/base/update/updater/services/applypatch/
Dtransfer_manager.cpp53 bool TransferManager::CommandsExecute(int fd, Command &cmd) in CommandsExecute()
92 std::unique_ptr<Command> cmd = std::make_unique<Command>(); in CommandsParser() local
131 bool TransferManager::RegisterForRetry(const std::string &cmd) in RegisterForRetry()
157 std::string cmd = ""; in ReloadForRetry() local
173 bool TransferManager::CheckResult(const CommandResult result, const std::string &cmd, const Command… in CheckResult()
/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/test/unittest/common/
Dmemory_dumper_test.cpp63 std::string cmd = "hidumper --mem"; variable
80 std::string cmd = "hidumper --mem"; variable
93 std::string cmd = "hidumper --mem 1"; variable
139 const std::string cmd = "ps -ef"; 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/hidumper/frameworks/native/src/executor/
Dcmd_dumper.cpp41 std::string cmd = ptrDumpCfg_->target_; in PreExecute() local
113 DumpStatus CMDDumper::GetCmdInterface(const std::string& cmd, StringMatrix dumpDatas) in GetCmdInterface()
167 void CMDDumper::ReplacePidInCmd(std::string &cmd, int pid) in ReplacePidInCmd()
176 void CMDDumper::ReplaceCpuIdInCmd(std::string &cmd, int cpuId) in ReplaceCpuIdInCmd()
/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/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
Dshell_catcher.cpp31 bool ShellCatcher::Initialize(const std::string& cmd, int type, int catcherPid) in Initialize()
80 bool ShellCatcher::ReadShellToFile(int writeFd, const std::string& cmd) in ReadShellToFile()
/base/update/updater/test/unittest/applypatch_test/
Dcommands_unittest.cpp57 Command *cmd = new Command(); variable
73 Command *cmd = new Command(); variable
Dcommandsfunction_unittest.cpp37 CommandResult TestCommandFnExec(std::shared_ptr<Command> cmd, std::string cmdLine) in TestCommandFnExec()
65 std::shared_ptr<Command> cmd; variable
/base/hiviewdfx/hiview/base/utility/
Dcommon_utils.cpp36 int ExecCommand(const std::string &cmd, const std::vector<std::string> &args) in ExecCommand()
92 std::string cmd = "pidof " + processName; in GetPidByName() local
119 bool WriteCommandResultToFile(int fd, const std::string& cmd) in WriteCommandResultToFile()
137 int WriteCommandResultToFile(int fd, const std::string &cmd, const std::vector<std::string> &args) in WriteCommandResultToFile()
/base/startup/init/services/modules/reboot/
Dreboot_static.c64 static int CheckParamCmdExist(const char *cmd) in CheckParamCmdExist()
81 static int SetParamCmdInfo(ParamCmdInfo *currInfo, CmdExecutor executor, const char *cmd) in SetParamCmdInfo()
113 static int AddRebootCmdExecutor_(const char *cmd, CmdExecutor executor) in AddRebootCmdExecutor_()
136 int AddRebootCmdExecutor(const char *cmd, CmdExecutor executor) in AddRebootCmdExecutor()
/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
/base/notification/distributed_notification_service/tools/dump/src/
Dmain.cpp20 OHOS::Notification::NotificationShellCommand cmd(argc, argv); in main() local
Dnotification_shell_command.cpp144 std::string cmd; in RunAsDumpCommand() local
167 ErrCode NotificationShellCommand::RunDumpCmd(const std::string& cmd, const std::string& bundle, in RunDumpCmd()
186 void NotificationShellCommand::SetDumpCmdInfo(std::string &cmd, std::string &bundle, int32_t &userI… in SetDumpCmdInfo()
267 std::string cmd = COMMAND_SET_RECENT_COUNT; in RunAsSettingCommand() local
/base/notification/common_event_service/tools/cem/src/
Dmain.cpp22 OHOS::EventFwk::CommonEventCommand cmd(argc, argv); in main() local
/base/security/access_token/tools/accesstoken/src/
Dmain.cpp21 OHOS::Security::AccessToken::AtmCommand cmd(argc, argv); in main() local
/base/powermgr/power_manager/utils/shell/src/
Dmain.cpp22 OHOS::PowerMgr::PowerShellCommand cmd(argc, argv); in main() local
/base/security/access_token/services/tokensyncmanager/test/unittest/token_sync_service/
Dtoken_sync_service_test.cpp272 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
287 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
315 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
343 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
358 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
374 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
390 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
405 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
429 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
467 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
[all …]

1234567