/foundation/arkui/ace_engine/test/unittest/core/manager/ |
H A D | post_event_manager_test_ng.cpp | 373 PostEventAction eventAction; in HWTEST_F() local 374 eventAction.targetNode = UInode; in HWTEST_F() 375 eventAction.touchEvent = touchUpEvent; in HWTEST_F() 376 postEventManager_->postEventAction_.push_back(eventAction); in HWTEST_F() 403 PostEventAction eventAction; in HWTEST_F() local 404 eventAction.targetNode = frameNode; in HWTEST_F() 405 eventAction.touchEvent = touchUpEvent; in HWTEST_F() 406 postEventManager_->lastEventMap_.insert(std::make_pair(touchUpEvent.id, eventAction)); in HWTEST_F() 407 postEventManager_->postEventAction_.push_back(eventAction); in HWTEST_F() 434 PostEventAction eventAction; in HWTEST_F() local 467 PostEventAction eventAction; HWTEST_F() local 500 PostEventAction eventAction; HWTEST_F() local 533 PostEventAction eventAction; HWTEST_F() local 566 PostEventAction eventAction; HWTEST_F() local 599 PostEventAction eventAction; HWTEST_F() local 632 PostEventAction eventAction; HWTEST_F() local 667 PostEventAction eventAction; HWTEST_F() local 700 PostEventAction eventAction; HWTEST_F() local [all...] |
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/ |
H A D | wifi_common_event_helper.cpp | 31 bool WifiCommonEventHelper::PublishEvent(const std::string &eventAction, const int &code, const std::string &data, in PublishEvent() argument 34 WIFI_LOGD("publish event[%{public}s], code:%{public}d", eventAction.c_str(), code); in PublishEvent() 37 want.SetAction(eventAction); in PublishEvent() 46 WIFI_LOGE("failed to publish event[%{public}s], code:%{public}d", eventAction.c_str(), code); in PublishEvent() 52 WIFI_LOGE("failed to publish event[%{public}s], code:%{public}d", eventAction.c_str(), code); in PublishEvent() 59 bool WifiCommonEventHelper::PublishEvent(const std::string &eventAction, const int &code, const std::string &data) in PublishEvent() argument 61 WIFI_LOGD("publish event[%{public}s], code:%{public}d", eventAction.c_str(), code); in PublishEvent() 64 want.SetAction(eventAction); in PublishEvent() 70 WIFI_LOGE("failed to publish event[%{public}s], code:%{public}d", eventAction.c_str(), code); in PublishEvent() 78 bool WifiCommonEventHelper::PublishEvent(const std::string &eventAction, cons argument [all...] |
H A D | wifi_common_event_helper.h | 52 static bool PublishEvent(const std::string &eventAction, const int &code, const std::string &data, 55 static bool PublishEvent(const std::string &eventAction, const int &code, const std::string &data); 58 static bool PublishEvent(const std::string &eventAction, const std::string ¶mKey, T paramValue,
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | form_utils_impl.cpp | 40 auto eventAction = JsonUtil::ParseJsonString(action); in RouterEvent() local 41 auto uri = eventAction->GetValue("uri"); in RouterEvent() 42 auto params = eventAction->GetValue("params"); in RouterEvent() 60 auto abilityName = eventAction->GetValue("abilityName"); in RouterEvent() 65 auto bundleName = eventAction->GetValue("bundleName"); in RouterEvent() 110 auto eventAction = JsonUtil::ParseJsonString(action); in BackgroundEvent() local 111 auto bundleName = eventAction->GetValue("bundleName"); in BackgroundEvent() 112 auto abilityName = eventAction->GetValue("abilityName"); in BackgroundEvent() 113 auto params = eventAction->GetValue("params"); in BackgroundEvent()
|
H A D | ace_ability.cpp | 451 auto eventAction = JsonUtil::ParseJsonString(action); in OnStart() 452 auto bundleName = eventAction->GetValue("bundleName"); in OnStart() 453 auto abilityName = eventAction->GetValue("abilityName"); in OnStart() 454 auto params = eventAction->GetValue("params"); in OnStart()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/ |
H A D | bluetooth_common_event_helper.cpp | 27 bool BluetoothCommonEventHelper::PublishEvent(const std::string &eventAction,int code, in PublishEvent() argument 31 want.SetAction(eventAction); in PublishEvent()
|
H A D | bluetooth_common_event_helper.h | 27 static bool PublishEvent(const std::string &eventAction,int code,
|
/foundation/arkui/ace_engine/frameworks/core/components/plugin/resource/ |
H A D | plugin_manager_delegate.cpp | 158 auto eventAction = JsonUtil::ParseJsonString(action); in OnActionEvent() local 159 if (!eventAction->IsValid()) { in OnActionEvent() 162 auto actionType = eventAction->GetValue("action"); in OnActionEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components/form/ |
H A D | form_element.cpp | 343 auto eventAction = JsonUtil::ParseJsonString(action); in OnActionEvent() local 344 if (!eventAction->IsValid()) { in OnActionEvent() 348 auto actionType = eventAction->GetValue("action"); in OnActionEvent() 362 HandleOnRouterEvent(eventAction); in OnActionEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components/form/resource/ |
H A D | form_manager_delegate.cpp | 480 auto eventAction = JsonUtil::ParseJsonString(action); in ParseAction() local 481 auto bundleName = eventAction->GetValue("bundleName"); in ParseAction() 482 auto abilityName = eventAction->GetValue("abilityName"); in ParseAction() 483 auto params = eventAction->GetValue("params"); in ParseAction() 500 auto uri = eventAction->GetValue("uri"); in ParseAction() 596 auto eventAction = JsonUtil::ParseJsonString(action); in OnActionEvent() local 597 if (!eventAction->IsValid()) { in OnActionEvent() 601 auto actionType = eventAction->GetValue("action"); in OnActionEvent()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/ |
H A D | dom_node.cpp | 113 for (uint32_t eventAction = 0; eventAction < EventAction::SIZE; eventAction++) { in ~DOMNode() 116 const auto& eventMarker = GetTouchId(eventAction, eventStage, touchEventType); in ~DOMNode() 1841 for (uint32_t eventAction = 0; eventAction < EventAction::SIZE; eventAction++) { in UpdateTouchEventComponent() 1843 EventMarker& eventMarker = GetSwipeId(eventAction, eventStage); in UpdateTouchEventComponent() 1848 touchEventComponent_->SetSwipeEvent(eventMarker, eventAction, eventStage); in UpdateTouchEventComponent() 1867 for (uint32_t eventAction in UpdateTouchEventComponent() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/plugin/ |
H A D | plugin_element.cpp | 201 auto eventAction = JsonUtil::ParseJsonString(action); in OnActionEvent() local 202 if (!eventAction->IsValid()) { in OnActionEvent() 205 auto actionType = eventAction->GetValue("action"); in OnActionEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/plugin/ |
H A D | plugin_pattern.cpp | 324 auto eventAction = JsonUtil::ParseJsonString(action); in OnActionEvent() local 325 if (!eventAction->IsValid()) { in OnActionEvent() 328 auto actionType = eventAction->GetValue("action"); in OnActionEvent()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | js_ace_page.cpp | 371 void JsAcePage::AddNodeEvent(int32_t nodeId, const std::string& actionType, const std::string& eventAction) in AddNodeEvent() argument 374 nodeEvent_[nodeId][actionType] = eventAction; in AddNodeEvent()
|
H A D | js_ace_page.h | 273 void AddNodeEvent(int32_t nodeId, const std::string& actionType, const std::string& eventAction);
|
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | js_card_parser.cpp | 1012 auto eventAction = actionJson->ToString(); in PreUpdateMethodToAction() local 1013 methodToAction_[key] = eventAction; in PreUpdateMethodToAction() 1032 auto eventAction = GetEventAction(actionJson->ToString(), key, nodeId); in ParseEvents() local 1035 eventAction = methodToAction_[linkedEventKey]; in ParseEvents() 1036 eventJson_->Put(value.c_str(), JsonUtil::ParseJsonString(eventAction)); in ParseEvents() 1038 if (!key.empty() && !eventAction.empty()) { in ParseEvents() 1039 page->AddNodeEvent(nodeId, key, eventAction); in ParseEvents()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/form/ |
H A D | form_pattern.cpp | 1739 auto eventAction = JsonUtil::ParseJsonString(action); in OnActionEvent() local 1740 if (!eventAction->IsValid()) { in OnActionEvent() 1744 auto actionType = eventAction->GetValue("action"); in OnActionEvent() 1775 FireOnRouterEvent(eventAction); in OnActionEvent() 1780 auto eventAction = JsonUtil::ParseJsonString(action); in OnActionEvent() 1782 pattern->FireOnRouterEvent(eventAction); in OnActionEvent()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/form/ |
H A D | form_pattern_test.cpp | 1874 auto eventAction = JsonUtil::ParseJsonString(action); in HWTEST_F() local 1876 pattern->FireOnRouterEvent(eventAction); in HWTEST_F() 1883 pattern->FireOnRouterEvent(eventAction); in HWTEST_F() 1887 pattern->FireOnRouterEvent(eventAction); in HWTEST_F()
|
/foundation/multimodalinput/input/service/window_manager/src/ |
H A D | input_windows_manager.cpp | 1421 int32_t eventAction = lastPointerEvent_->GetPointerAction(); in UpdateDisplayInfo() local 1422 bool checkFlag = (eventAction == PointerEvent::POINTER_ACTION_MOVE && in UpdateDisplayInfo() 1424 (eventAction >= PointerEvent::POINTER_ACTION_AXIS_BEGIN && in UpdateDisplayInfo() 1425 eventAction <= PointerEvent::POINTER_ACTION_AXIS_END); in UpdateDisplayInfo()
|