Home
last modified time | relevance | path

Searched refs:CleanupCallback (Results 1 - 9 of 9) sorted by relevance

/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/collaborate/
H A Ddsched_collaborate_callback_mgr_test.cpp102 * @tc.desc: call CleanupCallback
113 bool ret = dschedcollaborationcallbackmgr_->CleanupCallback(callback); in HWTEST_F()
118 ret = dschedcollaborationcallbackmgr_->CleanupCallback(callback); in HWTEST_F()
/foundation/ability/dmsfwk/services/dtbschedmgr/include/collaborate/
H A Ddsched_collaborate_callback_mgr.h37 bool CleanupCallback(const sptr<IRemoteObject>& callback);
/foundation/arkui/napi/native_engine/
H A Dnative_engine.h69 using CleanupCallback = void (*)(void*);
329 virtual napi_status AddCleanupHook(CleanupCallback fun, void* arg);
330 virtual napi_status RemoveCleanupHook(CleanupCallback fun, void* arg);
577 std::unordered_map<void*, std::pair<CleanupCallback, uint64_t>> cleanupHooks_;
H A Dnative_engine.cpp717 napi_status NativeEngine::AddCleanupHook(CleanupCallback fun, void* arg) in AddCleanupHook()
720 std::pair<CleanupCallback, uint64_t>(fun, cleanupHookCounter_++)); in AddCleanupHook()
728 napi_status NativeEngine::RemoveCleanupHook(CleanupCallback fun, void* arg) in RemoveCleanupHook()
746 using CleanupCallbackTuple = std::pair<void*, std::pair<CleanupCallback, uint64_t>>; in RunCleanup()
765 CleanupCallback fun = cb.second.first; in RunCleanup()
/foundation/ability/dmsfwk/services/dtbschedmgr/include/
H A Ddistributed_sched_continuation.h46 bool CleanupCallback(const sptr<IRemoteObject>& callback);
/foundation/ability/dmsfwk/services/dtbschedmgr/src/collaborate/
H A Ddsched_collaborate_callback_mgr.cpp79 bool DSchedCollaborationCallbackMgr::CleanupCallback(const sptr<IRemoteObject>& callback) in CleanupCallback() function in OHOS::DistributedSchedule::DSchedCollaborationCallbackMgr
/foundation/ability/dmsfwk/services/dtbschedmgr/src/
H A Ddistributed_sched_continuation.cpp219 bool DSchedContinuation::CleanupCallback(const sptr<IRemoteObject>& callback) in CleanupCallback() function in OHOS::DistributedSchedule::DSchedContinuation
H A Ddistributed_sched_service.cpp2962 result = dschedContinuation_->CleanupCallback(callback); in UnRegisterDSchedEventListener()
2965 result = collaborateCbMgr_->CleanupCallback(callback); in UnRegisterDSchedEventListener()
2968 result = dschedContinuation_->CleanupCallback(callback) && collaborateCbMgr_->CleanupCallback(callback); in UnRegisterDSchedEventListener()
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/
H A Ddistributed_sched_continuation_test.cpp926 * @tc.desc: test CleanupCallback
937 dschedContinuation_->CleanupCallback(callback); in HWTEST_F()
940 bool result = dschedContinuation_->CleanupCallback(callback); in HWTEST_F()

Completed in 15 milliseconds