Home
last modified time | relevance | path

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

123456

/base/security/selinux/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/hilog/test/unittest/common/
Dhilogtool_test.cpp38 int GetCmdLinesFromPopen(const std::string& cmd) in GetCmdLinesFromPopen()
61 std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen()
85 bool IsExistInCmdResult(const std::string &cmd, const std::string &str) in IsExistInCmdResult()
142 std::string cmd = ""; variable
168 std::string cmd = "hilog -b " + level; variable
194 std::string cmd = "hilog -b " + level + " -D " + Uint2HexStr(domain); variable
219 std::string cmd = "hilog -b " + level + " -T " + tag; variable
246 std::string cmd = "hilog -G 512K"; variable
272 std::string cmd = "hilog -g"; variable
292 std::string cmd = "hilog -k on"; variable
[all …]
/base/account/os_account/services/accountmgr/test/unittest/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
206 vector<std::string> cmd = {"-h"}; variable
225 vector<std::string> cmd = {"-ohos_account_infos"}; variable
242 vector<std::string> cmd = {"-ohos_account_infos"}; variable
260 vector<std::string> cmd = {"-os_account_infos"}; variable
356 vector<std::string> cmd = {"This_is_invalid_cmd"}; variable
/base/startup/init/services/init/standard/
Dinit_cmdexecutor.c33 PluginCmd *cmd = NULL; in AddCmdExecutor() local
67 PluginCmd *cmd = groupNode->data.cmd; in RemoveCmdExecutor() local
85 void PluginExecCmd_(PluginCmd *cmd, const char *cmdContent) in PluginExecCmd_()
114 PluginCmd *cmd = groupNode->data.cmd; in PluginExecCmdByName() local
125 PluginCmd *cmd = groupNode->data.cmd; in PluginExecCmd() local
143 PluginCmd *cmd = groupNode->data.cmd; in CompareCmdId() local
165 PluginCmd *cmd = GetPluginCmdByIndex(index); in GetPluginCmdNameByIndex() local
174 PluginCmd *cmd = GetPluginCmdByIndex(index); in PluginExecCmdByCmdIndex() local
203 PluginCmd *cmd = groupNode->data.cmd; in PluginGetCmdIndex() 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/faultloggerd/test/moduletest/
Dfaultloggerd_module_test.cpp27 std::string GetCmdResultFromPopen(const std::string& cmd) in GetCmdResultFromPopen()
51 std::string cmd = "pidof " + serviceName; in GetServicePid() local
64 std::string cmd = "start " + serviceName; in WaitForServiceReady() local
101 std::string cmd = "cat /proc/" + std::to_string(getpid()) + "/maps"; variable
/base/update/updater/services/applypatch/
Dtransfer_manager.cpp67 std::unique_ptr<Command> cmd; in CommandsParser() local
111 bool TransferManager::RegisterForRetry(const std::string &cmd) in RegisterForRetry()
142 std::string cmd = ""; in ReloadForRetry() local
158 bool TransferManager::CheckResult(const CommandResult result, const std::string &cmd, const Command… in CheckResult()
/base/security/selinux/test/unittest/paraperm_checker/
Dunit_test.cpp144 …std::string cmd = "dmesg | grep 'avc: denied { read } for parameter=" + TEST_NOT_EXIST_PARA_NAME… variable
164 std::string cmd = "dmesg | grep 'avc: denied { read } for parameter=" + TEST_PARA_NAME + variable
194 …std::string cmd = "dmesg | grep 'avc: denied { set } for parameter=" + TEST_NOT_EXIST_PARA_NAME + variable
220 std::string cmd = "dmesg | grep 'avc: denied { set } for parameter=" + TEST_PARA_NAME + variable
/base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
Devent_log_task.cpp55 void EventLogTask::AddLog(const std::string &cmd) in AddLog()
218 bool EventLogTask::PeerBinderCapture(const std::string &cmd) in PeerBinderCapture()
248 std::vector<std::string> cmd = {"hidumper", "-s", "WindowManagerService", "-a", "-a"}; in WMSUsageCapture() local
255 std::vector<std::string> cmd = {"hidumper", "-s", "AbilityManagerService", "-a", "-a"}; in AMSUsageCapture() local
262 std::vector<std::string> cmd = {"hidumper", "--cpuusage"}; in CpuUsageCapture() local
269 std::vector<std::string> cmd = {"hidumper", "--mem", std::to_string(cmdCatcher->GetPid())}; in MemoryUsageCapture() local
276 std::vector<std::string> cmd = {"hidumper", "-s", "PowerManagerService", "-a", "-s"}; in PMSUsageCapture() local
/base/hiviewdfx/hidumper/test/unittest/common/
Dmemory_dumper_test.cpp55 bool MemoryDumperTest::IsExistInCmdResult(const std::string &cmd, const std::string &str) in IsExistInCmdResult()
80 std::string cmd = "hidumper --mem"; variable
97 std::string cmd = "hidumper --mem"; variable
143 const std::string cmd = "ps -ef"; variable
/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/services/native/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.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/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/adapter/utility/platform/ohos/
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()
/base/powermgr/power_manager/utils/shell/src/
Dmain.cpp22 OHOS::PowerMgr::PowerShellCommand 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/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/customization/enterprise_device_management/tools/edm/src/
Dmain.cpp22 OHOS::EDM::EdmCommand cmd(argc, argv); in main() local
/base/notification/common_event_service/tools/cem/src/
Dmain.cpp22 OHOS::EventFwk::CommonEventCommand cmd(argc, argv); in main() local
/base/customization/enterprise_device_management/test/unittest/src/
Dcmd_utils.cpp21 void CmdUtils::ExecCmdSync(const std::string &cmd) in ExecCmdSync()
/base/telephony/ril_adapter/services/vendor/src/
Dat_call.c389 char cmd[MAX_CMD_LENGTH] = {0}; in ReqDial() local
441 char cmd[MAX_CMD_LENGTH] = {0}; in ReqHangup() local
534 char cmd[MAX_CMD_LENGTH] = {0}; in ReqSetClip() local
594 char cmd[MAX_CMD_LENGTH] = {0}; in ReqSetClir() local
616 char cmd[MAX_CMD_LENGTH] = {0}; in ReqStartDtmf() local
638 char cmd[MAX_CMD_LENGTH] = {0}; in ReqSendDtmf() local
671 char cmd[MAX_CMD_LENGTH] = {0}; in ReqStopDtmf() local
725 char cmd[MAX_CMD_LENGTH] = {0}; in ReqCombineConference() local
760 char cmd[MAX_CMD_LENGTH] = {0}; in ReqSeparateConference() local
797 char cmd[MAX_CMD_LENGTH] = {0}; in ReqCallSupplement() local
[all …]

123456