Searched refs:DiscStopAdvertise (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/tests/core/discovery/manager/unittest/ |
H A D | disc_manager_test.cpp | 865 DiscStopAdvertise(MODULE_LNN, info->subscribeId); in DiscStartAdvertiseTestAbstract002() 870 DiscStopAdvertise(MODULE_LNN, info->subscribeId); in DiscStartAdvertiseTestAbstract002() 875 DiscStopAdvertise(MODULE_LNN, info->subscribeId); in DiscStartAdvertiseTestAbstract002() 880 DiscStopAdvertise(MODULE_LNN, info->subscribeId); in DiscStartAdvertiseTestAbstract002() 885 DiscStopAdvertise(MODULE_LNN, info->subscribeId); in DiscStartAdvertiseTestAbstract002() 1302 ret = DiscStopAdvertise(MODULE_LNN, TEST_SUBSCRIBEINNER_ID); 1358 int32_t ret = DiscStopAdvertise(module, info->subscribeId); in DiscStopAdvertiseTestAbstract001() 1363 ret = DiscStopAdvertise(module, info->subscribeId); in DiscStopAdvertiseTestAbstract001() 1368 ret = DiscStopAdvertise(module, info->subscribeId); in DiscStopAdvertiseTestAbstract001() 1373 ret = DiscStopAdvertise(module, info->subscribeId); in DiscStopAdvertiseTestAbstract001() [all …]
|
H A D | disc_manager_mock_test.cpp | 582 EXPECT_EQ(DiscStopAdvertise(static_cast<DiscModule>(0), 0), SOFTBUS_INVALID_PARAM); 583 EXPECT_EQ(DiscStopAdvertise(static_cast<DiscModule>(MODULE_MAX + 1), 0), SOFTBUS_INVALID_PARAM); 584 EXPECT_EQ(DiscStopAdvertise(MODULE_LNN, -1), SOFTBUS_DISCOVER_MANAGER_INFO_NOT_DELETE); 592 EXPECT_EQ(DiscStopAdvertise(MODULE_LNN, SUBSCRIBE_ID1), SOFTBUS_DISCOVER_TEST_CASE_ERRCODE); 593 EXPECT_EQ(DiscStopAdvertise(MODULE_LNN, SUBSCRIBE_ID5), SOFTBUS_DISCOVER_TEST_CASE_ERRCODE); 599 EXPECT_EQ(DiscStopAdvertise(MODULE_LNN, SUBSCRIBE_ID3), SOFTBUS_OK); 600 EXPECT_EQ(DiscStopAdvertise(MODULE_LNN, SUBSCRIBE_ID7), SOFTBUS_OK); 814 std::thread(DiscStopAdvertise, MODULE_LNN, subscribeInfo.subscribeId).detach();
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/disc_mgr/ |
H A D | disc_manager_mock.cpp | 71 int32_t DiscStopAdvertise(DiscModule moduleId, int32_t subscribeId) in DiscStopAdvertise() function 73 return GetDiscManagerInterface()->DiscStopAdvertise(moduleId, subscribeId); in DiscStopAdvertise()
|
H A D | disc_manager_mock.h | 38 virtual int32_t DiscStopAdvertise(DiscModule moduleId, int32_t subscribeId) = 0; 52 MOCK_METHOD2(DiscStopAdvertise, int32_t(DiscModule, int32_t));
|
H A D | lnn_discovery_interface_test.cpp | 230 EXPECT_CALL(discMock, DiscStopAdvertise).WillRepeatedly(Return(SOFTBUS_ERR)); 233 EXPECT_CALL(discMock, DiscStopAdvertise).WillRepeatedly(Return(SOFTBUS_OK));
|
/ohos5.0/foundation/communication/dsoftbus/core/discovery/interface/ |
H A D | disc_interface.h | 201 int32_t DiscStopAdvertise(DiscModule moduleId, int32_t subscribeId);
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/disc_mgr/src/ |
H A D | lnn_discovery_interface.c | 122 if ((ret = DiscStopAdvertise(MODULE_LNN, subscribeId)) != SOFTBUS_OK) { in LnnStopDiscDevice()
|
/ohos5.0/foundation/communication/dsoftbus/core/discovery/manager/src/ |
H A D | disc_manager.c | 1011 int32_t DiscStopAdvertise(DiscModule moduleId, int32_t subscribeId) in DiscStopAdvertise() function
|