| /base/hiviewdfx/hidumper/test/unittest/common/ |
| 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 | 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 134 std::string cmd = "hidumper -s 10 -a -h > " + path; variable 148 std::string cmd = "hidumper -s 10 -a -h --zip"; variable 161 std::string cmd = "hidumper -s AbilityManagerService -a '-a'"; variable 175 std::string cmd = "hidumper --cpuusage 1"; in __anondf9d01c50102() local [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/hitrace/test/unittest/hitrace_cmd/ |
| D | hitrace_cmd_test.cpp | 66 static void RunCmd(const string& cmd) in RunCmd() 84 bool CheckTraceCommandOutput(const string& cmd, const std::vector<std::string>& keywords) in CheckTraceCommandOutput() 132 std::string cmd = "hitrace --trace_level I"; variable 151 std::string cmd = "hitrace --trace_level K"; variable 170 std::string cmd = "hitrace --trace_level I"; variable 199 std::string cmd = "hitrace --get_level"; variable 221 std::string cmd = "hitrace --trace_begin --record sched -b 102400"; variable 244 std::string cmd = "hitrace --trace_begin --record sched -b 255"; variable 275 std::string cmd = "hitrace --trace_begin --record sched -b 1048577"; variable 306 std::string cmd = "hitrace --trace_begin --record sched -b 255"; variable [all …]
|
| /base/hiviewdfx/faultloggerd/test/systemtest/ |
| D | faultloggerd_system_test.cpp | 349 string cmd = "SIGFPE"; variable 369 string cmd = "SIGFPE"; variable 389 string cmd = "SIGILL"; variable 409 string cmd = "SIGILL"; variable 429 string cmd = "triSIGILL"; variable 449 string cmd = "triSIGILL"; variable 469 string cmd = "SIGSEGV"; variable 489 string cmd = "SIGSEGV"; variable 509 string cmd = "triSIGSEGV"; variable 529 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/hiviewdfx/hiview/plugins/eventlogger/log_catcher/ |
| D | shell_catcher.cpp | 31 bool ShellCatcher::Initialize(const std::string& cmd, int type, int catcherPid) in Initialize() 151 std::string cmd = "-w " + focusWindowId_ + cmdSuffix; in DoScbCatcher() local 159 … std::string cmd = (catcherType_ == CATCHER_SCBSESSION) ? "-b SCBScenePanel getContainerSession" : in DoScbCatcher() local 166 std::string cmd = "-v all -simplify"; in DoScbCatcher() local 193 std::string cmd = "-b EventExclusiveCommander getAllEventExclusiveCaller"; in DoOtherCatcher() local 199 std::string cmd = "-b SCBGestureManager getAllGestureEnableCaller"; in DoOtherCatcher() local 205 std::string cmd = "-p 0"; in DoOtherCatcher() local 245 bool ShellCatcher::ReadShellToFile(int writeFd, const std::string& cmd) in ReadShellToFile()
|
| /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/tee/tee_os_framework/framework/gtask/src/framework/ |
| D | global_task.c | 150 bool is_abort_cmd(const smc_cmd_t *cmd) in is_abort_cmd() 161 void restore_cmd_in(const smc_cmd_t *cmd) in restore_cmd_in() 186 static int get_last_in_cmd(smc_cmd_t *cmd) in get_last_in_cmd() 246 int put_last_out_cmd(const smc_cmd_t *cmd) in put_last_out_cmd() 279 void ns_cmd_response(smc_cmd_t *cmd) in ns_cmd_response() 299 TEE_Result handle_time_adjust(const smc_cmd_t *cmd) in handle_time_adjust() 348 static TEE_Result processs_opensession(smc_cmd_t *cmd, uint32_t cmd_type, uint32_t task_id, bool *a… in processs_opensession() 378 TEE_Result process_ta_common_cmd(smc_cmd_t *cmd, uint32_t cmd_type, uint32_t task_id, bool *async, in process_ta_common_cmd() 423 TEE_Result get_tee_version(const smc_cmd_t *cmd) in get_tee_version() 448 TEE_Result process_load_image(smc_cmd_t *cmd, bool *async) in process_load_image() [all …]
|
| D | tee_ns_cmd_dispatch.c | 23 static TEE_Result process_async_cmd(smc_cmd_t *cmd, bool *async, bool *handled) in process_async_cmd() 47 static TEE_Result process_cmd_with_audit_event(const smc_cmd_t *cmd) in process_cmd_with_audit_event() 95 static TEE_Result dispatch_ns_global_cmd(smc_cmd_t *cmd, bool *async) in dispatch_ns_global_cmd() 114 TEE_Result dispatch_ns_cmd(smc_cmd_t *cmd) in dispatch_ns_cmd()
|
| D | tee_s_cmd_dispatch.c | 30 static void s_cmd_response(smc_cmd_t *cmd, uint32_t ret_task_id) in s_cmd_response() 50 static void gt_cmd_response(smc_cmd_t *cmd, uint32_t cmd_type, uint32_t ret_task_id) in gt_cmd_response() 59 static void process_ta2ta_cmd(smc_cmd_t *cmd, uint32_t task_id, const struct ta2ta_info_t *ta2ta_in… in process_ta2ta_cmd() 88 smc_cmd_t cmd; in handle_ta2ta_cmd() local 142 static void call_ta_open_session_prop(ta_to_global_msg *ret_msg, const smc_cmd_t *cmd, in call_ta_open_session_prop() 178 static int32_t handle_ta_back_msg(smc_cmd_t *cmd, uint32_t back_cmd, struct session_struct *session, in handle_ta_back_msg() 241 int32_t handle_tee_wait_pending_msg(smc_cmd_t *cmd, uint32_t task_id) in handle_tee_wait_pending_msg() 274 smc_cmd_t cmd; in handle_msg_from_ta() local
|
| /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/account/os_account/services/accountmgr/test/unittest/common/account_mgr_service_test/ |
| D | account_dump_helper_test.cpp | 84 std::string cmd = "rm -rf /data/service/el1/public/account/test*"; in TearDownTestCase() local 131 vector<std::string> cmd; variable 165 vector<std::string> cmd = {"-ohos_account_infos"}; variable 195 vector<std::string> cmd = {"-os_account_infos"}; variable 215 vector<std::string> cmd = {"-time_info_dump"}; variable 233 vector<std::string> cmd = {"-h"}; variable 252 vector<std::string> cmd = {"-ohos_account_infos"}; variable 270 vector<std::string> cmd = {"-os_account_infos"}; variable 366 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/tee/tee_os_framework/framework/gtask/src/manager/ |
| D | session_manager.c | 56 static TEE_Result __attribute__((noinline)) call_ta_invoke_close_session(const smc_cmd_t *cmd, uint… in call_ta_invoke_close_session() 142 TEE_Result async_call_ta_entry(const smc_cmd_t *cmd, uint32_t cmd_type, uint32_t cmd_id) in async_call_ta_entry() 221 void set_tee_return_origin(smc_cmd_t *cmd, TEE_Result ret_origin) in set_tee_return_origin() 229 void set_tee_return(smc_cmd_t *cmd, TEE_Result ret_val) in set_tee_return() 237 static TEE_Result init_ta_service_session(const smc_cmd_t *cmd) in init_ta_service_session() 258 TEE_Result init_ta_context(const smc_cmd_t *cmd) in init_ta_context() 272 static TEE_Result init_ta2ta_session(const smc_cmd_t *cmd) in init_ta2ta_session() 326 static TEE_Result init_ta2ta_service(const smc_cmd_t *cmd) in init_ta2ta_service() 339 static TEE_Result init_ta2ta_service_session(const smc_cmd_t *cmd) in init_ta2ta_service_session() 357 TEE_Result init_ta2ta_agent_context(smc_cmd_t *cmd) in init_ta2ta_agent_context() [all …]
|
| D | mem_manager.c | 398 TEE_Result store_s_cmd(const smc_cmd_t *cmd) in store_s_cmd() 418 TEE_Result cmd_global_ns_get_params(const smc_cmd_t *cmd, uint32_t *param_type, TEE_Param **params) in cmd_global_ns_get_params() 432 bool is_opensession_cmd(const smc_cmd_t *cmd) in is_opensession_cmd() 440 static TEE_Result map_memref_for_gtask(bool ta2ta, const smc_cmd_t *cmd, tee_param_32 p, in map_memref_for_gtask() 475 const smc_cmd_t *cmd, bool ta2ta, uint32_t type) in params_map_for_ta_memref() 524 static TEE_Result set_params_for_ta(uint32_t task_id, const smc_cmd_t *cmd, struct pam_node *node, in set_params_for_ta() 553 static TEE_Result params_map_for_ta(uint32_t task_id, const smc_cmd_t *cmd, struct pam_node *node, … in params_map_for_ta() 587 static TEE_Result map_cmd_to_operation(bool ta2ta, uint32_t *operation_size, const smc_cmd_t *cmd, in map_cmd_to_operation() 633 static TEE_Result operation_map_for_gt(uint32_t task_id, const smc_cmd_t *cmd, uint32_t *param_type… in operation_map_for_gt() 691 TEE_Result cmd_ns_get_params(uint32_t task_id, const smc_cmd_t *cmd, uint32_t *param_type, uint64_t… in cmd_ns_get_params() [all …]
|
| D | agent_manager.c | 55 smc_cmd_t cmd; member 261 static TEE_Result check_agent_param(const smc_cmd_t *cmd, TEE_Param **param, uint32_t *param_type) in check_agent_param() 284 TEE_Result register_agent(const smc_cmd_t *cmd) in register_agent() 335 TEE_Result unregister_agent(const smc_cmd_t *cmd) in unregister_agent() 534 TEE_Result agent_late_init(const smc_cmd_t *cmd) in agent_late_init() 562 TEE_Result set_service_thread_cmd(const smc_cmd_t *cmd, bool *async) in set_service_thread_cmd() 637 static void put_agent_request_cmd(smc_cmd_t *cmd, uint32_t cmd_type, uint32_t agent_id) in put_agent_request_cmd() 648 int32_t handle_ta_agent_back_cmd(smc_cmd_t *cmd) in handle_ta_agent_back_cmd() 720 int32_t handle_service_agent_back_cmd(const smc_cmd_t *cmd) in handle_service_agent_back_cmd() 766 smc_cmd_t cmd; in handle_service_agent_request() local [all …]
|
| /base/tee/tee_os_framework/services/ssa/src/secure_storage_agent/ |
| D | agent.c | 23 static void ssa_msgqueue_add(uint32_t cmd, const union ssa_agent_msg *msg, uint32_t sndr) in ssa_msgqueue_add() 74 static TEE_Result ssa_not_file_operate(uint32_t cmd, uint8_t *msg, uint32_t sndr) in ssa_not_file_operate() 111 static void ssa_deal_msg(uint32_t cmd, uint8_t *ret_msg, size_t msg_len, uint32_t sdr) in ssa_deal_msg() 166 uint32_t cmd; in ssa_wait_msg() local 206 void ssa_send_agent_cmd(uint32_t id, uint32_t cmd, uint32_t *cmd_buff) in ssa_send_agent_cmd() 302 TEE_Result ssa_get_msg(uint32_t *cmd, uint8_t *msg, uint32_t size, uint32_t *sender) in ssa_get_msg() 359 TEE_Result set_caller_info_proc(uint32_t task_id, uint32_t cmd) in set_caller_info_proc()
|
| /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
|
| /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()
|