Home
last modified time | relevance | path

Searched refs:Action (Results 1 – 25 of 70) sorted by relevance

123

/base/request/request/test/unittest/js_test/requestTest/
DRequestTask.test.js149 action: agent.Action.UPLOAD,
171 action: agent.Action.DOWNLOAD,
197 action: agent.Action.DOWNLOAD,
223 action: agent.Action.DOWNLOAD,
245 action: agent.Action.DOWNLOAD,
269 action: agent.Action.UPLOAD,
294 action: agent.Action.UPLOAD,
317 action: agent.Action.UPLOAD,
342 action: agent.Action.UPLOAD,
366 action: agent.Action.UPLOAD,
[all …]
/base/customization/enterprise_device_management/common/native/include/plugin_utils/
Diptables_utils.h30 enum class Action { INVALID = -1, ALLOW, DENY }; enum
41 Action action;
51 action = Action::INVALID; in AddFilter()
61 action = Action::INVALID; in RemoveFilter()
72 static bool ProcessFirewallAction(int32_t type, Action &action);
/base/time/time_service/services/dfx/include/
Dtime_cmd_parse.h25 using Action = std::function<void(int fd, const std::vector<std::string> &input)>;
26 …arse(const std::vector<std::string> &argsFormat, const std::string &strHelp, const Action &action);
35 Action action;
/base/useriam/face_auth/services_ex/inc/
Dfinite_state_machine.h32 using Action = std::function<void(FiniteStateMachine &, uint32_t)>;
47 const FiniteStateMachine::Action &action) = 0;
51 …shared_ptr<Builder> MakeOnStateEnter(uint32_t state, const FiniteStateMachine::Action &action) = 0;
53 …shared_ptr<Builder> MakeOnStateLeave(uint32_t state, const FiniteStateMachine::Action &action) = 0;
Dfinite_state_machine_builder.h37 const FiniteStateMachine::Action &action) override;
40 …std::shared_ptr<Builder> MakeOnStateEnter(uint32_t state, const FiniteStateMachine::Action &action…
41 …std::shared_ptr<Builder> MakeOnStateLeave(uint32_t state, const FiniteStateMachine::Action &action…
Dfinite_state_machine_impl.h40 …sing TransitionMap = std::unordered_map<uint64_t, std::pair<uint32_t, FiniteStateMachine::Action>>;
41 using EnterMap = std::unordered_map<uint32_t, FiniteStateMachine::Action>;
42 using LeaveMap = std::unordered_map<uint32_t, FiniteStateMachine::Action>;
/base/useriam/user_auth_framework/services/base/inc/
Dfinite_state_machine.h32 using Action = std::function<void(FiniteStateMachine &, uint32_t)>;
47 const FiniteStateMachine::Action &action) = 0;
51 …shared_ptr<Builder> MakeOnStateEnter(uint32_t state, const FiniteStateMachine::Action &action) = 0;
53 …shared_ptr<Builder> MakeOnStateLeave(uint32_t state, const FiniteStateMachine::Action &action) = 0;
/base/theme/wallpaper_mgr/utils/dfx/hidumper_adapter/
Dcommand.h24 using Action = std::function<bool(const std::vector<std::string> &input, std::string &output)>;
25 …Command(const std::vector<std::string> &argsFormat, const std::string &help, const Action &action);
34 Action action_;
/base/theme/screenlock_mgr/services/include/
Dcommand.h26 using Action = std::function<bool(const std::vector<std::string> &input, std::string &output)>;
28 …Command(const std::vector<std::string> &argsFormat, const std::string &help, const Action &action);
39 Action action;
/base/update/update_app/feature/ota/src/main/ets/notify/
DNotificationManager.ts18 Action,
44 case Action.NOTIFICATION_CHECK:
47 case Action.NOTIFICATION_DETAIL:
/base/useriam/user_auth_framework/services/base/src/
Dfinite_state_machine_builder.h37 const FiniteStateMachine::Action &action) override;
40 …std::shared_ptr<Builder> MakeOnStateEnter(uint32_t state, const FiniteStateMachine::Action &action…
41 …std::shared_ptr<Builder> MakeOnStateLeave(uint32_t state, const FiniteStateMachine::Action &action…
Dfinite_state_machine_builder.cpp41 uint32_t nextState, const FiniteStateMachine::Action &action) in MakeTransition()
59 const FiniteStateMachine::Action &action) in MakeOnStateEnter()
70 const FiniteStateMachine::Action &action) in MakeOnStateLeave()
Dfinite_state_machine_impl.h40 …sing TransitionMap = std::unordered_map<uint64_t, std::pair<uint32_t, FiniteStateMachine::Action>>;
41 using EnterMap = std::unordered_map<uint32_t, FiniteStateMachine::Action>;
42 using LeaveMap = std::unordered_map<uint32_t, FiniteStateMachine::Action>;
/base/update/updater/utils/json/
Djson_visitor.h26 enum Action { SETVAL, PRINTVAL }; enum
38 template<Action action>
44 template<Action action>
125 template<Action act, typename T, std::enable_if_t<Detail::G_IS_VECTOR<T>, bool> = true>
132 template<Action act, typename T, std::enable_if_t<Detail::G_IS_NUM<decltype(Traits<T>::COUNT)>, boo…
141 template<Action act, typename T, std::enable_if_t<Detail::G_IS_NUM<decltype(Traits<T>::COUNT)>, boo…
/base/request/request/services/service/rust/src/
Denumration.rs18 pub enum Action { enum
24 impl From<u8> for Action { implementation
27 0 => Action::DOWNLOAD, in from()
28 1 => Action::UPLOAD, in from()
29 _ => Action::ANY, in from()
/base/customization/enterprise_device_management/services/edm_plugin/src/
Diptables_rule_plugin.cpp156 …destPort.empty() && removeFilter.uid.empty() && removeFilter.action == IPTABLES::Action::INVALID && in ExecRemoveFilterIptablesCommand()
200 bool IptablesRulePlugin::ConvertChainCommand(const IPTABLES::Action &action, const IPTABLES::Direct… in ConvertChainCommand()
203 if (action == IPTABLES::Action::ALLOW && direction == IPTABLES::Direction::INPUT) { in ConvertChainCommand()
205 } else if (action == IPTABLES::Action::ALLOW && direction == IPTABLES::Direction::OUTPUT) { in ConvertChainCommand()
207 } else if (action == IPTABLES::Action::DENY && direction == IPTABLES::Direction::INPUT) { in ConvertChainCommand()
209 } else if (action == IPTABLES::Action::DENY && direction == IPTABLES::Direction::OUTPUT) { in ConvertChainCommand()
237 bool IptablesRulePlugin::ConvertActionCommand(const IPTABLES::Action &action, std::string &command) in ConvertActionCommand()
240 case IPTABLES::Action::ALLOW: in ConvertActionCommand()
243 case IPTABLES::Action::DENY: in ConvertActionCommand()
/base/request/request/test/unittest/js_test/requestAgentTaskTest/entry/src/main/ets/test/
DRequestOperateTask.test.ets67 action: request.agent.Action.DOWNLOAD,
87 action: request.agent.Action.DOWNLOAD,
111 action: request.agent.Action.DOWNLOAD,
132 action: request.agent.Action.DOWNLOAD,
156 action: request.agent.Action.DOWNLOAD,
181 action: request.agent.Action.DOWNLOAD,
205 action: request.agent.Action.DOWNLOAD,
229 action: request.agent.Action.DOWNLOAD,
245 action: request.agent.Action.DOWNLOAD,
271 action: request.agent.Action.DOWNLOAD,
[all …]
DRequestCreateTask.test.ets134 action: request.agent.Action.UPLOAD,
153 action: request.agent.Action.DOWNLOAD,
178 action: request.agent.Action.DOWNLOAD,
199 action: request.agent.Action.DOWNLOAD,
221 action: request.agent.Action.DOWNLOAD,
241 action: request.agent.Action.UPLOAD,
260 action: request.agent.Action.DOWNLOAD,
278 action: request.agent.Action.DOWNLOAD,
296 action: request.agent.Action.DOWNLOAD,
314 action: request.agent.Action.DOWNLOAD,
[all …]
/base/request/request/frameworks/js/napi/include/
Djs_common.h27 enum class Action : uint32_t { enum
95 Action action;
164 Action action;
197 Action action;
219 Action action = Action::ANY;
/base/useriam/face_auth/services_ex/src/
Dfinite_state_machine_builder.cpp41 uint32_t nextState, const FiniteStateMachine::Action &action) in MakeTransition()
59 const FiniteStateMachine::Action &action) in MakeOnStateEnter()
70 const FiniteStateMachine::Action &action) in MakeOnStateLeave()
/base/customization/enterprise_device_management/common/native/src/plugin_utils/
Diptables_utils.cpp75 bool IptablesUtils::ProcessFirewallAction(int32_t type, Action &action) in ProcessFirewallAction()
77 if (type >= static_cast<int32_t>(Action::ALLOW) && type <= static_cast<int32_t>(Action::DENY)) { in ProcessFirewallAction()
78 action = Action(type); in ProcessFirewallAction()
/base/theme/screenlock_mgr/test/unittest/
Dscreenlock_client_test.cpp101 result = ScreenLockManager::GetInstance()->Unlock(Action::UNLOCK, listener);
103 result = ScreenLockManager::GetInstance()->Unlock(Action::UNLOCKSCREEN, listener);
109 result = ScreenLockManager::GetInstance()->Unlock(Action::UNLOCK, listener);
111 result = ScreenLockManager::GetInstance()->Unlock(Action::UNLOCKSCREEN, listener);
/base/useriam/user_auth_framework/test/unittest/services/src/
Dresource_node_pool_test.cpp126 …MockFunction<void(MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode>…
128 …MockFunction<void(MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode>…
130 …MockFunction<void(MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode>…
134 …[&callback1](MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode> &res… in __anon06bd46c20102()
140 …[&callback2](MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode> &res… in __anon06bd46c20202()
146 …[&callback3](MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode> &res… in __anon06bd46c20302()
178 …MockFunction<void(MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode>…
182 …[&callback](MockResourceNodePoolListener::Action action, const std::shared_ptr<ResourceNode> &reso… in __anon06bd46c20402()
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_context_pool_listener.h31 enum Action { enum
36 using Callback = std::function<void(Action action, const std::shared_ptr<Context> &context)>;
/base/request/request/frameworks/js/napi/src/
Djs_initialize.cpp70 Action action = task->config_.action; in Initialize()
71 if (version != Version::API10 && action == Action::UPLOAD) { in Initialize()
133 if (config.action == Action::DOWNLOAD) { in CheckFilePath()
164 …fd = config.action == Action::UPLOAD ? open(path.c_str(), O_RDONLY) : open(path.c_str(), O_TRUNC |… in GetFD()
167 if (config.action == Action::UPLOAD) { in GetFD()
176 if (config.action == Action::UPLOAD) { in GetFD()
191 …if (config.action == Action::DOWNLOAD && config.version != Version::API10 && fileUri.find('/') == … in GetInternalPath()
320 if (config.action == Action::DOWNLOAD) { in ParseIndex()
331 bool JsInitialize::ParseAction(napi_env env, napi_value jsConfig, Action &action) in ParseAction()
342 action = static_cast<Action>(NapiUtils::Convert2Uint32(env, value)); in ParseAction()
[all …]

123