Home
last modified time | relevance | path

Searched refs:UdpSocketManager (Results 1 – 17 of 17) sorted by relevance

/external/webrtc/webrtc/test/channel_transport/
Dudp_socket_manager_wrapper.cc25 UdpSocketManager* UdpSocketManager::CreateInstance() in CreateInstance()
28 return static_cast<UdpSocketManager*>(new UdpSocket2ManagerWindows()); in CreateInstance()
34 UdpSocketManager* UdpSocketManager::StaticInstance( in StaticInstance()
39 UdpSocketManager* impl = in StaticInstance()
40 GetStaticInstance<UdpSocketManager>(count_operation); in StaticInstance()
49 UdpSocketManager* UdpSocketManager::Create(const int32_t id, in Create()
52 return UdpSocketManager::StaticInstance(kAddRef, id, numOfWorkThreads); in Create()
55 void UdpSocketManager::Return() in Return()
58 UdpSocketManager::StaticInstance(kRelease, -1, in Return()
62 UdpSocketManager::UdpSocketManager() : _numOfWorkThreads(0) in UdpSocketManager() function in webrtc::test::UdpSocketManager
[all …]
Dudp_socket_manager_unittest.cc26 TEST(UdpSocketManager, CreateCallsInitAndDoesNotLeakMemory) { in TEST() argument
29 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads); in TEST()
33 UdpSocketManager::Return(); in TEST()
38 TEST(UdpSocketManager, AddAndRemoveSocketDoesNotLeakMemory) { in TEST() argument
41 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads); in TEST()
52 UdpSocketManager::Return(); in TEST()
60 TEST(UdpSocketManager, UnremovedSocketsGetCollectedAtManagerDeletion) { in TEST() argument
66 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads); in TEST()
79 UdpSocketManager::Return(); in TEST()
Dudp_socket_manager_wrapper.h22 class UdpSocketManager
25 static UdpSocketManager* Create(const int32_t id,
47 UdpSocketManager();
48 virtual ~UdpSocketManager() {} in ~UdpSocketManager()
53 static UdpSocketManager* CreateInstance();
58 friend UdpSocketManager* webrtc::GetStaticInstance<UdpSocketManager>(
61 static UdpSocketManager* StaticInstance(
Dudp_socket_wrapper_unittest.cc34 class MockSocketManager : public UdpSocketManager {
54 UdpSocketManager* mgr = UdpSocketManager::Create(id, threads); in TEST()
63 UdpSocketManager::Return(); in TEST()
Dudp_transport_unittest.cc46 class MockUdpSocketManager : public UdpSocketManager {
66 UdpSocketManager* mgr, in CreateSocket()
120 UdpSocketManager* null_manager = NULL; in TEST_F()
Dudp_socket_posix.h31 UdpSocketPosix(const int32_t id, UdpSocketManager* mgr,
80 UdpSocketManager* _mgr;
Dudp_transport_impl.h24 class UdpSocketManager; variable
34 UdpSocketManager* mgr,
46 UdpSocketManager* socket_manager);
193 UdpSocketManager* _mgr;
Dudp_socket_wrapper.h22 class UdpSocketManager; variable
47 UdpSocketManager* mgr,
Dudp_socket_manager_posix.h35 class UdpSocketManagerPosix : public UdpSocketManager
Dudp_socket_wrapper.cc63 UdpSocketManager* mgr, in CreateSocket()
Dudp_socket2_manager_win.h115 class UdpSocket2ManagerWindows : public UdpSocketManager
Dudp_socket2_win.h41 UdpSocket2Windows(const int32_t id, UdpSocketManager* mgr,
Dudp_socket_posix.cc29 UdpSocketPosix::UdpSocketPosix(const int32_t id, UdpSocketManager* mgr, in UdpSocketPosix()
Dudp_socket_manager_posix.cc28 : UdpSocketManager(), in UdpSocketManagerPosix()
Dudp_socket2_manager_win.cc26 : UdpSocketManager(), in UdpSocket2ManagerWindows()
Dudp_transport_impl.cc72 UdpSocketManager* mgr, in CreateSocket()
90 UdpSocketManager::Create(id, numSocketThreads)); in Create()
101 UdpSocketManager::Return(); in Destroy()
107 UdpSocketManager* socket_manager) in UdpTransportImpl()
Dudp_socket2_win.cc44 UdpSocketManager* mgr, bool ipV6Enable, in UdpSocket2Windows()