| /base/msdp/device_status/tools/vdev/json/ |
| D | simulate_rk_mouse_dragging.json | 5 { "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 …]
|
| D | simulate_keyboard_clicks.json | 6 { "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 …]
|
| D | simulate_mouse_dragging.json | 5 { "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 …]
|
| D | simulate_rk_touchscreen_dragging.json | 5 { "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/ |
| D | event_logger_config | 2 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/ |
| D | rule_utils.cpp | 22 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/ |
| D | iptables_manager.cpp | 61 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/ |
| D | iptables_manager.h | 50 …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/ |
| D | common_event_support.h | 27 …* 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/ |
| D | event_logger_config | 2 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/ |
| D | appdata-sandbox-isolated.json | 11 "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 …]
|
| D | appdata-sandbox.json | 10 "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/ |
| D | common_event_support.cpp | 22 …* 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/ |
| D | iptables_manager_test.cpp | 82 … {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/ |
| D | account_state_machine.h | 33 * 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/ |
| D | BUILD.gn | 23 "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/ |
| D | query.rs | 18 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/ |
| D | common_event_test.h | 67 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/ |
| D | concurrent_map.h | 131 // 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/ |
| D | edm_data_ability_utils_mock.cpp | 41 …"{\"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/ |
| D | cm_security_guard_info.c | 82 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/ |
| D | concurrent_map.h | 159 // 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/ |
| D | iptables_utils.h | 30 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/ |
| D | app_account_authenticator_session_module_test.cpp | 79 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/ |
| D | finite_state_machine_builder.cpp | 41 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()
|