| /base/hiviewdfx/hidumper/test/unittest/common/ |
| D | sa_dumper_test.cpp | 54 std::string cmd = "hidumper -s 1201 -a '-p Faultlogger'"; variable 68 std::string cmd = "hidumper -s WindowManagerService -a -a"; variable 81 std::string cmd = "hidumper -s 10 -a allInfo"; variable 94 std::string cmd = "hidumper -s 1904 -a -a"; variable 106 std::string cmd = "hidumper -s AbilityManagerService -a -l"; variable 119 std::string cmd = "hidumper -s DisplayManagerService -a '-s -a'"; variable 132 std::string cmd = "hidumper -s MultimodalInput -a -w"; variable 146 std::string cmd = "hidumper -s 10 -a -h > " + path; variable 160 std::string cmd = "hidumper -s 10 -a -h --zip"; variable 173 std::string cmd = "hidumper -s AbilityManagerService -a '-a'"; variable [all …]
|
| D | memory_dumper_test.cpp | 65 std::string cmd = "hidumper --mem"; variable 78 std::string cmd = "hidumper --mem"; variable 91 std::string cmd = "hidumper --mem 1"; variable 114 std::string cmd = "hidumper --mem"; variable 127 std::string cmd = "hidumper --mem"; variable 144 std::string cmd = "hidumper --mem"; variable 157 std::string cmd = "hidumper --mem --zip"; variable 173 std::string cmd = "hidumper --mem " + std::to_string(pid); variable 206 std::string cmd = "hidumper --mem " + std::to_string(pid); variable 227 std::string cmd = "hidumper --mem " + std::to_string(pid); variable [all …]
|
| D | hidumper_test_utils.cpp | 30 bool HidumperTestUtils::IsExistInCmdResult(const std::string &cmd, const std::string &str) in IsExistInCmdResult() 36 bool HidumperTestUtils::IsExistStrInFile(const std::string &cmd, const std::string &str, const std:… in IsExistStrInFile() 62 std::string cmd = "pidof " + processName; in GetPidByName() local 72 bool HidumperTestUtils::GetSpecialLine(const std::string &cmd, const std::string &str, std::string … in GetSpecialLine()
|
| /base/hiviewdfx/faultloggerd/test/systemtest/ |
| D | faultloggerd_system_test.cpp | 348 string cmd = "SIGFPE"; variable 368 string cmd = "SIGFPE"; variable 388 string cmd = "SIGILL"; variable 408 string cmd = "SIGILL"; variable 428 string cmd = "triSIGILL"; variable 448 string cmd = "triSIGILL"; variable 468 string cmd = "SIGSEGV"; variable 488 string cmd = "SIGSEGV"; variable 508 string cmd = "triSIGSEGV"; variable 528 string cmd = "triSIGSEGV"; variable [all …]
|
| /base/hiviewdfx/hilog/test/unittest/common/ |
| D | hilogtool_test.cpp | 29 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/ |
| D | unit_test.cpp | 70 …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/startup/init/services/init/standard/ |
| D | init_cmdexecutor.c | 33 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/ |
| D | transfer_manager.cpp | 36 bool TransferManager::CommandsExecute(int fd, Command &cmd) in CommandsExecute() 55 static bool JudgeBlockVerifyCmdType(Command &cmd) in JudgeBlockVerifyCmdType() 104 std::unique_ptr<Command> cmd = std::make_unique<Command>(transferParams_.get()); in CommandsParser() local 152 bool TransferManager::RegisterForRetry(const std::string &cmd) in RegisterForRetry() 178 std::string cmd = ""; in ReloadForRetry() local 186 bool TransferManager::CheckResult(const CommandResult result, const std::string &cmd, const Command… in CheckResult()
|
| /base/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
| D | shell_catcher.cpp | 35 bool ShellCatcher::Initialize(const std::string& cmd, int type, int catcherPid) in Initialize() 190 std::string cmd = "-w " + focusWindowId_ + cmdSuffix; in DoScbCatcher() local 198 … std::string cmd = (catcherType_ == CATCHER_SCBSESSION) ? "-b SCBScenePanel getContainerSession" : in DoScbCatcher() local 226 std::string cmd = "-b EventExclusiveCommander getAllEventExclusiveCaller"; in DoOtherCatcher() local 232 std::string cmd = "-b SCBGestureManager getAllGestureEnableCaller"; in DoOtherCatcher() local 238 std::string cmd = "-p 0"; in DoOtherCatcher() local 279 bool ShellCatcher::ReadShellToFile(int writeFd, const std::string& cmd) in ReadShellToFile()
|
| /base/account/os_account/services/accountmgr/test/unittest/common/account_mgr_service_test/ |
| D | account_dump_helper_test.cpp | 129 vector<std::string> cmd; variable 160 vector<std::string> cmd = {"-ohos_account_infos"}; variable 189 vector<std::string> cmd = {"-os_account_infos"}; variable 209 vector<std::string> cmd = {"-time_info_dump"}; variable 227 vector<std::string> cmd = {"-h"}; variable 246 vector<std::string> cmd = {"-ohos_account_infos"}; variable 264 vector<std::string> cmd = {"-os_account_infos"}; variable 360 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/ |
| D | mk_agree.c | 83 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() 194 static int32_t StartMkAgreeCmd(BaseCmd *cmd, CJson **out) in StartMkAgreeCmd() 208 static int32_t ProcessMkAgreeCmd(BaseCmd *cmd, const CJson *in, CJson **out, CmdState *returnState) in ProcessMkAgreeCmd() 221 static void DestroyMkAgreeCmd(BaseCmd *cmd) in DestroyMkAgreeCmd() 234 static int32_t InitMkAgreeTask(MkAgreeCmd *cmd, const MkAgreeParams *params, bool isClient) in InitMkAgreeTask() 269 static int32_t InitMkAgreeCmd(MkAgreeCmd *cmd, const MkAgreeParams *params, in InitMkAgreeCmd() 296 MkAgreeCmd *cmd = (MkAgreeCmd *)HcMalloc(sizeof(MkAgreeCmd), 0); in CreateMkAgreeCmd() local
|
| /base/theme/screenlock_mgr/test/unittest/ |
| D | screenlock_command_test.cpp | 53 auto cmd = std::make_shared<Command>(std::vector<std::string>({ "-all" }), "Show all", variable 74 auto cmd = std::make_shared<Command>(std::vector<std::string>({ "-all" }), "Show all", variable 94 auto cmd = std::make_shared<Command>(std::vector<std::string>({ "-all" }), "Show all", variable 114 auto cmd = std::make_shared<Command>(std::vector<std::string>({ "-all" }), "Show all"); variable
|
| /base/hiviewdfx/hiview/test/moduletest/common/ |
| D | hiview_plugin_platform_module_test.cpp | 24 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/ |
| D | hievent_lite_command.c | 39 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/ |
| D | cmd_dumper.cpp | 41 std::string cmd = ptrDumpCfg_->target_; in PreExecute() local 107 DumpStatus CMDDumper::GetCmdInterface(const std::string& cmd, StringMatrix dumpDatas) in GetCmdInterface() 161 void CMDDumper::ReplacePidInCmd(std::string &cmd, int pid) in ReplacePidInCmd() 170 void CMDDumper::ReplaceCpuIdInCmd(std::string &cmd, int cpuId) in ReplaceCpuIdInCmd()
|
| /base/update/updater/test/unittest/applypatch_test/ |
| D | transfer_manager_unittest.cpp | 54 std::string cmd = "zero 2,0,1"; variable 62 string cmd = tm->ReloadForRetry(); variable
|
| D | commands_unittest.cpp | 59 Command *cmd = new Command(transferParams.get()); variable 77 Command *cmd = new Command(transferParams.get()); variable
|
| /base/startup/init/services/modules/reboot/ |
| D | reboot_static.c | 66 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/powermgr/thermal_manager/test/unittest/src/ |
| D | thermal_client_api_test.cpp | 36 std::string cmd = "test_cmd" + std::to_string(i); variable 58 std::string cmd = "test_cmd" + std::to_string(i); variable
|
| /base/powermgr/power_manager/utils/shell/src/ |
| D | main.cpp | 56 OHOS::PowerMgr::PowerShellCommand cmd(argc, argv); in Loop() local 72 OHOS::PowerMgr::PowerShellCommand cmd(argc, argv); in main() local
|
| /base/security/access_token/services/tokensyncmanager/test/unittest/ |
| D | token_sync_service_test.cpp | 290 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable 305 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable 333 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable 361 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable 376 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable 392 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable 408 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable 423 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable 446 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable 479 auto cmd = std::make_shared<TestBaseRemoteCommand>(); variable [all …]
|
| /base/startup/init/services/begetctl/ |
| D | dump_service.c | 32 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/hiviewdfx/faultloggerd/test/moduletest/ |
| D | faultloggerd_module_test.cpp | 34 std::string cmd = "start " + serviceName; in WaitForServiceReady() local 89 std::string cmd = "cat /proc/" + std::to_string(getpid()) + "/maps"; variable
|
| /base/startup/appspawn/service/devicedebug/ |
| D | devicedebug_main.c | 29 char *cmd; member 52 APPSPAWN_STATIC DeviceDebugManagerCmdInfo* DeviceDebugCmdCheck(const char *cmd) in DeviceDebugCmdCheck()
|
| /base/startup/appspawn/service/hnp/ |
| D | hnp_main.c | 31 char *cmd; member 70 static NativeManagerCmdInfo* HnpCmdCheck(const char *cmd) in HnpCmdCheck()
|