Home
last modified time | relevance | path

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

12345678

/base/hiviewdfx/faultloggerd/test/systemtest/
Dfaultloggerd_system_test.cpp333 string cmd = "SIGFPE"; variable
353 string cmd = "SIGFPE"; variable
373 string cmd = "SIGILL"; variable
393 string cmd = "SIGILL"; variable
413 string cmd = "triSIGILL"; variable
433 string cmd = "triSIGILL"; variable
453 string cmd = "SIGSEGV"; variable
473 string cmd = "SIGSEGV"; variable
493 string cmd = "triSIGSEGV"; variable
513 string cmd = "triSIGSEGV"; variable
[all …]
/base/security/selinux_adapter/test/unittest/service_checker/
Dunit_test.cpp54 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { list } for service=hdf_devmgr_class… variable
71 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { get } for service=" + TEST_SERVICE_… variable
88 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { add } for service=" + TEST_SERVICE_… variable
105 std::string cmd = variable
124 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { get } for service=" + TEST_SERVICE_… variable
142 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { get_remote } for service=" + TEST_S… variable
160 …std::string cmd = "hilog -T Selinux -x | grep 'avc: denied { add } for service=" + TEST_SERVICE_… variable
/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/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/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/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/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/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/hiviewdfx/hiview/plugins/eventlogger/log_catcher/
Dshell_catcher.cpp31 bool ShellCatcher::Initialize(const std::string& cmd, int type, int catcherPid) in Initialize()
66 std::string cmd = "-w " + std::to_string(windowId) + " -default"; in CaDoInChildProcesscatcher() local
133 bool ShellCatcher::ReadShellToFile(int writeFd, const std::string& cmd) in ReadShellToFile()
/base/location/test/location_gnss/source/
Dgnss_ability_test.cpp1283 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1299 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1315 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1331 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1347 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1363 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1379 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1395 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1411 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
1427 std::unique_ptr<LocationCommand> cmd = std::make_unique<LocationCommand>(); variable
[all …]
/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/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()
66 std::shared_ptr<Command> cmd = std::make_shared<Command>(transferParams.get()); variable
/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
73 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
/base/security/access_token/services/tokensyncmanager/test/unittest/
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 …]
/base/powermgr/power_manager/utils/shell/src/
Dmain.cpp22 OHOS::PowerMgr::PowerShellCommand 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/notification/distributed_notification_service/tools/dump/src/
Dmain.cpp20 OHOS::Notification::NotificationShellCommand cmd(argc, argv); in main() local
/base/customization/enterprise_device_management/tools/edm/src/
Dmain.cpp22 OHOS::EDM::EdmCommand cmd(argc, argv); in main() local

12345678