Home
last modified time | relevance | path

Searched refs:ActionType (Results 1 – 23 of 23) sorted by relevance

/base/update/packaging_tools/
Dtransfers_manager.py34 class ActionType(Enum): class
106 ActionType.ZERO, tgt_file_name, FILE_MAP_ZERO_KEY,
113 ActionInfo(ActionType.NEW, tgt_file_name,
119 ActionType.DIFFERENT, tgt_file_name, tgt_file_name,
131 ActionType.DIFFERENT, tgt_file_name, src_file_name,
139 ActionInfo(ActionType.NEW, tgt_file_name,
Dpatch_package_process.py24 from transfers_manager import ActionType
78 if each_action.type_str == ActionType.ZERO:
82 elif each_action.type_str == ActionType.NEW:
87 elif each_action.type_str == ActionType.DIFFERENT:
144 each_action.type_str = ActionType.MOVE
189 transfer_content, ActionType.ZERO,
456 if type_str not in (ActionType.NEW, ActionType.ZERO):
/base/update/packaging_tools/test/
Dtest_inc.py19 from transfers_manager import ActionType
51 ActionType.NEW, "test.txt", "test.txt", bm1, bm2)
Dtest_utils.py33 from transfers_manager import ActionType
168 ActionType.ZERO, "tgt_file_name", "__ZERO",
/base/accessibility/frameworks/asacfwk/test/unittest/
Daccessibility_event_info_test.cpp411 event.SetTriggerAction(ActionType::ACCESSIBILITY_ACTION_FOCUS);
412 EXPECT_TRUE(event.GetTriggerAction() == ActionType::ACCESSIBILITY_ACTION_FOCUS);
425 event.SetTriggerAction(ActionType::ACCESSIBILITY_ACTION_INVALID);
426 EXPECT_TRUE(event.GetTriggerAction() == ActionType::ACCESSIBILITY_ACTION_INVALID);
439 event.SetTriggerAction(ActionType::ACCESSIBILITY_ACTION_DELETED);
440 EXPECT_TRUE(event.GetTriggerAction() == ActionType::ACCESSIBILITY_ACTION_DELETED);
453 event.SetTriggerAction(ActionType::ACCESSIBILITY_ACTION_TYPE_MASK);
454 EXPECT_TRUE(event.GetTriggerAction() == ActionType::ACCESSIBILITY_ACTION_TYPE_MASK);
Daccessibility_element_info_test.cpp79 AccessibleAction action(ActionType::ACCESSIBILITY_ACTION_CLICK, "test");
81 … EXPECT_TRUE(element.GetActionList()[0].GetActionType() == ActionType::ACCESSIBILITY_ACTION_CLICK);
88 ActionType act = ActionType::ACCESSIBILITY_ACTION_CLICK;
/base/accessibility/interfaces/kits/napi/src/
Dnapi_accessibility_utils.cpp475 static const std::string ConvertOperationTypeToString(ActionType type) in ConvertOperationTypeToString()
477 static const std::map<ActionType, const std::string> triggerActionTable = { in ConvertOperationTypeToString()
478 {ActionType::ACCESSIBILITY_ACTION_FOCUS, "focus"}, in ConvertOperationTypeToString()
479 {ActionType::ACCESSIBILITY_ACTION_CLEAR_FOCUS, "clearFocus"}, in ConvertOperationTypeToString()
480 {ActionType::ACCESSIBILITY_ACTION_SELECT, "select"}, in ConvertOperationTypeToString()
481 {ActionType::ACCESSIBILITY_ACTION_CLEAR_SELECTION, "clearSelection"}, in ConvertOperationTypeToString()
482 {ActionType::ACCESSIBILITY_ACTION_CLICK, "click"}, in ConvertOperationTypeToString()
483 {ActionType::ACCESSIBILITY_ACTION_LONG_CLICK, "longClick"}, in ConvertOperationTypeToString()
484 {ActionType::ACCESSIBILITY_ACTION_ACCESSIBILITY_FOCUS, "accessibilityFocus"}, in ConvertOperationTypeToString()
485 {ActionType::ACCESSIBILITY_ACTION_CLEAR_ACCESSIBILITY_FOCUS, "clearAccessibilityFocus"}, in ConvertOperationTypeToString()
[all …]
Dnapi_accessibility_info.cpp101 ActionType action = ConvertStringToAccessibleOperationType(callbackInfo->content_); in ExecuteAction()
/base/accessibility/interfaces/innerkits/asacfwk/include/
Daccessibility_element_info.h29 enum ActionType :int { enum
156 AccessibleAction(ActionType actionType, std::string description);
163 ActionType GetActionType() const;
193 ActionType actionType_ = ACCESSIBILITY_ACTION_INVALID;
819 bool DeleteAction(ActionType &actionType);
869 …bool ExecuteAction(const ActionType &action, const std::map<std::string, std::string> &actionArgum…
Daccessibility_event_info.h628 void SetTriggerAction(const ActionType action);
637 ActionType GetTriggerAction() const;
724 ActionType triggerAction_ = ACCESSIBILITY_ACTION_INVALID;
Daccessibility_system_ability_client.h328 bool CheckActionType(ActionType actionType);
/base/accessibility/services/aams/include/
Daccessibility_interaction_bridge.h48 bool ExecuteActionOnAccessibilityFocused(const ActionType &action);
/base/accessibility/services/aams/test/mock/
Daccessibility_info_mock.cpp95 bool AccessibilityElementInfo::DeleteAction(ActionType &operationType) in DeleteAction()
113 bool AccessibilityElementInfo::ExecuteAction(const ActionType &operation, in ExecuteAction()
570 AccessibleAction::AccessibleAction(ActionType operationType, std::string description) in AccessibleAction()
574 ActionType AccessibleAction::GetActionType() const in GetActionType()
/base/accessibility/services/test/mock/
Daccessibility_info_mock.cpp90 bool AccessibilityElementInfo::DeleteAction(ActionType &operationType) in DeleteAction()
106 bool AccessibilityElementInfo::ExecuteAction(const ActionType &operation, in ExecuteAction()
519 AccessibleAction::AccessibleAction(ActionType operationType, std::string description) in AccessibleAction()
522 ActionType AccessibleAction::GetActionType() const in GetActionType()
/base/accessibility/frameworks/systemtest/
Daccessibility_system_ability_client_test.cpp178 eventInfo.SetTriggerAction(ActionType::ACCESSIBILITY_ACTION_FOCUS);
202 eventInfo.SetTriggerAction(ActionType::ACCESSIBILITY_ACTION_FOCUS);
226 eventInfo.SetTriggerAction(ActionType::ACCESSIBILITY_ACTION_FOCUS);
250 eventInfo.SetTriggerAction(ActionType::ACCESSIBILITY_ACTION_FOCUS);
275 eventInfo.SetTriggerAction(ActionType::ACCESSIBILITY_ACTION_FOCUS);
/base/accessibility/frameworks/aafwk/test/mock/
Dmock_accessibility_event_info.cpp276 void AccessibilityEventInfo::SetTriggerAction(const ActionType action) in SetTriggerAction()
281 ActionType AccessibilityEventInfo::GetTriggerAction() const in GetTriggerAction()
Dmock_accessibility_element_info.cpp108 bool AccessibilityElementInfo::DeleteAction(ActionType &operationType) in DeleteAction()
127 bool AccessibilityElementInfo::ExecuteAction(const ActionType &operation, in ExecuteAction()
637 AccessibleAction::AccessibleAction(ActionType operationType, std::string description) in AccessibleAction()
643 ActionType AccessibleAction::GetActionType() const in GetActionType()
/base/accessibility/interfaces/kits/napi/include/
Dnapi_accessibility_utils.h65 OHOS::Accessibility::ActionType ConvertStringToAccessibleOperationType(std::string type);
70 …pi_value object, std::map<std::string, std::string>& args, OHOS::Accessibility::ActionType action);
/base/accessibility/frameworks/asacfwk/src/
Daccessibility_system_ability_client.cpp384 bool AccessibilitySystemAbilityClient::CheckActionType(ActionType actionType) in CheckActionType()
386 if ((actionType < ActionType::ACCESSIBILITY_ACTION_FOCUS) || in CheckActionType()
387 ((actionType > ActionType::ACCESSIBILITY_ACTION_DELETED) && in CheckActionType()
388 (actionType != ActionType::ACCESSIBILITY_ACTION_TYPE_MASK))) { in CheckActionType()
Daccessibility_event_info.cpp263 triggerAction_ = static_cast<ActionType>(triggerAction); in ReadFromParcel()
490 void AccessibilityEventInfo::SetTriggerAction(const ActionType action) in SetTriggerAction()
496 ActionType AccessibilityEventInfo::GetTriggerAction() const in GetTriggerAction()
Daccessibility_element_info.cpp344 bool AccessibilityElementInfo::DeleteAction(ActionType &actionType) in DeleteAction()
376 bool AccessibilityElementInfo::ExecuteAction(const ActionType &action, in ExecuteAction()
1037 int type = ActionType::ACCESSIBILITY_ACTION_INVALID; in ReadFromParcel()
1040 actionType_ = ActionType(type); in ReadFromParcel()
1065 AccessibleAction::AccessibleAction(ActionType actionType, std::string description) in AccessibleAction()
1072 ActionType AccessibleAction::GetActionType() const in GetActionType()
/base/accessibility/services/aams/src/
Daccessibility_interaction_bridge.cpp78 bool AccessibilityInteractionBridge::ExecuteActionOnAccessibilityFocused(const ActionType& action) in ExecuteActionOnAccessibilityFocused()
Daccessibility_touch_guider.cpp260 ActionType::ACCESSIBILITY_ACTION_CLICK)) { in OnDoubleTap()