Home
last modified time | relevance | path

Searched refs:communicateHandle_ (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Dgeneric_virtual_device.cpp24 : communicateHandle_(nullptr), in GenericVirtualDevice()
44 if (communicateHandle_ != nullptr) { in ~GenericVirtualDevice()
45 communicateHandle_->RegOnMessageCallback(nullptr, nullptr); in ~GenericVirtualDevice()
46 communicatorAggregator_->ReleaseCommunicator(communicateHandle_); in ~GenericVirtualDevice()
47 communicateHandle_ = nullptr; in ~GenericVirtualDevice()
85 if (communicateHandle_ == nullptr) { in Initialize()
111 communicateHandle_->RegOnMessageCallback( in Initialize()
121 executor_->Initialize(syncInterface, communicateHandle_); in Initialize()
158 RefObject::IncObjRef(communicateHandle_); in MessageCallback()
160 ICommunicator *communicateHandle = communicateHandle_; in MessageCallback()
[all …]
H A Dmock_single_ver_data_sync.h52 communicateHandle_ = communicator; in SetCommunicatorHandle()
H A Dgeneric_virtual_device.h50 ICommunicator *communicateHandle_;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/multiver/
H A Dvalue_slice_sync.h67 ValueSliceSync() : storagePtr_(nullptr), communicateHandle_(nullptr) {}; in ValueSliceSync()
121 ICommunicator *communicateHandle_; variable
H A Dmulti_ver_data_sync.h68 MultiVerDataSync() : storagePtr_(nullptr), communicateHandle_(nullptr) {}; in MultiVerDataSync()
130 ICommunicator *communicateHandle_; variable
H A Dvalue_slice_sync.cpp97 communicateHandle_ = nullptr; in ~ValueSliceSync()
175 communicateHandle_ = communicateHandle; in Initialize()
531 int errCode = communicateHandle_->SendMessage(deviceId, inMsg, conf); in Send()
H A Dmulti_ver_data_sync.cpp97 communicateHandle_ = nullptr; in ~MultiVerDataSync()
175 communicateHandle_ = communicateHandle; in Initialize()
582 int errCode = communicateHandle_->SendMessage(deviceId, inMsg, conf); in Send()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dcommit_history_sync.h87 CommitHistorySync() : storagePtr_(nullptr), communicateHandle_(nullptr) {}; in CommitHistorySync()
141 ICommunicator *communicateHandle_; variable
H A Dtime_sync.cpp137 : communicateHandle_(nullptr), in TimeSync()
161 communicateHandle_ = nullptr; in ~TimeSync()
191 communicateHandle_ = communicator; in Initialize()
488 int errCode = communicateHandle_->SendMessage(deviceId, message, conf, handler); in SendPacket()
673 int errCode = communicateHandle_->GetRemoteCommunicatorVersion(deviceId_, version); in IsRemoteLowVersion()
H A Dcommit_history_sync.cpp138 communicateHandle_ = nullptr; in ~CommitHistorySync()
218 communicateHandle_ = communicateHandle; in Initialize()
549 int errCode = communicateHandle_->SendMessage(deviceId, inMsg, conf); in Send()
707 return communicateHandle_->GetLocalIdentity(deviceInfo); in GetLocalDeviceInfo()
H A Dtime_sync.h152 ICommunicator *communicateHandle_; variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/
H A Dsingle_ver_data_sync.cpp36 communicateHandle_(nullptr), in SingleVerDataSync()
44 communicateHandle_ = nullptr; in ~SingleVerDataSync()
55 communicateHandle_ = inCommunicateHandle; in Initialize()
230 if (communicateHandle_ != nullptr) { in GetLocalDeviceName()
231 communicateHandle_->GetLocalIdentity(deviceInfo); in GetLocalDeviceName()
247 …int errCode = communicateHandle_->SendMessage(context->GetDeviceId(), message, sendConfig, handler… in Send()
920 …if (communicateHandle_->GetRemoteCommunicatorVersion(context->GetDeviceId(), remoteCommunicatorVer… in DoAbilitySyncIfNeed()
1339 …mitReceive = SingleVerDataSyncUtils::CheckPermitReceiveData(context, communicateHandle_, storage_); in RunPermissionCheck()
1706 …mtuSize_ = communicateHandle_->GetCommunicatorMtuSize(deviceId_) * 9 / 10; // get the 9/10 of the … in UpdateMtuSize()
1887 …bool permitReceive = SingleVerDataSyncUtils::CheckPermitReceiveData(context, communicateHandle_, s… in ControlCmdStartCheck()
H A Dsingle_ver_data_sync.h256 ICommunicator* communicateHandle_; variable