/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane_link/ |
H A D | lnn_lane_link_test.cpp | 344 EXPECT_CALL(linkMock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); 422 EXPECT_CALL(linkMock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); 1582 EXPECT_CALL(linkMock, GetWifiDirectManager).WillRepeatedly(Return(&manager)); in SetCommonFunction() 1797 EXPECT_CALL(mock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager6)); 1802 EXPECT_CALL(mock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager6)); 1807 EXPECT_CALL(mock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager5)); 1812 EXPECT_CALL(mock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager5)); 1834 EXPECT_CALL(mock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager6)); 1839 EXPECT_CALL(mock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager5)); 1844 EXPECT_CALL(mock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager6)); [all …]
|
H A D | lnn_lane_link_wifi_direct_test.cpp | 219 EXPECT_CALL(linkMock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); 266 EXPECT_CALL(linkMock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); 315 EXPECT_CALL(linkMock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); 364 EXPECT_CALL(linkMock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); 417 EXPECT_CALL(linkMock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); 470 EXPECT_CALL(linkMock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); 516 EXPECT_CALL(linkMock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); 547 EXPECT_CALL(linkMock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager));
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/src/ |
H A D | hb_fsm_mock.cpp | 167 struct WifiDirectManager* GetWifiDirectManager(void) in GetWifiDirectManager() function 169 return HeartBeatFSMInterfaceInstance()->GetWifiDirectManager(); in GetWifiDirectManager()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/include/ |
H A D | hb_fsm_mock.h | 62 virtual struct WifiDirectManager* GetWifiDirectManager(void) = 0; 95 MOCK_METHOD0(GetWifiDirectManager, WifiDirectManager*(void));
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/ |
H A D | lnn_lane_link_p2p.c | 405 info.requestId = GetWifiDirectManager()->getRequestId(); in DisconnectP2pWithoutAuthConn() 418 errCode = GetWifiDirectManager()->disconnectDevice(&info, &callback); in DisconnectP2pWithoutAuthConn() 440 struct WifiDirectManager *pManager = GetWifiDirectManager(); in DisconnectP2pForLinkNotifyFail() 515 info.requestId = GetWifiDirectManager()->getRequestId(); in OnConnOpenFailedForDisconnect() 553 info.requestId = GetWifiDirectManager()->getRequestId(); in OnConnOpenedForDisconnect() 1488 info.requestId = GetWifiDirectManager()->getRequestId(); in OnAuthConnOpened() 1510 ret = GetWifiDirectManager()->connectDevice(&info, &callback); in OnAuthConnOpened() 1638 info.requestId = GetWifiDirectManager()->getRequestId(); in OnProxyChannelOpened() 1664 ret = GetWifiDirectManager()->connectDevice(&info, &callback); in OnProxyChannelOpened() 1772 wifiDirectInfo.requestId = GetWifiDirectManager()->getRequestId(); in OnAuthTriggerConnOpened() [all …]
|
H A D | lnn_lane_link_wifi_direct.c | 349 ret = GetWifiDirectManager()->forceDisconnectDevice(&info, &callback); in OnConnOpenedForForceDisconnect() 384 ret = GetWifiDirectManager()->forceDisconnectDevice(&info, &callback); in ForceDisconnectWifiDirectWithoutAuth() 543 uint32_t forceDownReqId = GetWifiDirectManager()->getRequestId(); in ForceDisconnectWifiDirect() 552 if (!GetWifiDirectManager()->isNegotiateChannelNeeded(forceDownDevId, linkType) || in ForceDisconnectWifiDirect()
|
H A D | lnn_lane_query.c | 207 struct WifiDirectManager *pManager = GetWifiDirectManager(); in P2pLinkState() 235 struct WifiDirectManager *pManager = GetWifiDirectManager(); in HmlLinkState()
|
H A D | lnn_ctrl_lane.c | 101 !GetWifiDirectManager()->isNegotiateChannelNeeded(networkId, WIFI_DIRECT_LINK_TYPE_HML)) { in IsAuthReuseP2p() 106 !GetWifiDirectManager()->isNegotiateChannelNeeded(networkId, WIFI_DIRECT_LINK_TYPE_P2P)) { in IsAuthReuseP2p()
|
H A D | lnn_lane_select.c | 563 !GetWifiDirectManager()->isNegotiateChannelNeeded(networkId, WIFI_DIRECT_LINK_TYPE_HML)) { in IsAuthReuseWifiDirect() 567 !GetWifiDirectManager()->isNegotiateChannelNeeded(networkId, WIFI_DIRECT_LINK_TYPE_P2P)) { in IsAuthReuseWifiDirect()
|
H A D | lnn_lane.c | 509 struct WifiDirectManager *wifiDirectMgr = GetWifiDirectManager(); in GetWifiDirectMacInfo()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/ |
H A D | link_manager.cpp | 168 …GetWifiDirectManager()->notifyOffline(link->GetRemoteBaseMac().c_str(), link->GetRemoteIpv4().c_st… in RemoveLink() 193 …GetWifiDirectManager()->notifyOffline(link->GetRemoteBaseMac().c_str(), link->GetRemoteIpv4().c_st… in RemoveLink() 219 …GetWifiDirectManager()->notifyOffline(link->GetRemoteBaseMac().c_str(), link->GetRemoteIpv4().c_st… in RemoveLinks()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_manager_test.cpp | 49 auto moduleId1 = GetWifiDirectManager()->allocateListenerModuleId(); 52 auto moduleId2 = GetWifiDirectManager()->allocateListenerModuleId(); 54 GetWifiDirectManager()->freeListenerModuleId(moduleId1); 55 GetWifiDirectManager()->freeListenerModuleId(moduleId2);
|
/ohos5.0/foundation/communication/dsoftbus/core/frame/common/src/ |
H A D | softbus_server_frame.c | 92 if (GetWifiDirectManager()->init() != SOFTBUS_OK) { in InitServicesAndModules()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_manager.h | 88 struct WifiDirectManager* GetWifiDirectManager(void);
|
H A D | wifi_direct_manager_virtual.c | 225 struct WifiDirectManager *GetWifiDirectManager(void) in GetWifiDirectManager() function
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/manager/src/ |
H A D | trans_link_listener.c | 107 struct WifiDirectManager *mgr = GetWifiDirectManager(); in ReqLinkListener()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/include/ |
H A D | lnn_lane_deps_mock.h | 101 virtual struct WifiDirectManager* GetWifiDirectManager(void) = 0; 166 MOCK_METHOD0(GetWifiDirectManager, struct WifiDirectManager* (void));
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/src/ |
H A D | lnn_lane_deps_mock.cpp | 393 struct WifiDirectManager* GetWifiDirectManager(void) in GetWifiDirectManager() function 395 return GetLaneDepsInterface()->GetWifiDirectManager(); in GetWifiDirectManager()
|
H A D | lnn_lane_test.cpp | 632 EXPECT_CALL(mock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); 859 EXPECT_CALL(mock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); 901 EXPECT_CALL(mock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); 945 EXPECT_CALL(mock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); 984 EXPECT_CALL(mock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); 3102 EXPECT_CALL(laneDepMock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); 3156 EXPECT_CALL(laneDepMock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); 3180 EXPECT_CALL(laneDepMock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager));
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/ |
H A D | trans_tcp_direct_wifi.c | 71 struct WifiDirectManager *mgr = GetWifiDirectManager(); in GetMoudleType()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/heartbeat/src/ |
H A D | lnn_heartbeat_utils.c | 139 struct WifiDirectManager *pManager = GetWifiDirectManager(); in HbHasActiveP2pConnection() 157 struct WifiDirectManager *pManager = GetWifiDirectManager(); in HbHasActiveHmlConnection()
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_connection.c | 826 …local.socketOption.moduleId = (ListenerModule)(GetWifiDirectManager()->allocateListenerModuleId()); in AuthStartListeningForWifiDirect() 837 GetWifiDirectManager()->freeListenerModuleId(local.socketOption.moduleId); in AuthStartListeningForWifiDirect() 862 GetWifiDirectManager()->freeListenerModuleId(moduleId); in AuthStopListeningForWifiDirect()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane_listener/ |
H A D | lnn_lane_listener_test.cpp | 68 EXPECT_CALL(laneMock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager)); in SetUpTestCase() 118 EXPECT_CALL(laneMock, GetWifiDirectManager).WillRepeatedly(Return(&g_manager));
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/ |
H A D | trans_tcp_direct_wifi_test.cpp | 51 struct WifiDirectManager* GetWifiDirectManager(void) in GetWifiDirectManager() function
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/processor/ |
H A D | p2p_v1_processor.cpp | 517 …GetWifiDirectManager()->notifyOnline(sinkLink.remoteMac, sinkLink.remoteIp, sinkLink.remoteUuid, a… in ProcessNegotiateCommandAtWaitingAuthHandShakeState() 519 GetWifiDirectManager()->notifyConnectedForSink(&sinkLink); in ProcessNegotiateCommandAtWaitingAuthHandShakeState() 591 …GetWifiDirectManager()->notifyOnline(sinkLink.remoteMac, sinkLink.remoteIp, sinkLink.remoteUuid, a… in ProcessAuthConnEvent() 593 GetWifiDirectManager()->notifyConnectedForSink(&sinkLink); in ProcessAuthConnEvent() 1236 GetWifiDirectManager()->notifyDisconnectedForSink(&sinkLink); in ProcessDisconnectRequest()
|