/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/ |
H A D | xcomponent_model_impl.h | 30 void SetOnDestroy(DestroyEvent&& onDestroy) override;
|
H A D | xcomponent_model_impl.cpp | 67 void XComponentModelImpl::SetOnDestroy(DestroyEvent&& onDestroy) in SetOnDestroy() function in OHOS::Ace::Framework::XComponentModelImpl
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/ |
H A D | xcomponent_model_ng.h | 49 void SetOnDestroy(DestroyEvent&& onDestroy) override; 82 static void SetOnDestroy(FrameNode* frameNode, DestroyEvent&& onDestroy);
|
H A D | xcomponent_model_ng.cpp | 146 void XComponentModelNG::SetOnDestroy(DestroyEvent&& onDestroy) in SetOnDestroy() function in OHOS::Ace::NG::XComponentModelNG 156 eventHub->SetOnDestroy(std::move(onDestroy)); in SetOnDestroy() 159 void XComponentModelNG::SetOnDestroy(FrameNode* frameNode, DestroyEvent&& onDestroy) in SetOnDestroy() function in OHOS::Ace::NG::XComponentModelNG 169 eventHub->SetOnDestroy(std::move(onDestroy)); in SetOnDestroy() 195 eventHub->SetOnDestroy(std::move(onDestroy)); in RegisterOnDestroy()
|
H A D | xcomponent_event_hub.h | 51 void SetOnDestroy(DestroyEvent&& destroyEvent) in SetOnDestroy() function in OHOS::Ace::NG::XComponentEventHub
|
H A D | xcomponent_model.h | 61 virtual void SetOnDestroy(DestroyEvent&& onDestroy) = 0;
|
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/ |
H A D | dfx_module.h | 58 JSI::SetOnDestroy(exports, DfxModule::OnDestroy); in InitDfxModule()
|
H A D | sample_module.h | 54 JSI::SetOnDestroy(exports, SampleModule::OnDestroy); in InitSampleModule()
|
/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/jsi/ |
H A D | jsi.h | 589 static void SetOnDestroy(JSIValue object, NativeCallback callback); 597 static void SetOnDestroy(JSIValue object, JsiCallback callback);
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_xcomponent_bridge.h | 73 static ArkUINativeModuleValue SetOnDestroy(ArkUIRuntimeCallInfo* runtimeCallInfo);
|
H A D | arkts_native_xcomponent_bridge.cpp | 619 ArkUINativeModuleValue XComponentBridge::SetOnDestroy(ArkUIRuntimeCallInfo *runtimeCallInfo) in SetOnDestroy() function in OHOS::Ace::NG::XComponentBridge 636 XComponentModelNG::SetOnDestroy(frameNode, std::move(onDestroy)); in SetOnDestroy()
|
H A D | arkts_native_api_impl_bridge.cpp | 5290 panda::FunctionRef::New(const_cast<panda::EcmaVM*>(vm), XComponentBridge::SetOnDestroy)); in RegisterXComponentAttributes()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_ability_component.cpp | 93 JSViewBindEvent(&AbilityComponent::SetOnDestroy, info); in JsOnDestroy()
|
H A D | js_xcomponent.cpp | 361 XComponentModel::GetInstance()->SetOnDestroy(std::move(onDestroy)); in JsOnDestroy()
|
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/ |
H A D | jsi.cpp | 848 void JSI::SetOnDestroy(JSIValue object, NativeCallback callback) in SetOnDestroy() function in OHOS::ACELite::JSI 851 HILOG_ERROR(HILOG_MODULE_ACE, "JSI:SetOnDestroy failed!"); in SetOnDestroy() 858 HILOG_ERROR(HILOG_MODULE_ACE, "JSI:SetOnDestroy has not been implemented in this js engine!"); in SetOnDestroy() 862 void JSI::SetOnDestroy(JSIValue object, JsiCallback callback) in SetOnDestroy() function in OHOS::ACELite::JSI 874 JSI::SetOnDestroy(funObj, callback); in SetOnTerminate()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/xcomponent/ |
H A D | xcomponent_testtwo_ng.cpp | 115 XComponentModelNG().SetOnDestroy(std::move(testProperty.destroyEvent.value())); in CreateXComponentNode()
|
H A D | xcomponent_test_ng.cpp | 177 XComponentModelNG().SetOnDestroy(std::move(testProperty.destroyEvent.value())); in CreateXComponentNode()
|
H A D | xcomponent_property_test_ng.cpp | 131 XComponentModelNG().SetOnDestroy(std::move(testProperty.destroyEvent.value())); in CreateXComponentNode()
|
/foundation/arkui/ace_engine_lite/frameworks/native_engine/jsi/test/unittest/common/ |
H A D | jsi_interface_tdd_test.cpp | 812 * @tc.steps: step1. create an object and call JSI SetOnDestroy in JSIInterfaceTest022() 815 JSI::SetOnDestroy(object, OnDestroy); in JSIInterfaceTest022()
|