Home
last modified time | relevance | path

Searched refs:AllocCommunicator (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/communicator/
H A Ddistributeddb_communicator_test.cpp113 ICommunicator *commA = g_envDeviceA.commAggrHandle->AllocCommunicator(LABEL_A, errorNo);
122 ICommunicator *commB = g_envDeviceA.commAggrHandle->AllocCommunicator(LABEL_B, errorNo);
131 ICommunicator *commC = g_envDeviceA.commAggrHandle->AllocCommunicator(LABEL_A, errorNo);
148 ICommunicator *commD = g_envDeviceA.commAggrHandle->AllocCommunicator(LABEL_A, errorNo);
180 ICommunicator *commAA = g_envDeviceA.commAggrHandle->AllocCommunicator(LABEL_A, errorNo);
198 ICommunicator *commBB = g_envDeviceB.commAggrHandle->AllocCommunicator(LABEL_B, errorNo);
218 ICommunicator *commBA = g_envDeviceB.commAggrHandle->AllocCommunicator(LABEL_A, errorNo);
390 ICommunicator *commDD = envDeviceD.commAggrHandle->AllocCommunicator(LABEL_A, errorNo); in TestRemoteRestart()
398 ICommunicator *commEE = envDeviceE.commAggrHandle->AllocCommunicator(LABEL_A, errorNo); in TestRemoteRestart()
419 commEE = envDeviceE.commAggrHandle->AllocCommunicator(LABEL_A, errorNo); in TestRemoteRestart()
[all …]
H A Ddistributeddb_communicator_deep_test.cpp86 g_commAA = g_envDeviceA.commAggrHandle->AllocCommunicator(LABEL_A, errorNo); in AllocAllCommunicator()
88 g_commAB = g_envDeviceA.commAggrHandle->AllocCommunicator(LABEL_B, errorNo); in AllocAllCommunicator()
90 g_commBB = g_envDeviceB.commAggrHandle->AllocCommunicator(LABEL_B, errorNo); in AllocAllCommunicator()
92 g_commBC = g_envDeviceB.commAggrHandle->AllocCommunicator(LABEL_C, errorNo); in AllocAllCommunicator()
94 g_commCC = g_envDeviceC.commAggrHandle->AllocCommunicator(LABEL_C, errorNo); in AllocAllCommunicator()
96 g_commCA = g_envDeviceC.commAggrHandle->AllocCommunicator(LABEL_A, errorNo); in AllocAllCommunicator()
H A Ddistributeddb_communicator_send_receive_test.cpp82 g_commAA = g_envDeviceA.commAggrHandle->AllocCommunicator(LABEL_A, errorNo); in SetUp()
87 g_commBA = g_envDeviceB.commAggrHandle->AllocCommunicator(LABEL_A, errorNo); in SetUp()
92 g_commBB = g_envDeviceB.commAggrHandle->AllocCommunicator(LABEL_B, errorNo); in SetUp()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/include/
H A Dicommunicator_aggregator.h45 virtual ICommunicator *AllocCommunicator(uint64_t commLabel, int &outErrorNo) = 0;
46 virtual ICommunicator *AllocCommunicator(const LabelType &commLabel, int &outErrorNo) = 0;
H A Dcommunicator_aggregator.h62 ICommunicator *AllocCommunicator(uint64_t commLabel, int &outErrorNo) override;
63 ICommunicator *AllocCommunicator(const LabelType &commLabel, int &outErrorNo) override;
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
H A Dvirtual_communicator_aggregator.h36 ICommunicator *AllocCommunicator(uint64_t commLabel, int &outErrorNo) override;
37 ICommunicator *AllocCommunicator(const LabelType &commLabel, int &outErrorNo) override;
58 ICommunicator *AllocCommunicator(const std::string &deviceId, int &outErrorNo);
H A Dvirtual_communicator_aggregator.cpp38 ICommunicator *VirtualCommunicatorAggregator::AllocCommunicator(uint64_t commLabel, int &outErrorNo) in AllocCommunicator() function in DistributedDB::VirtualCommunicatorAggregator
41 return AllocCommunicator(remoteDeviceId_, outErrorNo); in AllocCommunicator()
46 ICommunicator *VirtualCommunicatorAggregator::AllocCommunicator(const LabelType &commLabel, int &ou… in AllocCommunicator() function in DistributedDB::VirtualCommunicatorAggregator
55 return AllocCommunicator(remoteDeviceId_, outErrorNo); in AllocCommunicator()
142 ICommunicator *VirtualCommunicatorAggregator::AllocCommunicator(const std::string &deviceId, int &o… in AllocCommunicator() function in DistributedDB::VirtualCommunicatorAggregator
H A Ddistributeddb_syncer_device_manager_test.cpp62 …ator = static_cast<VirtualCommunicator *>(g_communicatorAggregator->AllocCommunicator(0, errCode)); in SetUpTestCase()
H A Ddistributeddb_ability_sync_test.cpp80 g_communicatorA = g_communicatorAggregator->AllocCommunicator(DEVICE_A, errCode); in SetUp()
82 g_communicatorB = g_communicatorAggregator->AllocCommunicator(DEVICE_B, errCode); in SetUp()
H A Dgeneric_virtual_device.cpp84 communicateHandle_ = communicatorAggregator_->AllocCommunicator(deviceId_, errCode); in Initialize()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/
H A Dsync_engine.cpp289 communicator_ = communicatorAggregator->AllocCommunicator(dualTuplelabel, errCode); in InitComunicator()
291 communicator_ = communicatorAggregator->AllocCommunicator(label, errCode); in InitComunicator()
760 communicator = AllocCommunicator(identifier, errCode); in SetEqualIdentifier()
887 ICommunicator *SyncEngine::AllocCommunicator(const std::string &identifier, int &errCode) in AllocCommunicator() function in DistributedDB::SyncEngine
896 auto communicator = communicatorAggregator->AllocCommunicator(identifierVect, errCode); in AllocCommunicator()
H A Dsync_engine.h195 ICommunicator *AllocCommunicator(const std::string &identifier, int &errCode);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_auto_launch_test.cpp77 ICommunicator *AllocCommunicator(uint64_t commLabel, int &outErrorNo) override in AllocCommunicator() function in __anon8101092d0110::StoreCommunicatorAggregator
82 ICommunicator *AllocCommunicator(const LabelType &commLabel, int &outErrorNo) override in AllocCommunicator() function in __anon8101092d0110::StoreCommunicatorAggregator
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/communicator/src/
H A Dcommunicator_aggregator.cpp137 ICommunicator *CommunicatorAggregator::AllocCommunicator(uint64_t commLabel, int &outErrorNo) in AllocCommunicator() function in DistributedDB::CommunicatorAggregator
145 return AllocCommunicator(realLabel, outErrorNo); in AllocCommunicator()
148 ICommunicator *CommunicatorAggregator::AllocCommunicator(const std::vector<uint8_t> &commLabel, int… in AllocCommunicator() function in DistributedDB::CommunicatorAggregator