/base/update/packaging_tools/ |
D | transfers_manager.py | 34 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,
|
D | patch_package_process.py | 24 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/ |
D | test_inc.py | 19 from transfers_manager import ActionType 51 ActionType.NEW, "test.txt", "test.txt", bm1, bm2)
|
D | test_utils.py | 33 from transfers_manager import ActionType 168 ActionType.ZERO, "tgt_file_name", "__ZERO",
|
/base/accessibility/frameworks/asacfwk/test/unittest/ |
D | accessibility_event_info_test.cpp | 411 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);
|
D | accessibility_element_info_test.cpp | 79 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/ |
D | napi_accessibility_utils.cpp | 475 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 …]
|
D | napi_accessibility_info.cpp | 101 ActionType action = ConvertStringToAccessibleOperationType(callbackInfo->content_); in ExecuteAction()
|
/base/accessibility/interfaces/innerkits/asacfwk/include/ |
D | accessibility_element_info.h | 29 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…
|
D | accessibility_event_info.h | 628 void SetTriggerAction(const ActionType action); 637 ActionType GetTriggerAction() const; 724 ActionType triggerAction_ = ACCESSIBILITY_ACTION_INVALID;
|
D | accessibility_system_ability_client.h | 328 bool CheckActionType(ActionType actionType);
|
/base/accessibility/services/aams/include/ |
D | accessibility_interaction_bridge.h | 48 bool ExecuteActionOnAccessibilityFocused(const ActionType &action);
|
/base/accessibility/services/aams/test/mock/ |
D | accessibility_info_mock.cpp | 95 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/ |
D | accessibility_info_mock.cpp | 90 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/ |
D | accessibility_system_ability_client_test.cpp | 178 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/ |
D | mock_accessibility_event_info.cpp | 276 void AccessibilityEventInfo::SetTriggerAction(const ActionType action) in SetTriggerAction() 281 ActionType AccessibilityEventInfo::GetTriggerAction() const in GetTriggerAction()
|
D | mock_accessibility_element_info.cpp | 108 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/ |
D | napi_accessibility_utils.h | 65 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/ |
D | accessibility_system_ability_client.cpp | 384 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()
|
D | accessibility_event_info.cpp | 263 triggerAction_ = static_cast<ActionType>(triggerAction); in ReadFromParcel() 490 void AccessibilityEventInfo::SetTriggerAction(const ActionType action) in SetTriggerAction() 496 ActionType AccessibilityEventInfo::GetTriggerAction() const in GetTriggerAction()
|
D | accessibility_element_info.cpp | 344 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/ |
D | accessibility_interaction_bridge.cpp | 78 bool AccessibilityInteractionBridge::ExecuteActionOnAccessibilityFocused(const ActionType& action) in ExecuteActionOnAccessibilityFocused()
|
D | accessibility_touch_guider.cpp | 260 ActionType::ACCESSIBILITY_ACTION_CLICK)) { in OnDoubleTap()
|