Home
last modified time | relevance | path

Searched refs:DEVICE_NAME_B (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/communicator/
H A Ddistributeddb_communicator_deep_test.cpp61 errCode = SetUpEnv(g_envDeviceB, DEVICE_NAME_B); in SetUpTestCase()
164 g_envDeviceA.adapterHandle->SimulateSendRetry(DEVICE_NAME_B);
173 int errCode = g_commAB->SendMessage(DEVICE_NAME_B, msgForAB, conf);
190 g_envDeviceA.adapterHandle->SimulateSendRetryClear(DEVICE_NAME_B);
298 EXPECT_EQ(outTask.dstTarget, DEVICE_NAME_B);
316 EXPECT_EQ(outTask.dstTarget, DEVICE_NAME_B);
489 errCode = g_commCC->SendMessage(DEVICE_NAME_B, sendMsgForCC, conf);
539 int errCode = g_commAB->SendMessage(DEVICE_NAME_B, sendMsg, conf);
542 g_envDeviceA.adapterHandle->SimulateSendRetry(DEVICE_NAME_B);
543 g_envDeviceA.adapterHandle->SimulateSendRetryClear(DEVICE_NAME_B);
[all …]
H A Ddistributeddb_communicator_send_receive_test.cpp57 errCode = SetUpEnv(g_envDeviceB, DEVICE_NAME_B); in SetUpTestCase()
162 int errCode = g_commAA->SendMessage(DEVICE_NAME_B, msgForAA, conf);
213 int errCode = g_commAA->SendMessage(DEVICE_NAME_B, msgForAA, conf);
243 int errCode = g_commAA->SendMessage(DEVICE_NAME_B, msgForAA, conf);
597 int errCode = g_commAA->SendMessage(DEVICE_NAME_B, msgForAA, conf, sendResultNotifier);
614 errCode = g_commAA->SendMessage(DEVICE_NAME_B, msgForAA, conf, sendResultNotifier);
738 int errCode = g_commAA->SendMessage(DEVICE_NAME_B, msgForAA, conf);
H A Ddistributeddb_communicator_test.cpp68 errCode = SetUpEnv(g_envDeviceB, DEVICE_NAME_B); in SetUpTestCase()
238 EXPECT_EQ(onlineForAA.latestOnlineDevice, DEVICE_NAME_B);
252 EXPECT_EQ(onlineForAA.latestOfflineDevice, DEVICE_NAME_B);
324 EXPECT_EQ(onlineForAA.latestOnlineDevice, DEVICE_NAME_B);
339 EXPECT_EQ(onlineForAB.latestOnlineDevice, DEVICE_NAME_B);
369 EXPECT_EQ(onlineForAB.latestOfflineDevice, DEVICE_NAME_B);
503 EXPECT_EQ(onlineForA.latestOnlineDevice, DEVICE_NAME_B);
514 EXPECT_EQ(onlineForA.latestOfflineDevice, DEVICE_NAME_B);
570 errCode = commAA->SendMessage(DEVICE_NAME_B, msgForAA, conf);
H A Ddistributeddb_communicator_common.h119 const std::string DEVICE_NAME_B = "DeviceB"; variable