Home
last modified time | relevance | path

Searched refs:destroyCallback (Results 1 - 14 of 14) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/node_container/
H A Dnode_container_node.cpp33 for (const auto& destroyCallback : destroyCallbacksMap_) { in OnRecycle()
34 if (destroyCallback.second) { in OnRecycle()
35 destroyCallback.second(); in OnRecycle()
/foundation/communication/ipc/ipc/native/src/c_api/source/
H A Dipc_remote_object_internal.cpp26 OH_OnDeathRecipientDestroyCallback destroyCallback, void *userData) in IPCDeathRecipient()
27 : deathRecipientCallback_(deathRecipientCallback), destroyCallback_(destroyCallback), userData_(userData) in IPCDeathRecipient()
49 OH_OnRemoteDestroyCallback destroyCallback, void *userData) in OHIPCRemoteServiceStub()
50 : IPCObjectStub(desc), requestCallback_(requestCallback), destroyCallback_(destroyCallback), userData_(userData) in OHIPCRemoteServiceStub()
25 IPCDeathRecipient(OH_OnDeathRecipientCallback deathRecipientCallback, OH_OnDeathRecipientDestroyCallback destroyCallback, void *userData) IPCDeathRecipient() argument
48 OHIPCRemoteServiceStub(std::u16string &desc, OH_OnRemoteRequestCallback requestCallback, OH_OnRemoteDestroyCallback destroyCallback, void *userData) OHIPCRemoteServiceStub() argument
H A Dipc_cremote_object.cpp34 OH_OnRemoteDestroyCallback destroyCallback, void *userData) in OH_IPCRemoteStub_Create()
51 requestCallback, destroyCallback, userData)); in OH_IPCRemoteStub_Create()
183 OH_OnDeathRecipientDestroyCallback destroyCallback, void *userData) in OH_IPCDeathRecipient_Create()
190 deathRecipientCallback, destroyCallback, userData)); in OH_IPCDeathRecipient_Create()
33 OH_IPCRemoteStub_Create(const char *descriptor, OH_OnRemoteRequestCallback requestCallback, OH_OnRemoteDestroyCallback destroyCallback, void *userData) OH_IPCRemoteStub_Create() argument
182 OH_IPCDeathRecipient_Create(OH_OnDeathRecipientCallback deathRecipientCallback, OH_OnDeathRecipientDestroyCallback destroyCallback, void *userData) OH_IPCDeathRecipient_Create() argument
/foundation/communication/ipc/ipc/native/src/c_api/include/
H A Dipc_remote_object_internal.h37 OH_OnDeathRecipientDestroyCallback destroyCallback, void *userData);
55 OH_OnRemoteDestroyCallback destroyCallback, void *userData);
/foundation/communication/ipc/interfaces/innerkits/c_api/include/
H A Dipc_cremote_object.h98 * @param destroyCallback Callback to be invoked when the object is destroyed. It can be NULL.
105 OH_OnRemoteDestroyCallback destroyCallback, void *userData);
221 * @param destroyCallback Callback to be invoked when the object is destroyed. It can be NULL.
228 OH_OnDeathRecipientDestroyCallback destroyCallback, void *userData);
/foundation/arkui/ace_engine/test/unittest/core/base/
H A Dview_abstract_model_test_ng.cpp689 for (const auto& destroyCallback : targetNode1->destroyCallbacksMap_) { in HWTEST_F()
690 if (destroyCallback.second) { in HWTEST_F()
691 destroyCallback.second(); in HWTEST_F()
735 for (const auto& destroyCallback : targetNode1->destroyCallbacksMap_) { in HWTEST_F()
736 if (destroyCallback.second) { in HWTEST_F()
737 destroyCallback.second(); in HWTEST_F()
782 for (const auto& destroyCallback : targetNode1->destroyCallbacksMap_) { in HWTEST_F()
783 if (destroyCallback.second) { in HWTEST_F()
784 destroyCallback.second(); in HWTEST_F()
/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Ddialog_container.cpp227 void DialogContainer::DestroyContainer(int32_t instanceId, const std::function<void()>& destroyCallback) in DestroyContainer() argument
243 [instanceId, destroyCallback] { in DestroyContainer()
247 CHECK_NULL_VOID(destroyCallback); in DestroyContainer()
248 destroyCallback(); in DestroyContainer()
H A Ddialog_container.h184 static void DestroyContainer(int32_t instanceId, const std::function<void()>& destroyCallback = nullptr);
H A Dace_container.h427 static void DestroyContainer(int32_t instanceId, const std::function<void()>& destroyCallback = nullptr);
H A Dace_container.cpp1077 void AceContainer::DestroyContainer(int32_t instanceId, const std::function<void()>& destroyCallback) in DestroyContainer() argument
1092 auto removeContainerTask = [instanceId, destroyCallback] { in DestroyContainer()
1096 CHECK_NULL_VOID(destroyCallback); in DestroyContainer()
1097 destroyCallback(); in DestroyContainer()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/att/
H A Datt_common.h433 * @param2 destroyCallback Indicates the pointer to function pointer.
437 void (*callback)(const void *context), void (*destroyCallback)(const void *context), const void *context);
H A Datt_common.c1084 * @param2 destroyCallback Indicates the pointer to function pointer.
1088 void (*callback)(const void *context), void (*destroyCallback)(const void *context), const void *context) in AttAsyncProcess()
1096 if (destroyCallback != NULL) { in AttAsyncProcess()
1097 destroyCallback(context); in AttAsyncProcess()
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dui_node.h702 virtual void SetOnNodeDestroyCallback(std::function<void(int32_t)>&& destroyCallback) in SetOnNodeDestroyCallback() argument
704 destroyCallback_ = std::move(destroyCallback); in SetOnNodeDestroyCallback()
H A Dframe_node.cpp448 for (const auto& destroyCallback : destroyCallbacksMap_) { in ~FrameNode()
449 if (destroyCallback.second) { in ~FrameNode()
450 destroyCallback.second(); in ~FrameNode()
3620 for (const auto& destroyCallback : destroyCallbacksMap_) { in OnRecycle()
3621 if (destroyCallback.second) { in OnRecycle()
3622 destroyCallback.second(); in OnRecycle()

Completed in 26 milliseconds