Home
last modified time | relevance | path

Searched refs:onEnd (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Dvirtual_communicator_aggregator.cpp169 const Message *inMsg, const OnSendEnd &onEnd) in DispatchMessage() argument
180 return CallSendEnd(-E_PERIPHERAL_INTERFACE_FAIL, onEnd); in DispatchMessage()
185 DispatchMessageInner(srcTarget, dstTarget, inMsg, onEnd); in DispatchMessage()
189 const Message *inMsg, const OnSendEnd &onEnd) in DispatchMessageInner() argument
200 return CallSendEnd(-E_PERIPHERAL_INTERFACE_FAIL, onEnd); in DispatchMessageInner()
222 CallSendEnd(E_OK, onEnd); in DispatchMessageInner()
227 CallSendEnd(-E_NOT_FOUND, onEnd); in DispatchMessageInner()
256 void VirtualCommunicatorAggregator::CallSendEnd(int errCode, const OnSendEnd &onEnd) in CallSendEnd() argument
261 if (onEnd) { in CallSendEnd()
262 (void)RuntimeContext::GetInstance()->ScheduleTask([errCode, onEnd, this]() { in CallSendEnd()
[all …]
H A Dvirtual_communicator_aggregator.h55 const OnSendEnd &onEnd);
104 void CallSendEnd(int errCode, const OnSendEnd &onEnd);
107 const OnSendEnd &onEnd);
H A Dvirtual_communicator.cpp54 const OnSendEnd &onEnd) in SendMessage() argument
72 communicatorAggregator_->DispatchMessage(deviceId_, dstTarget, inMsg, onEnd); in SendMessage()
80 communicatorAggregator_->DispatchMessage(deviceId_, dstTarget, message, onEnd); in SendMessage()
H A Dvirtual_time_sync_communicator.h62 const OnSendEnd &onEnd) override;
H A Dvirtual_time_sync_communicator.cpp92 const SendConfig &config, const OnSendEnd &onEnd) in SendMessage() argument
H A Dvirtual_communicator.h60 const OnSendEnd &onEnd) override;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dcommunicator_proxy.cpp204 const OnSendEnd &onEnd) in SendMessage() argument
216 int errCode = targetCommunicator->SendMessage(dstTarget, inMsg, config, onEnd); in SendMessage()
222 return mainComm_->SendMessage(dstTarget, inMsg, config, onEnd); in SendMessage()
H A Dcommunicator_proxy.h47 const OnSendEnd &onEnd) override;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/
H A Dcommunicator_aggregator.cpp279 void DoOnSendEndByTaskIfNeed(const OnSendEnd &onEnd, int result) in DoOnSendEndByTaskIfNeed() argument
281 if (onEnd) { // LCOV_EXCL_BR_LINE in DoOnSendEndByTaskIfNeed()
282 TaskAction onSendEndTask = [onEnd, result]() { in DoOnSendEndByTaskIfNeed()
284 onEnd(result, true); in DoOnSendEndByTaskIfNeed()
296 FrameType inType, const TaskConfig &inConfig, const OnSendEnd &onEnd) in ScheduleSendTask() argument
305 DoOnSendEndByTaskIfNeed(onEnd, -E_PERIPHERAL_INTERFACE_FAIL); in ScheduleSendTask()
324 SendTask task{inBuff, dstTarget, onEnd, info.frameId, true}; in ScheduleSendTask()
453 if (inTask.onEnd) { in TaskFinalizer()
455 inTask.onEnd(result, true); in TaskFinalizer()
H A Dsend_task_scheduler.cpp307 if (sendTask.onEnd) { in InvalidSendTask()
309 sendTask.onEnd(softBusErrCodeMap_[target], false); in InvalidSendTask()
310 sendTask.onEnd = nullptr; in InvalidSendTask()
H A Dcommunicator.cpp104 const OnSendEnd &onEnd) in SendMessage() argument
134 …ggrHandle_->ScheduleSendTask(dstTarget, buffer, FrameType::APPLICATION_MESSAGE, taskConfig, onEnd); in SendMessage()
H A Dcommunicator.h56 const OnSendEnd &onEnd) override;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/include/
H A Dicommunicator.h84 …const OnSendEnd &onEnd) = 0; // HW Code Regulation do not allow to use default parameters on virtu…
H A Dsend_task_scheduler.h39 OnSendEnd onEnd; member
H A Dcommunicator_aggregator.h88 const TaskConfig &inConfig, const OnSendEnd &onEnd = nullptr);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_scroll_modifier.cpp927 auto onEnd = reinterpret_cast<std::function<void()>*>(callback); in SetScrollOnScrollEnd() local
928 ScrollModelNG::SetOnScrollStop(frameNode, std::move(*onEnd)); in SetScrollOnScrollEnd()
946 auto onEnd = reinterpret_cast<std::function<void()>*>(callback); in SetScrollOnScrollStop() local
947 ScrollModelNG::SetOnScrollStop(frameNode, std::move(*onEnd)); in SetScrollOnScrollStop()