Home
last modified time | relevance | path

Searched full:action (Results 1 – 25 of 668) sorted by relevance

12345678910>>...27

/base/msdp/device_status/tools/vdev/json/
Dsimulate_rk_mouse_dragging.json5 { "action": "move", "dx": 1, "dy": 1 }, string
6 { "action": "wait", "duration": 500 }, string
7 { "action": "move", "dx": 0, "dy": -50 }, string
8 { "action": "wait", "duration": 500 }, string
9 { "action": "move", "dx": 50, "dy": -50 }, string
10 { "action": "wait", "duration": 500 }, string
11 { "action": "move", "dx": -20, "dy": -50 }, string
12 { "action": "wait", "duration": 500 }, string
13 { "action": "move", "dx": -10, "dy": -50 }, string
14 { "action": "wait", "duration": 500 }, string
[all …]
Dsimulate_keyboard_clicks.json6 { "action": "down", "key": 42 }, string
7 { "action": "down", "key": 35 }, string
8 { "action": "up", "key": 35 }, string
9 { "action": "up", "key": 42 }, string
10 { "action": "down", "key": 23 }, string
11 { "action": "up", "key": 23 }, string
12 { "action": "down", "key": 51 }, string
13 { "action": "up", "key": 51 }, string
14 { "action": "down", "key": 57 }, string
15 { "action": "up", "key": 57 }, string
[all …]
Dsimulate_mouse_dragging.json5 { "action": "down", "button": "BTN_LEFT" }, string
6 { "action": "wait", "duration": 500 }, string
7 { "action": "move", "dx": 15, "dy": 15 }, string
8 { "action": "move", "dx": 15, "dy": 10 }, string
9 { "action": "move", "dx": 15, "dy": 10 }, string
10 { "action": "move", "dx": 15, "dy": 10 }, string
11 { "action": "move", "dx": 15, "dy": 10 }, string
12 { "action": "move", "dx": 15, "dy": 30 }, string
13 { "action": "move", "dx": 25, "dy": 20 }, string
14 { "action": "move", "dx": 35, "dy": 10 }, string
[all …]
Dsimulate_rk_touchscreen_dragging.json5 { "action": "down", "slot": 1, "x": 200, "y": 200 }, string
6 { "action": "wait", "duration": 100 }, string
7 { "action": "up", "slot": 1 }, string
8 { "action": "wait", "duration": 1000 }, string
9 { "action": "down", "slot": 1, "x": 218, "y": 1265 }, string
10 { "action": "wait", "duration": 50 }, string
11 { "action": "up", "slot": 1 }, string
12 { "action": "wait", "duration": 1000 }, string
13 { "action": "down", "slot": 1, "x": 200, "y": 200 }, string
14 { "action": "wait", "duration": 1000 }, string
[all …]
/base/hiviewdfx/hiview/plugins/eventlogger/config/
Devent_logger_config2 event id="" name="UI_BLOCK_6S" action="s,t,cmd:c,cmd:m,tr,k:SysRqFile" interval="10"
3 event id="" name="UI_BLOCK_3S" action="s,pb:1:r,t" interval="10"
4 event id="" name="THREAD_BLOCK_6S" action="t,cmd:c,cmd:dam,tr,k:SysRqFile" interval="10"
5 event id="" name="THREAD_BLOCK_3S" action="pb:1:r,t" interval="10"
6 event id="" name="BUSSINESS_THREAD_BLOCK_6S" action="t,cmd:c,cmd:dam,tr,k:SysRqFile" interval="10"
7 event id="" name="BUSSINESS_THREAD_BLOCK_3S" action="pb:1:r,t" interval="10"
8 event id="" name="LIFECYCLE_TIMEOUT" action="t,cmd:c,cmd:dam,tr,k:SysRqFile" interval="10"
9 event id="" name="LIFECYCLE_HALF_TIMEOUT" action="pb:1:r,t" interval="10"
10 event id="" name="APP_INPUT_BLOCK" action="t:input,t,cmd:c,cmd:dam,tr,k:SysRqFile" interval="10"
11 event id="" name="SCREEN_ON_TIMEOUT" action="cmd:p,cmd:d,cmd:w,T,e" interval="10"
[all …]
/base/customization/enterprise_device_management/services/edm_plugin/src/network/rule/
Drule_utils.cpp22 std::string RuleUtils::EnumToString(Action action) in EnumToString() argument
24 switch (action) { in EnumToString()
25 case Action::INVALID: in EnumToString()
27 case Action::ALLOW: in EnumToString()
29 case Action::DENY: in EnumToString()
31 case Action::REJECT: in EnumToString()
37 Action RuleUtils::StringToAction(std::string action) in StringToAction() argument
39 if (action == ACCEPT_TARGET) { in StringToAction()
40 return Action::ALLOW; in StringToAction()
41 } else if (action == DROP_TARGET) { in StringToAction()
[all …]
/base/customization/enterprise_device_management/services/edm_plugin/src/network/
Diptables_manager.cpp61 Action action = std::get<FIREWALL_ACTION_IND>(rule); in AddFirewallRule() local
63 if (!GetFirewallChainName(direction, action, chainName)) { in AddFirewallRule()
71 if (action == Action::ALLOW) { in AddFirewallRule()
82 Action action = std::get<FIREWALL_ACTION_IND>(rule); in RemoveFirewallRule() local
87 ErrCode ret = GetRemoveChainName(direction, action, chainNameList); in RemoveFirewallRule()
89 EDMLOGE("RemoveFirewallRule: illegal parameter: action, direction"); in RemoveFirewallRule()
174 Action action = std::get<DOMAIN_ACTION_IND>(rule); in AddDomainFilterRule() local
182 if (action == Action::ALLOW) { in AddDomainFilterRule()
187 } else if (action == Action::DENY) { in AddDomainFilterRule()
192 } else if (action == Action::REJECT) { in AddDomainFilterRule()
[all …]
/base/customization/enterprise_device_management/services/edm_plugin/include/network/
Diptables_manager.h50 …ErrCode GetRemoveChainName(Direction direction, Action action, std::vector<std::string> &chainName…
51 …ErrCode GetDomainRemoveChainName(Direction direction, Action action, std::vector<std::string>& cha…
52 void GetRemoveInputChainName(Action action, std::vector<std::string>& chainNameList);
53 void GetRemoveOutputChainName(Action action, std::vector<std::string>& chainNameList);
54 void GetRemoveForwardChainName(Action action, std::vector<std::string>& chainNameList);
55 void GetDomainRemoveOutputChainName(Action action, std::vector<std::string>& chainNameList);
56 void GetDomainRemoveForwardChainName(Action action, std::vector<std::string>& chainNameList);
62 …bool CheckRemoveDomainParams(Direction direction, Action action, std::string appUid, std::string d…
65 bool GetFirewallChainName(Direction direction, Action action, std::string& chainName);
/base/notification/common_event_service/interfaces/inner_api/
Dcommon_event_support.h27 …* Indicates the action of a common event that the user has finished booting and the system has bee…
34 …* Indicates the action of a common event that the user has finished booting and the system has bee…
42 …* Indicates the action of a common event that the device is being shut down and the final shutdown…
48 …* Indicates the action of a common event that the charging state, level, and other information abo…
54 * Indicates the action of a common event that the battery level is low.
59 * Indicates the action of a common event that the battery exit the low state.
64 * Indicates the action of a common event that the device is connected to the external power.
69 … * Indicates the action of a common event that the device is disconnected from the external power.
75 … * Indicates the action of a common event that the device screen is off and the device is sleeping.
80 …* Indicates the action of a common event that the device screen is on and the device is interactiv…
[all …]
/base/hiviewdfx/hiview/test/resource/base/
Devent_logger_config2 event id="" name="UI_BLOCK_3S" action="s,b,pb:1" interval="20"
3 event id="" name="UI_BLOCK_6S" action="s,B,pb:0" interval="10"
4 event id="" name="FWK_BLOCK" action="b,s=1,n=2,pb:0" interval="30"
5 event id="" name="XCOLLIE" action="b,s" interval="0"
6 event id="" name="RESUME" action="s" interval="0"
7 event id="" name="RESUME01" action="b,s=123,n=cb2,pb:0" interval="40"
8 event id="" name="RESUME02 " action="b,s=1456,n=pdc,pb:0" interval="30"
9 event id="" name="RESUME03" action="b,s=332,m=sd:2.2.10;tr56,pb:0" interval="87"
10 event id="" name="RESUME04" action="b,s=42,n=a,pb:0" interval="a16"
11 event id="0x123" name="RESUME05" action="b,s=1456,n=pdc,pb:0"interval="31" qwead
/base/startup/appspawn/
Dappdata-sandbox-isolated.json11 "check-action-status": "false"
16 "check-action-status": "false"
21 "check-action-status": "false"
26 "check-action-status": "false"
31 "check-action-status": "false"
36 "check-action-status": "false"
41 "check-action-status": "false"
46 "check-action-status": "false"
51 "check-action-status": "false"
56 "check-action-status": "false"
[all …]
Dappdata-sandbox.json10 "check-action-status": "false"
15 "check-action-status": "false"
20 "check-action-status": "false"
25 "check-action-status": "false"
30 "check-action-status": "false"
35 "check-action-status": "false"
40 "check-action-status": "false"
45 "check-action-status": "false"
50 "check-action-status": "false"
55 "check-action-status": "false"
[all …]
/base/notification/common_event_service/frameworks/native/src/
Dcommon_event_support.cpp22 …* Indicates the action of a common event that the user has finished booting and the system has bee…
30 …* Indicates the action of a common event that the user has finished booting and the system has bee…
39 …* Indicates the action of a common event that the device is being shut down and the final shutdown…
46 …* Indicates the action of a common event that the charging state, level, and other information abo…
53 * Indicates the action of a common event that the battery level is low.
59 * Indicates the action of a common event that the battery exit the low state.
65 * Indicates the action of a common event that the device is connected to the external power.
71 * Indicates the action of a common event that the device is disconnected from the external power.
77 * Indicates the action of a common event that the device screen is off and the device is sleeping.
83 …* Indicates the action of a common event that the device screen is on and the device is interactiv…
[all …]
/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/network/
Diptables_manager_test.cpp82 … {Direction::INPUT, Action::DENY, Protocol::UDP, "192.168.2.100", "192.168.2.200", "80", "90", ""},
83 …{Direction::INPUT, Action::REJECT, Protocol::UDP, "192.168.2.100", "192.168.2.200", "80", "90", ""…
84 {Direction::INPUT, Action::ALLOW, Protocol::TCP, "192.168.2.100", "", "", "", ""},
85 {Direction::OUTPUT, Action::DENY, Protocol::ICMP, "", "", "", "", ""},
86 {Direction::OUTPUT, Action::REJECT, Protocol::ICMP, "", "", "", "", ""},
87 {Direction::OUTPUT, Action::ALLOW, Protocol::INVALID, "192.168.1.1", "", "", "", ""},
88 {Direction::OUTPUT, Action::ALLOW, Protocol::INVALID, "192.168.1.1/20", "", "", "", ""},
89 {Direction::OUTPUT, Action::ALLOW, Protocol::INVALID, "", "192.168.1.1", "", "", ""},
90 {Direction::OUTPUT, Action::DENY, Protocol::INVALID, "", "192.168.1.1/20", "", "", ""},
91 {Direction::OUTPUT, Action::REJECT, Protocol::INVALID, "", "192.168.1.1/20", "", "", ""},
[all …]
/base/account/os_account/services/accountmgr/include/
Daccount_state_machine.h33 * exception event action, to re-init state machine, and get account state from account server.
38 * exception event action Constructor.
43 * exception event action Destructor.
49 * unbound state action.
54 * unbound state action Constructor.
59 * unbound state action Destructor.
65 * login state action.
70 * login state action Constructor.
75 * login state action Destructor.
81 * logout state action.
[all …]
/base/powermgr/thermal_manager/services/
DBUILD.gn23 "native/include/thermal_action/action",
24 "native/include/thermal_action/action/action_soc",
39 "native/src/thermal_action/action/action_application_process.cpp",
40 "native/src/thermal_action/action/action_charger.cpp",
41 "native/src/thermal_action/action/action_display.cpp",
42 "native/src/thermal_action/action/action_node.cpp",
43 "native/src/thermal_action/action/action_popup.cpp",
44 "native/src/thermal_action/action/action_shutdown.cpp",
45 "native/src/thermal_action/action/action_soc/action_cpu_big.cpp",
46 "native/src/thermal_action/action/action_soc/action_cpu_boost.cpp",
[all …]
/base/request/request/services/src/manage/
Dquery.rs18 use crate::config::{Action, Mode};
49 QueryEvent::Query(task_id, action, tx) => { in handle_query_event()
50 let info = self.query(task_id, action); in handle_query_event()
97 pub(crate) fn query(&self, task_id: u32, action: Action) -> Option<TaskInfo> { in query()
114 if info.action() == action || action == Action::Any { in query()
149 if filter.action != Action::Any.repr { in search_filter()
150 sql.push_str(&format!("AND action = {} ", filter.action)); in search_filter()
182 action: u8, field
202 …"INSERT INTO request_task (task_id, uid, state, ctime, action, mode) VALUES ({}, {}, {} ,{} ,{} ,{… in ut_search_user()
207 Action::Upload.repr, in ut_search_user()
[all …]
/base/telephony/core_service/services/sim/test/
Dcommon_event_test.h67 std::string action = want.GetAction(); in OnReceiveEvent() local
68 switch (GetCommentEventTestIntValue(action)) { in OnReceiveEvent()
70 std::cout << "receive a CommonEvent action = " << action in OnReceiveEvent()
80 … std::cout << "receive a CommonEvent action = " << action << ", code = " << data.GetCode() in OnReceiveEvent()
85 std::cout << "receive a CommonEvent action = " << action in OnReceiveEvent()
89 std::cout << "receive a CommonEvent action = " << action in OnReceiveEvent()
94 std::cout << "receive a CommonEvent action = " << action in OnReceiveEvent()
99 std::cout << "receive a CommonEvent action = " << action in OnReceiveEvent()
105 std::cout << "receive a CommonEvent action = " << action << std::endl; in OnReceiveEvent()
/base/theme/wallpaper_mgr/utils/include/
Dconcurrent_map.h131 // The action`s return true means meeting the erase condition
132 // The action`s return false means not meeting the erase condition
133 …size_type EraseIf(const std::function<bool(const key_type &key, mapped_type &value)> &action) noex… in EraseIf() argument
135 if (action == nullptr) { in EraseIf()
141 … entries_, [&action](value_type &value) -> bool { return action(value.first, value.second); }); in EraseIf()
145 if (action((*it).first, (*it).second)) { in EraseIf()
156 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach() argument
158 if (action == nullptr) { in ForEach()
163 if (action(key, value)) { in ForEach()
169 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies() argument
[all …]
/base/customization/enterprise_device_management/test/unittest/common/mock/src/
Dedm_data_ability_utils_mock.cpp41 …"{\"lid\":{\"action\":1,\"delayMs\":0},\"powerkey\":{\"action\":1,\"delayMs\":0},\"switch\":{\"act… in GetStringFromSettingsDataShare()
42 "\"delayMs\":0},\"timeout\":{\"action\":1,\"delayMs\":0}}"; in GetStringFromSettingsDataShare()
49 …"{\"lid\":{\"action\":1,\"delayMs\":0},\"powerkey\":{\"action\":1,\"delayMs\":0},\"switch\":{\"act… in GetStringFromSettingsDataShare()
50 "\"delayMs\":0},\"timeerror\":{\"action\":1,\"delayMs\":0}}"; in GetStringFromSettingsDataShare()
54 …"{\"lid\":{\"action\":1,\"delayMs\":0},\"powerkey\":{\"action\":1,\"delayMs\":0},\"switch\":{\"act… in GetStringFromSettingsDataShare()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_service/main/security_guard_report/src/
Dcm_security_guard_info.c82 static void ConstructInfoAndReport(const struct CmBlob *input, const char *action, struct CmReportS… in ConstructInfoAndReport() argument
84 if (strcpy_s(info->action, sizeof(info->action), action) != EOK) { in ConstructInfoAndReport()
107 …char *action = (store == CM_SYSTEM_TRUSTED_STORE) ? "CmSetSystemCertStatus" : "CmSetUserCertStatus… in CmReportSGSetCertStatus() local
108 ConstructInfoAndReport(certUri, action, &info); in CmReportSGSetCertStatus()
128 char *action = "CmInstallUserCert"; in CmReportSGInstallUserCert() local
129 ConstructInfoAndReport(certAlias, action, &info); in CmReportSGInstallUserCert()
148 if (strcpy_s(info.action, sizeof(info.action), "CmUninstallAllUserCert") != EOK) { in CmReportSGUninstallUserCert()
155 char *action = "CmUninstallUserCert"; in CmReportSGUninstallUserCert() local
156 ConstructInfoAndReport(certUri, action, &info); in CmReportSGUninstallUserCert()
175 char *action = (store == CM_CREDENTIAL_STORE) ? "CmInstallAppCert" : "CmInstallPriAppCert"; in CmReportSGInstallAppCert() local
[all …]
/base/inputmethod/imf/frameworks/common/
Dconcurrent_map.h159 // The action`s return true means meeting the erase condition
160 // The action`s return false means not meeting the erase condition
161 …size_type EraseIf(const std::function<bool(const key_type &key, mapped_type &value)> &action) noex… in EraseIf() argument
163 if (action == nullptr) { in EraseIf()
169 [&action](value_type &value) -> bool { return action(value.first, value.second); }); in EraseIf()
173 if (action((*it).first, (*it).second)) { in EraseIf()
184 void ForEach(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEach() argument
186 if (action == nullptr) { in ForEach()
191 if (action(key, value)) { in ForEach()
197 void ForEachCopies(const std::function<bool(const key_type &, mapped_type &)> &action) in ForEachCopies() argument
[all …]
/base/customization/enterprise_device_management/common/native/include/plugin_utils/
Diptables_utils.h30 enum class Action { INVALID = -1, ALLOW, DENY, REJECT }; enum
41 Action action; member
51 action = Action::INVALID; in AddFilter()
61 action = Action::INVALID; in RemoveFilter()
72 static bool ProcessFirewallAction(int32_t type, Action &action);
/base/account/os_account/services/accountmgr/test/moduletest/app_account/
Dapp_account_authenticator_session_module_test.cpp79 AuthenticatorAction action = VERIFY_CREDENTIAL; in SetUp() local
81 …appAccountAuthenticatorSessionPtr_ = std::make_shared<AppAccountAuthenticatorSession>(action, requ… in SetUp()
140 AuthenticatorAction action = SET_AUTHENTICATOR_PROPERTIES; variable
145 auto testSessionPtr_ = std::make_shared<AppAccountAuthenticatorSession>(action, request);
177 AuthenticatorAction action = SET_AUTHENTICATOR_PROPERTIES; variable
182 auto testSessionPtr_ = std::make_shared<AppAccountAuthenticatorSession>(action, request);
200 …* @tc.desc: test OnAbilityConnectDone with not same action and OnResult resultcode is ADD_ACCOUNT_…
206 AuthenticatorAction action = ADD_ACCOUNT_IMPLICITLY; variable
208 …AccountAuthenticatorSessionPtr = std::make_shared<AppAccountAuthenticatorSession>(action, request);
226 action = AUTHENTICATE;
[all …]
/base/useriam/user_auth_framework/services/base/src/
Dfinite_state_machine_builder.cpp41 uint32_t nextState, const FiniteStateMachine::Action &action) in MakeTransition() argument
43 …itionMap_.try_emplace(FiniteStateMachineImpl::GetTransitionIndex(state, event), nextState, action); in MakeTransition()
59 const FiniteStateMachine::Action &action) in MakeOnStateEnter() argument
61 auto ret = enterMap_.try_emplace(state, action); in MakeOnStateEnter()
63 IAM_LOGE("%{public}s enter state action %{public}u insert failed", name_.c_str(), state); in MakeOnStateEnter()
70 const FiniteStateMachine::Action &action) in MakeOnStateLeave() argument
72 auto ret = leaveMap_.try_emplace(state, action); in MakeOnStateLeave()
74 IAM_LOGE("%{public}s leave state action %{public}u insert failed", name_.c_str(), state); in MakeOnStateLeave()

12345678910>>...27