| /base/customization/enterprise_device_management/services/edm_plugin/src/ |
| D | iptables_rule_plugin.cpp | 61 std::string command("-t filter -n -v -L --line-number"); in OnGetPolicy() local 62 …et = NetManagerStandard::NetsysController::GetInstance().SetIptablesCommandForRes(command, result); in OnGetPolicy() 77 std::string command; in AddIptablesFilterRule() local 78 if (!ConvertAddFilterToIptablesCommand(addFilter, command)) { in AddIptablesFilterRule() 84 …et = NetManagerStandard::NetsysController::GetInstance().SetIptablesCommandForRes(command, result); in AddIptablesFilterRule() 125 …ugin::ConvertAddFilterToIptablesCommand(const IPTABLES::AddFilter &addFilter, std::string &command) in ConvertAddFilterToIptablesCommand() argument 127 command = "-t filter"; in ConvertAddFilterToIptablesCommand() 129 command.append(" -A"); in ConvertAddFilterToIptablesCommand() 131 command.append(" -I"); in ConvertAddFilterToIptablesCommand() 136 if (!ConvertChainCommand(addFilter.action, addFilter.direction, command)) { in ConvertAddFilterToIptablesCommand() [all …]
|
| /base/account/os_account/tools/test/moduletest/acm/ |
| D | account_command_util.cpp | 38 …std::string command = TOOL_NAME + " create -n " + STRING_LOCAL_ACCOUNT_NAME + " -t " + STRING_TYPE; in CreateOsAccount() local 39 GTEST_LOG_(INFO) << "command = " << command; in CreateOsAccount() 41 std::string commandResult = ToolSystemTest::ExecuteCommand(command); in CreateOsAccount() 58 std::string command = TOOL_NAME + " delete -i " + localAccountId; in DeleteLastOsAccount() local 59 GTEST_LOG_(INFO) << "command = " << command; in DeleteLastOsAccount() 61 std::string commandResult = ToolSystemTest::ExecuteCommand(command); in DeleteLastOsAccount() 79 std::string command = TOOL_NAME + " dump -i " + localAccountId; in DumpLastOsAccount() local 80 GTEST_LOG_(INFO) << "command = " << command; in DumpLastOsAccount() 82 std::string commandResult = ToolSystemTest::ExecuteCommand(command); in DumpLastOsAccount() 100 std::string command = TOOL_NAME + " switch -i " + localAccountId; in SwitchToFirstOsAccount() local [all …]
|
| D | account_command_set_module_test.cpp | 74 …std::string command = TOOL_NAME + " set -i " + localAccountId + " -c " + STRING_CONSTRAINT_INVALID; variable 75 GTEST_LOG_(INFO) << "command = " << command; 77 std::string commandResult = ToolSystemTest::ExecuteCommand(command); 101 …std::string command = TOOL_NAME + " set -i " + localAccountId + " -c " + STRING_CONSTRAINT + " -e"; variable 102 GTEST_LOG_(INFO) << "command = " << command; 104 std::string commandResult = ToolSystemTest::ExecuteCommand(command); 107 command = TOOL_NAME + " set -i " + localAccountId + " -c " + STRING_CONSTRAINT + " -e"; 108 GTEST_LOG_(INFO) << "command = " << command; 110 commandResult = ToolSystemTest::ExecuteCommand(command);
|
| D | account_command_delete_module_test.cpp | 62 std::string command = TOOL_NAME + " " + cmd_ + " -i " + STRING_LOCAL_ACCOUNT_ID_INVALID; variable 63 GTEST_LOG_(INFO) << "command = " << command; 65 std::string commandResult = ToolSystemTest::ExecuteCommand(command); 77 std::string command = TOOL_NAME + " " + cmd_ + " -i " + STRING_LOCAL_ACCOUNT_ID_INVALID_TWO; variable 78 GTEST_LOG_(INFO) << "command = " << command; 80 std::string commandResult = ToolSystemTest::ExecuteCommand(command);
|
| D | account_command_switch_module_test.cpp | 62 std::string command = TOOL_NAME + " " + cmd_ + " -i " + STRING_LOCAL_ACCOUNT_ID_INVALID; variable 63 GTEST_LOG_(INFO) << "command = " << command; 65 std::string commandResult = ToolSystemTest::ExecuteCommand(command); 77 std::string command = TOOL_NAME + " " + cmd_ + " -i " + STRING_LOCAL_ACCOUNT_ID_INVALID_TWO; variable 78 GTEST_LOG_(INFO) << "command = " << command; 80 std::string commandResult = ToolSystemTest::ExecuteCommand(command);
|
| D | account_command_dump_module_test.cpp | 62 std::string command = TOOL_NAME + " " + cmd_ + " -i " + STRING_LOCAL_ACCOUNT_ID_INVALID; variable 63 GTEST_LOG_(INFO) << "command = " << command; 65 std::string commandResult = ToolSystemTest::ExecuteCommand(command); 77 std::string command = TOOL_NAME + " " + cmd_ + " -i " + STRING_LOCAL_ACCOUNT_ID_INVALID_TWO; variable 78 GTEST_LOG_(INFO) << "command = " << command; 80 std::string commandResult = ToolSystemTest::ExecuteCommand(command);
|
| /base/useriam/user_auth_framework/test/unittest/executors/ |
| D | auth_command_unit_test.cpp | 88 auto command = Common::MakeShared<AuthCommand>(executor, testScheduleId, attr, messenger); variable 89 ASSERT_NE(command, nullptr); 90 command->OnResult(testResultCode, testExtraInfo); 109 auto command = Common::MakeShared<AuthCommand>(executor, testScheduleId, attr, messenger); variable 110 ASSERT_NE(command, nullptr); 111 command->OnResult(testResultCode, testExtraInfo); 139 auto command = Common::MakeShared<AuthCommand>(executor, testScheduleId, attr, messenger); variable 140 ASSERT_NE(command, nullptr); 141 command->OnResult(testResultCode); 156 auto command = Common::MakeShared<AuthCommand>(executor, testScheduleId, attr, messenger); variable [all …]
|
| D | identify_command_unit_test.cpp | 88 auto command = Common::MakeShared<IdentifyCommand>(executor, testScheduleId, attr, messenger); variable 89 ASSERT_NE(command, nullptr); 90 command->OnResult(testResultCode, testExtraInfo); 110 auto command = Common::MakeShared<IdentifyCommand>(executor, testScheduleId, attr, messenger); variable 111 ASSERT_NE(command, nullptr); 112 command->OnResult(testResultCode, testExtraInfo); 140 auto command = Common::MakeShared<IdentifyCommand>(executor, testScheduleId, attr, messenger); variable 141 ASSERT_NE(command, nullptr); 142 command->OnResult(testResultCode); 157 auto command = Common::MakeShared<IdentifyCommand>(executor, testScheduleId, attr, messenger); variable [all …]
|
| D | enroll_command_unit_test.cpp | 88 auto command = Common::MakeShared<EnrollCommand>(executor, testScheduleId, attr, messenger); variable 89 ASSERT_NE(command, nullptr); 90 command->OnResult(testResultCode, testExtraInfo); 110 auto command = Common::MakeShared<EnrollCommand>(executor, testScheduleId, attr, messenger); variable 111 ASSERT_NE(command, nullptr); 112 command->OnResult(testResultCode, testExtraInfo); 140 auto command = Common::MakeShared<EnrollCommand>(executor, testScheduleId, attr, messenger); variable 141 ASSERT_NE(command, nullptr); 142 command->OnResult(testResultCode); 157 auto command = Common::MakeShared<EnrollCommand>(executor, testScheduleId, attr, messenger); variable [all …]
|
| /base/notification/common_event_service/tools/test/systemtest/cem/ |
| D | common_event_command_dump_system_test.cpp | 35 std::string ExecuteCommand(const std::string &command) in ExecuteCommand() argument 38 FILE *file = popen(command.c_str(), "r"); in ExecuteCommand() 114 std::string command = "cem dump -a"; variable 115 std::string commandResult = ExecuteCommand(command); 131 std::string command = "cem dump -e " + STRING_EVENT; variable 132 std::string commandResult = ExecuteCommand(command); 159 std::string command = "cem dump -e " + STRING_EVENT; variable 160 std::string commandResult = ExecuteCommand(command);
|
| D | common_event_command_publish_system_test.cpp | 43 std::string ExecuteCommand(const std::string &command) in ExecuteCommand() argument 46 FILE *file = popen(command.c_str(), "r"); in ExecuteCommand() 170 std::string command = "cem publish -e " + STRING_EVENT; variable 171 std::string commandResult = ExecuteCommand(command); 230 …std::string command = "cem publish -e " + STRING_EVENT + " -c " + STRING_CODE + " -d " + STRING_DA… variable 231 std::string commandResult = ExecuteCommand(command); 290 std::string command = "cem publish -e " + STRING_EVENT + " -c " + STRING_CODE_TWO; variable 291 std::string commandResult = ExecuteCommand(command); 350 std::string command = "cem publish -e " + STRING_EVENT + " -d " + STRING_DATA_TWO; variable 351 std::string commandResult = ExecuteCommand(command);
|
| /base/inputmethod/imf/services/dfx/src/ |
| D | inputmethod_dump.cpp | 57 std::string command = ""; in Dump() local 59 command = args.at(SUB_CMD_NAME); in Dump() 63 if (command == CMD_HELP) { in Dump() 65 } else if (command == CMD_ALL_DUMP) { in Dump() 73 IMSA_HILOGI("InputmethodDump::Dump command=%{public}s.", command.c_str()); in Dump()
|
| /base/telephony/ril_adapter/services/vendor/include/ |
| D | at_support.h | 56 int32_t SendCommandLock(const char *command, const char *prefix, long long timeout, ResponseInfo **… 59 const char *command, const char *prefix, long long timeout, ResponseInfo **outResponse); 62 …const char *command, const char *smsPdu, const char *prefix, long long timeout, ResponseInfo **out… 64 int32_t SendCommandNoLock(const char *command, long long timeout, ResponseInfo **outResponse);
|
| /base/hiviewdfx/hidumper/ |
| D | README.md | 16 …f HiDumper, which provides functions such as information classification, command request distribut… 17 - Dumpers: Exports various information, including file information, command information, CPU usag… 61 1. Access the device CLI, and run the **hidumper -h** command to obtain the help information, whic… 67 2. Run the **hidumper -lc** command to obtain the system information cluster list. 73 3. Run the **hidumper -c** command to obtain all information that is classified by **base** and **… 86 5. Run the **hidumper -ls** command to obtain the system ability list. 92 6. Run the **hidumper -s** command to obtain all system ability information. 98 7. Run the **hidumper -s 3301 -a "-h"** command to obtain the help information about the ability w… 104 8. Run the **hidumper -s 3008** command to obtain all information about the ability whose ID is **… 110 9. Run the **hidumper -e** command to obtain the crash information generated by the Faultlog modul… [all …]
|
| /base/update/updater/services/flashd/daemon/ |
| D | daemon.cpp | 98 const uint16_t command, uint8_t *payload, const int payloadSize) in RedirectToTask() argument 102 WRITE_LOG(LOG_DEBUG, "RedirectToTask command %d", command); in RedirectToTask() 103 switch (command) { in RedirectToTask() 114 … ret = TaskCommandDispatch<HdcDaemonUnity>(hTaskInfo, TYPE_UNITY, command, payload, payloadSize); in RedirectToTask() 118 … ret = TaskCommandDispatch<HdcShell>(hTaskInfo, TYPE_SHELL, command, payload, payloadSize); in RedirectToTask() 125 ret = TaskCommandDispatch<HdcFile>(hTaskInfo, TASK_FILE, command, payload, payloadSize); in RedirectToTask() 137 … ret = TaskCommandDispatch<DaemonUpdater>(hTaskInfo, TASK_UPDATER, command, payload, payloadSize); in RedirectToTask() 231 bool HdcDaemon::FetchCommand(HSession hSession, const uint32_t channelId, const uint16_t command, u… in FetchCommand() argument 234 WRITE_LOG(LOG_DEBUG, "FetchCommand command %d", command); in FetchCommand() 236 if (!hSession->handshakeOK && command != CMD_KERNEL_HANDSHAKE) { in FetchCommand() [all …]
|
| /base/useriam/fingerprint_auth/services/src/ |
| D | sa_command_manager.cpp | 72 for (const auto &command : commands) { in ProcessSaCommands() local 73 IAM_LOGI("process command %{public}d", command.id); in ProcessSaCommands() 74 auto it = commandId2Processors_.find(command.id); in ProcessSaCommands() 76 for (const auto &processor : commandId2Processors_[command.id]) { in ProcessSaCommands() 78 UserAuth::ResultCode result = processor->ProcessSaCommand(executor, command); in ProcessSaCommands()
|
| /base/useriam/user_auth_framework/frameworks/native/client/src/ |
| D | executor_callback_service.cpp | 49 const Attributes &command) in OnBeginExecute() argument 56 return callback_->OnBeginExecute(scheduleId, publicKey, command); in OnBeginExecute() 59 int32_t ExecutorCallbackService::OnEndExecute(uint64_t scheduleId, const Attributes &command) in OnEndExecute() argument 66 return callback_->OnEndExecute(scheduleId, command); in OnEndExecute()
|
| /base/startup/init/services/modules/reboot/ |
| D | reboot_misc.c | 30 char command[MAX_COMMAND_SIZE]; member 81 return strcpy_s(reason, size, msg.command); in GetRebootReasonFromMisc() 97 ret = snprintf_s(msg.command, MAX_COMMAND_SIZE, MAX_COMMAND_SIZE - 1, "%s", boot); in UpdateMiscMessage() 99 msg.command[MAX_COMMAND_SIZE - 1] = 0; in UpdateMiscMessage() 101 ret = memset_s(msg.command, MAX_COMMAND_SIZE, 0, MAX_COMMAND_SIZE); in UpdateMiscMessage()
|
| /base/startup/init/test/unittest/lite/ |
| D | cmd_func_test.cpp | 314 std::string command = cmdStr + cmdContentStr; variable 315 ParseCmdLine(command.c_str(), &curCmdLine); 333 std::string command = cmdStr + cmdContentStr; variable 334 ParseCmdLine(command.c_str(), &curCmdLine); 350 command = cmdStr + cmdContentStr; 351 ParseCmdLine(command.c_str(), &curCmdLine); 378 std::string command = cmdStr + cmdContentStr; variable 379 ParseCmdLine(command.c_str(), &curCmdLine); 385 command = cmdStr + cmdContentStr; 386 ParseCmdLine(command .c_str(), &curCmdLine); [all …]
|
| /base/useriam/user_auth_framework/test/fuzztest/services/servicecore_fuzzer/inc/ |
| D | common_dummy.h | 87 const Attributes &command) in BeginExecute() argument 92 static_cast<void>(command); in BeginExecute() 96 int32_t EndExecute(uint64_t scheduleId, const Attributes &command) in EndExecute() argument 100 static_cast<void>(command); in EndExecute()
|
| /base/useriam/user_auth_framework/frameworks/native/executors/src/framework/ |
| D | framework_executor_callback.cpp | 170 …auto command = Common::MakeShared<EnrollCommand>(executor_, scheduleId, properties, executorMessen… in ProcessEnrollCommand() local 171 IF_FALSE_LOGE_AND_RETURN_VAL(command != nullptr, ResultCode::GENERAL_ERROR); in ProcessEnrollCommand() 172 return command->StartProcess(); in ProcessEnrollCommand() 177 …auto command = Common::MakeShared<AuthCommand>(executor_, scheduleId, properties, executorMessenge… in ProcessAuthCommand() local 178 IF_FALSE_LOGE_AND_RETURN_VAL(command != nullptr, ResultCode::GENERAL_ERROR); in ProcessAuthCommand() 179 return command->StartProcess(); in ProcessAuthCommand() 184 …auto command = Common::MakeShared<IdentifyCommand>(executor_, scheduleId, properties, executorMess… in ProcessIdentifyCommand() local 185 IF_FALSE_LOGE_AND_RETURN_VAL(command != nullptr, ResultCode::GENERAL_ERROR); in ProcessIdentifyCommand() 186 return command->StartProcess(); in ProcessIdentifyCommand() 245 auto command = Common::MakeShared<CustomCommand>(executor_, properties); in ProcessCustomCommand() local [all …]
|
| /base/useriam/face_auth/services/src/ |
| D | screen_brightness_manager.cpp | 58 const SaCommand &command) in ProcessSaCommand() argument 65 switch (command.id) { in ProcessSaCommand() 67 result = ProcessScreenBrightnessIncreaseBegin(executor, command.param); in ProcessSaCommand() 70 result = ProcessScreenBrightnessIncreaseEnd(executor, command.param); in ProcessSaCommand() 73 IAM_LOGE("command id %{public}d not match", command.id); in ProcessSaCommand()
|
| D | sa_command_manager.cpp | 72 for (const auto &command : commands) { in ProcessSaCommands() local 73 auto it = commandId2Processors_.find(command.id); in ProcessSaCommands() 75 for (const auto &processor : commandId2Processors_[command.id]) { in ProcessSaCommands() 77 UserAuth::ResultCode result = processor->ProcessSaCommand(executor, command); in ProcessSaCommands()
|
| /base/account/os_account/frameworks/account_iam/test/unittest/src/ |
| D | test_common.cpp | 24 std::string RunCommand(const std::string &command) in RunCommand() argument 27 FILE *file = popen(command.c_str(), "r"); in RunCommand()
|
| /base/useriam/user_auth_framework/test/unittest/services/mocks/ |
| D | mock_resource_node.h | 40 … int32_t(uint64_t scheduleId, const std::vector<uint8_t> &publicKey, const Attributes &command)); 41 MOCK_METHOD2(EndExecute, int32_t(uint64_t scheduleId, const Attributes &command)); 76 …&callback](uint64_t scheduleId, const std::vector<uint8_t> &publicKey, const Attributes &command) { in CreateWithExecuteIndex() 77 return callback.OnBeginExecute(scheduleId, publicKey, command); in CreateWithExecuteIndex() 79 …CALL(*node, EndExecute).WillByDefault([&callback](uint64_t scheduleId, const Attributes &command) { in CreateWithExecuteIndex() 80 return callback.OnEndExecute(scheduleId, command); in CreateWithExecuteIndex()
|