/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/medialibrary_tool/include/command/ |
H A D | command.h | 24 class Command { 26 Command() = default; 27 virtual ~Command() = default; 28 Command(const Command &command) = delete; 29 Command(Command &&command) = delete; 30 Command &operator=(const Command &command) = delete; 31 Command &operator=(Command &&command) = delete; 32 static std::unique_ptr<Command> Create(const ExecEnv &env);
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/process/ |
H A D | command.rs | 24 pub struct Command { struct 36 impl From<StdCommand> for Command { implementation 45 impl Command { impl 221 pub fn env_clear(&mut self) -> &mut Command { in env_clear() argument 519 impl Command { implementation 593 use crate::process::Command; 604 let mut command = Command::new("echo"); in ut_process_basic_test() 621 let mut command = Command::new("echo"); in ut_process_output_test() 640 let mut command = Command::new("echo"); in ut_process_status_test() 659 let mut child = Command::new("rev") in ut_process_child_stdio_test() [all …]
|
/ohos5.0/base/update/updater/services/applypatch/ |
H A D | command.cpp | 23 bool Command::Init(const std::string &cmdLine) in Init() 34 Command::~Command() in ~Command() 39 CommandType Command::GetCommandType() const in GetCommandType() 44 std::string Command::GetCommandHead() const in GetCommandHead() 49 std::string Command::GetArgumentByPos(size_t pos) const in GetArgumentByPos() 57 std::string Command::GetCommandLine() const in GetCommandLine() 62 void Command::SetFileDescriptor(int fd) in SetFileDescriptor() 67 int Command::GetFileDescriptor() const in GetFileDescriptor() 72 TransferParams* Command::GetTransferParams() const in GetTransferParams() 77 CommandType Command::ParseCommandType(const std::string &firstCmd) in ParseCommandType()
|
H A D | command_process.h | 26 CommandResult Execute(const Command ¶ms) override; 33 CommandResult Execute(const Command ¶ms) override; 40 CommandResult Execute(const Command ¶ms) override; 47 CommandResult Execute(const Command ¶ms) override; 54 CommandResult Execute(const Command ¶ms) override; 61 CommandResult Execute(const Command ¶ms) override; 62 virtual int32_t WriteDiffToBlock(const Command ¶ms, std::vector<uint8_t> &srcBuffer,
|
/ohos5.0/base/theme/screenlock_mgr/services/src/ |
H A D | command.cpp | 20 Command::Command(const std::vector<std::string> &argsFormat, const std::string &help, const Command… in Command() function in OHOS::ScreenLock::Command 25 Command::Command(const std::vector<std::string> &argsFormat, const std::string &help) : format(args… in Command() function in OHOS::ScreenLock::Command 29 std::string Command::ShowHelp() in ShowHelp() 34 bool Command::DoAction(const std::vector<std::string> &input, std::string &output) in DoAction() 39 std::string Command::GetOption() in GetOption() 44 std::string Command::GetFormat() in GetFormat()
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/dfx/src/ |
H A D | command.cpp | 20 Command::Command(const std::vector<std::string> &argsFormat, const std::string &help, const Command… in Command() function in OHOS::MiscServices::Command 25 Command::Command(const std::vector<std::string> &argsFormat, const std::string &help) in Command() function in OHOS::MiscServices::Command 30 std::string Command::ShowHelp() in ShowHelp() 35 bool Command::DoAction(const std::vector<std::string> &input, std::string &output) in DoAction() 40 std::string Command::GetOption() in GetOption() 45 std::string Command::GetFormat() in GetFormat()
|
H A D | command.h | 25 class Command { 28 explicit Command() = default; 29 …Command(const std::vector<std::string> &argsFormat, const std::string &help, const Action &action); 30 Command(const std::vector<std::string> &argsFormat, const std::string &help); 31 virtual ~Command() = default;
|
/ohos5.0/foundation/distributedhardware/distributed_camera/services/cameraservice/base/test/unittest/common/base/ |
H A D | dcamera_capture_info_cmd_test.cpp | 36 "Command": "CAPTURE", 47 "Command": "CAPTURE", 57 "Command": "CAPTURE", 68 "Command": "CAPTURE", 89 "Command": 0, 100 "Command": "CAPTURE", 106 "Command": "CAPTURE", 117 "Command": "CAPTURE", 128 "Command": "CAPTURE", 139 "Command": "CAPTURE", [all …]
|
H A D | dcamera_event_cmd_test.cpp | 36 "Command": "STATE_NOTIFY", 43 "Command": "STATE_NOTIFY", 49 "Command": "STATE_NOTIFY", 56 "Command": "STATE_NOTIFY", 69 "Command": 0, 76 "Command": "STATE_NOTIFY" 82 "Command": "STATE_NOTIFY", 89 "Command": "STATE_NOTIFY", 96 "Command": "STATE_NOTIFY", 103 "Command": "STATE_NOTIFY", [all …]
|
H A D | dcamera_metadata_setting_cmd_test.cpp | 36 "Command": "UPDATE_METADATA", 43 "Command": "UPDATE_METADATA", 49 "Command": "UPDATE_METADATA", 56 "Command": "UPDATE_METADATA", 69 "Command": 0, 76 "Command": "UPDATE_METADATA" 82 "Command": "UPDATE_METADATA", 89 "Command": "UPDATE_METADATA", 96 "Command": "UPDATE_METADATA", 103 "Command": "UPDATE_METADATA", [all …]
|
H A D | dcamera_open_info_cmd_test.cpp | 54 "Command": "OPEN_CHANNEL", 60 "Command": "OPEN_CHANNEL", 67 "Command": "OPEN_CHANNEL", 73 "Command": "OPEN_CHANNEL", 80 "Command": "OPEN_CHANNEL", 93 "Command": 0, 100 "Command": "OPEN_CHANNEL" 106 "Command": "OPEN_CHANNEL", 113 "Command": "OPEN_CHANNEL",
|
H A D | dcamera_channel_info_cmd_test.cpp | 36 "Command": "CHANNEL_NEG", 43 "Command": "CHANNEL_NEG", 49 "Command": "CHANNEL_NEG", 56 "Command": "CHANNEL_NEG", 69 "Command": 0, 76 "Command": "CHANNEL_NEG" 82 "Command": "CHANNEL_NEG",
|
H A D | dcamera_info_cmd_test.cpp | 36 "Command": "GET_INFO", 43 "Command": "GET_INFO", 49 "Command": "GET_INFO", 56 "Command": "GET_INFO", 69 "Command": 0, 76 "Command": "GET_INFO" 82 "Command": "GET_INFO", 89 "Command": "GET_INFO",
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_scheduler.h | 46 template<typename Command> 62 commandList_.push_back(std::make_shared<Command>(command)); in ProcessNegotiateData() 85 executor->SendEvent(std::make_shared<Command>(command)); in ProcessNegotiateData() 105 template<typename Command> 106 void QueueCommandFront(Command &command) in QueueCommandFront() 110 commandList_.push_front(std::make_shared<Command>(command)); in QueueCommandFront() 113 template<typename Command> 114 void QueueCommandBack(Command &command) in QueueCommandBack() 118 commandList_.push_back(std::make_shared<Command>(command)); in QueueCommandBack() 121 template<typename Command> [all …]
|
/ohos5.0/base/theme/wallpaper_mgr/utils/dfx/hidumper_adapter/ |
H A D | command.cpp | 18 Command::Command(const std::vector<std::string> &argsFormat, const std::string &help, const Command… in Command() function in OHOS::MiscServices::Command 23 std::string Command::ShowHelp() const in ShowHelp() 28 bool Command::DoAction(const std::vector<std::string> &input, std::string &output) in DoAction() 33 std::string Command::GetOption() in GetOption() 38 std::string Command::GetFormat() in GetFormat()
|
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/include/ |
H A D | iptables_rule_plugin.h | 46 …bool ConvertAddFilterToIptablesCommand(const IPTABLES::AddFilter &addFilter, std::string &Command); 51 std::string &Command); 52 …ConvertIpAddressCommand(const std::string &ipAddress, const bool isSourceIp, std::string &Command); 53 void ConvertPortCommand(const std::string &port, const bool isSourcePort, std::string &Command); 54 void ConvertProtocolCommand(const IPTABLES::Protocol &protocol, std::string &Command); 55 bool ConvertActionCommand(const IPTABLES::Action &action, std::string &Command); 56 …oid ConvertRuleNoCommand(const IPTABLES::AddMethod &method, uint32_t ruleNo, std::string &Command); 57 void ConvertUidCommand(const std::string &uid, std::string &Command);
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/base/ |
H A D | dps.h | 33 template <typename Command, typename Func, typename... Args> 36 auto cmd = std::make_shared<Command>(std::forward<Args>(args)...); in SendCommandHelp() 55 template <typename Command, typename... Args> 58 return SendCommandHelp<Command>(&CommandServer::SendCommand, std::forward<Args>(args)...); in DPS_SendCommand() 69 template <typename Command, typename... Args> 72 return SendCommandHelp<Command>(&CommandServer::SendUrgentCommand, std::forward<Args>(args)...); in DPS_SendUrgentCommand()
|
/ohos5.0/drivers/interface/power/v1_0/ |
H A D | PowerTypes.idl | 49 /** Command parameter for registering a callback of the power status */ 51 /** Command parameter for hibernating the device */ 53 /** Command parameter for waking up the device */ 55 /** Command parameter for forcibly hibernating the device */ 57 /** Command parameter for opening the running lock */ 59 /** Command parameter for closing the running lock*/ 61 /** Command parameter for dumping */ 71 /** Command parameter for the hibernation callback */ 73 /** Command parameter for the wakeup callback */
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/power_v1_0/foo/power/v1_0/ |
H A D | PowerTypes.idl | 49 /** Command parameter for registering a callback of the power status */ 51 /** Command parameter for hibernating the device */ 53 /** Command parameter for waking up the device */ 55 /** Command parameter for forcibly hibernating the device */ 57 /** Command parameter for opening the running lock */ 59 /** Command parameter for closing the running lock*/ 61 /** Command parameter for dumping */ 71 /** Command parameter for the hibernation callback */ 73 /** Command parameter for the wakeup callback */
|
/ohos5.0/drivers/interface/power/v1_1/ |
H A D | PowerTypes.idl | 50 /** Command parameter for registering a callback of the power status */ 52 /** Command parameter for hibernating the device */ 54 /** Command parameter for waking up the device */ 56 /** Command parameter for forcibly hibernating the device */ 58 /** Command parameter for opening the running lock */ 60 /** Command parameter for closing the running lock*/ 62 /** Command parameter for dumping */ 73 /** Command parameter for the hibernation callback */ 75 /** Command parameter for the wakeup callback */
|
/ohos5.0/drivers/interface/power/v1_2/ |
H A D | PowerTypes.idl | 50 /** Command parameter for registering a callback of the power status */ 52 /** Command parameter for hibernating the device */ 54 /** Command parameter for waking up the device */ 56 /** Command parameter for forcibly hibernating the device */ 58 /** Command parameter for opening the running lock */ 60 /** Command parameter for closing the running lock*/ 62 /** Command parameter for dumping */ 73 /** Command parameter for the hibernation callback */ 75 /** Command parameter for the wakeup callback */
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/power_v1_1/foo/power/v1_1/ |
H A D | PowerTypes.idl | 50 /** Command parameter for registering a callback of the power status */ 52 /** Command parameter for hibernating the device */ 54 /** Command parameter for waking up the device */ 56 /** Command parameter for forcibly hibernating the device */ 58 /** Command parameter for opening the running lock */ 60 /** Command parameter for closing the running lock*/ 62 /** Command parameter for dumping */ 73 /** Command parameter for the hibernation callback */ 75 /** Command parameter for the wakeup callback */
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/src/base/command_server/ |
H A D | command.cpp | 23 Command::Command() in Command() function in OHOS::CameraStandard::DeferredProcessing::Command 28 Command::~Command() in ~Command() 33 int32_t Command::Do() in Do()
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/tests/ |
H A D | process.rs | 30 let mut command = Command::new("echo"); in sdv_process_output_test() 49 let mut command = Command::new("echo"); in sdv_process_status_test() 67 let mut command = Command::new("echo"); in sdv_process_spawn_test() 93 let mut child = Command::new("rev") in sdv_process_child_stdio_test() 141 let mut command = Command::new("echo"); in sdv_process_kill_test() 159 let mut command = Command::new("echo"); in sdv_process_try_wait_test() 182 let mut command = Command::new("echo"); in sdv_process_drop_test() 188 let mut command = Command::new("echo"); in sdv_process_drop_test() 206 let mut command = Command::new("echo"); in sdv_process_stdio_test() 253 let mut command = std::process::Command::new("echo"); in sdv_process_child_stdio_convert_test() [all …]
|
/ohos5.0/base/theme/screenlock_mgr/services/include/ |
H A D | command.h | 24 class Command { 27 explicit Command() = default; 28 …Command(const std::vector<std::string> &argsFormat, const std::string &help, const Action &action); 29 Command(const std::vector<std::string> &argsFormat, const std::string &help); 30 virtual ~Command() = default;
|