Home
last modified time | relevance | path

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

/foundation/communication/dsoftbus/tests/core/discovery/manager/unittest/
Ddisc_manager_mock_test.cpp480 EXPECT_EQ(DiscSubscribe(static_cast<DiscModule>(0), &info), SOFTBUS_INVALID_PARAM);
481 EXPECT_EQ(DiscSubscribe(static_cast<DiscModule>(MODULE_MAX + 1), &info), SOFTBUS_INVALID_PARAM);
482 EXPECT_EQ(DiscSubscribe(MODULE_LNN, nullptr), SOFTBUS_INVALID_PARAM);
485 EXPECT_EQ(DiscSubscribe(MODULE_LNN, &info), SOFTBUS_INVALID_PARAM);
489 EXPECT_EQ(DiscSubscribe(MODULE_LNN, &info), SOFTBUS_INVALID_PARAM);
493 EXPECT_EQ(DiscSubscribe(MODULE_LNN, &info), SOFTBUS_INVALID_PARAM);
498 EXPECT_EQ(DiscSubscribe(MODULE_LNN, &info), SOFTBUS_INVALID_PARAM);
503 EXPECT_EQ(DiscSubscribe(MODULE_LNN, &info), SOFTBUS_DISCOVER_MANAGER_INFO_NOT_CREATE);
531 EXPECT_EQ(DiscSubscribe(MODULE_LNN, &info), SOFTBUS_ERR);
538 EXPECT_EQ(DiscSubscribe(MODULE_LNN, &info), SOFTBUS_OK);
[all …]
Ddisc_manager_test.cpp1694 ret = DiscSubscribe(MODULE_CONN, &g_sInnerInfo);
1721 ret = DiscSubscribe((DiscModule)TEST_ERRO_MOUDULE, &testInfo);
1725 ret = DiscSubscribe(MODULE_LNN, &testInfo);
1730 ret = DiscSubscribe(MODULE_LNN, &testInfo);
1736 ret = DiscSubscribe(MODULE_LNN, &testInfo);
1741 ret = DiscSubscribe(MODULE_LNN, &testInfo);
1761 ret = DiscSubscribe(MODULE_CONN, &g_sInnerInfo);
1780 ret = DiscSubscribe(MODULE_CONN, &g_sInnerInfo1);
1799 ret = DiscSubscribe(MODULE_CONN, &g_sInnerInfo1);
1800 ret = DiscSubscribe(MODULE_CONN, &g_sInnerInfo1);
[all …]
/foundation/communication/dsoftbus/core/discovery/interface/
Ddisc_interface.h193 int32_t DiscSubscribe(DiscModule moduleId, const SubscribeInfo *info);
/foundation/communication/dsoftbus/core/discovery/manager/src/
Ddisc_manager.c724 int32_t DiscSubscribe(DiscModule moduleId, const SubscribeInfo *info) in DiscSubscribe() function