Home
last modified time | relevance | path

Searched refs:actionCallback (Results 1 - 10 of 10) sorted by relevance

/foundation/window/window_manager/test/common/mock/
H A Dmock_uicontent.h74 MOCK_METHOD1(SetActionEventHandler, void(std::function<void(const std::string& action)>&& actionCallback));
76 void(std::function<void(const std::string& code, const std::string& msg)>&& actionCallback));
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_ui_content.h81 MOCK_METHOD1(SetActionEventHandler, void(std::function<void(const std::string &action)> &&actionCallback));
84 void(std::function<void(const std::string &code, const std::string &msg)> &&actionCallback));
/foundation/arkui/ace_engine/test/mock/interfaces/
H A Dmock_uicontent.h86 MOCK_METHOD1(SetActionEventHandler, void(std::function<void(const std::string& action)>&& actionCallback));
89 void(std::function<void(const std::string& code, const std::string& msg)>&& actionCallback));
/foundation/barrierfree/accessibility/services/test/xts/src/sa_perform_action_test/
H A Dsa_perform_action_xts.cpp581 sptr<ElementOperatorCallbackImpl> actionCallback = new(std::nothrow) ElementOperatorCallbackImpl(); in ExecuteActionOnA11yFocused() local
582 if (actionCallback == nullptr) { in ExecuteActionOnA11yFocused()
583 HILOG_ERROR("Failed to create actionCallback."); in ExecuteActionOnA11yFocused()
586 ffrt::future<void> actionFuture = actionCallback->promise_.get_future(); in ExecuteActionOnA11yFocused()
590 actionArguments, GenerateRequestId(), actionCallback); in ExecuteActionOnA11yFocused()
598 actionCallback); in ExecuteActionOnA11yFocused()
610 return actionCallback->executeActionResult_; in ExecuteActionOnA11yFocused()
/foundation/barrierfree/accessibility/services/test/xts/src/samgr_register_element_test/
H A Dsamgr_register_element_test.cpp581 sptr<ElementOperatorCallbackImpl> actionCallback = new(std::nothrow) ElementOperatorCallbackImpl(); in ExecuteActionOnA11yRegisterElementFocused() local
582 if (actionCallback == nullptr) { in ExecuteActionOnA11yRegisterElementFocused()
583 HILOG_ERROR("Failed to create actionCallback."); in ExecuteActionOnA11yRegisterElementFocused()
586 ffrt::future<void> actionFuture = actionCallback->promise_.get_future(); in ExecuteActionOnA11yRegisterElementFocused()
590 actionArguments, GenerateRequestId(), actionCallback); in ExecuteActionOnA11yRegisterElementFocused()
598 actionCallback); in ExecuteActionOnA11yRegisterElementFocused()
610 return actionCallback->executeActionResult_; in ExecuteActionOnA11yRegisterElementFocused()
/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dui_content_impl.h105 void SetActionEventHandler(std::function<void(const std::string& action)>&& actionCallback) override {}
/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessible_ability_manager_service.cpp581 sptr<ElementOperatorCallbackImpl> actionCallback = new(std::nothrow) ElementOperatorCallbackImpl(); in ExecuteActionOnAccessibilityFocused() local
582 if (actionCallback == nullptr) { in ExecuteActionOnAccessibilityFocused()
583 HILOG_ERROR("Failed to create actionCallback."); in ExecuteActionOnAccessibilityFocused()
586 ffrt::future<void> actionFuture = actionCallback->promise_.get_future(); in ExecuteActionOnAccessibilityFocused()
590 actionArguments, GenerateRequestId(), actionCallback); in ExecuteActionOnAccessibilityFocused()
598 actionCallback); in ExecuteActionOnAccessibilityFocused()
610 return actionCallback->executeActionResult_; in ExecuteActionOnAccessibilityFocused()
/foundation/arkui/ace_engine/interfaces/inner_api/ace/
H A Dui_content.h203 virtual void SetActionEventHandler(std::function<void(const std::string&)>&& actionCallback) {}; in SetActionEventHandler() argument
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dui_content_impl.h169 void SetActionEventHandler(std::function<void(const std::string& action)>&& actionCallback) override;
H A Dui_content_impl.cpp3003 void UIContentImpl::SetActionEventHandler(std::function<void(const std::string& action)>&& actionCallback) in SetActionEventHandler() argument
3005 CHECK_NULL_VOID(actionCallback); in SetActionEventHandler()
3010 pipelineContext->SetActionEventHandler(std::move(actionCallback)); in SetActionEventHandler()

Completed in 24 milliseconds