Home
last modified time | relevance | path

Searched defs:cmd (Results 1 – 25 of 173) 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.cpp301 string cmd = "SIGFPE"; variable
321 string cmd = "SIGFPE"; variable
341 string cmd = "SIGILL"; variable
361 string cmd = "SIGILL"; variable
381 string cmd = "triSIGILL"; variable
401 string cmd = "triSIGILL"; variable
421 string cmd = "SIGSEGV"; variable
441 string cmd = "SIGSEGV"; variable
461 string cmd = "triSIGSEGV"; variable
481 string cmd = "triSIGSEGV"; variable
[all …]
/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
112 std::string cmd = "hidumper --mem"; variable
125 std::string cmd = "hidumper --mem"; variable
138 std::string cmd = "hidumper --mem"; variable
184 const std::string cmd = "ps -ef"; variable
/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/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()
75 std::unique_ptr<Command> cmd = std::make_unique<Command>(transferParams_.get()); in CommandsParser() local
117 bool TransferManager::RegisterForRetry(const std::string &cmd) in RegisterForRetry()
143 std::string cmd = ""; in ReloadForRetry() local
159 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/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
206 vector<std::string> cmd = {"-time_info_dump"}; variable
224 vector<std::string> cmd = {"-h"}; variable
243 vector<std::string> cmd = {"-ohos_account_infos"}; variable
261 vector<std::string> cmd = {"-os_account_infos"}; variable
357 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/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/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/location/test/location_gnss/source/
Dgnss_ability_test.cpp1271 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1287 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1303 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1319 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1335 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1351 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1367 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1383 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1399 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1415 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
[all …]
/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/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/update/updater/test/unittest/applypatch_test/
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()
67 std::shared_ptr<Command> cmd = std::make_shared<Command>(transferParams.get()); variable
/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.cpp148 std::string cmd; in RunAsDumpCommand() local
171 ErrCode NotificationShellCommand::RunDumpCmd(const std::string& cmd, const std::string& bundle, in RunDumpCmd()
190 void NotificationShellCommand::SetDumpCmdInfo(std::string &cmd, std::string &bundle, int32_t &userI… in SetDumpCmdInfo()
275 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/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
Dshell_catcher.cpp31 bool ShellCatcher::Initialize(const std::string& cmd, int type, int catcherPid) in Initialize()
112 bool ShellCatcher::ReadShellToFile(int writeFd, const std::string& cmd) in ReadShellToFile()
/base/security/access_token/services/tokensyncmanager/test/unittest/token_sync_service/
Dtoken_sync_service_test.cpp278 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
293 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
321 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
349 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
364 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
380 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
396 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
411 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
435 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
473 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable
[all …]

1234567