Home
last modified time | relevance | path

Searched refs:SnoopLoggerSocket (Results 1 – 8 of 8) sorted by relevance

/packages/modules/Bluetooth/system/gd/hal/
Dsnoop_logger_socket.cc51 SnoopLoggerSocket::SnoopLoggerSocket(SyscallWrapperInterface* syscall_if, int socket_address, int s… in SnoopLoggerSocket() function in bluetooth::hal::SnoopLoggerSocket
63 SnoopLoggerSocket::~SnoopLoggerSocket() { in ~SnoopLoggerSocket()
67 void SnoopLoggerSocket::Write(int& client_socket, const void* data, size_t length) { in Write()
82 void SnoopLoggerSocket::Write(const void* data, size_t length) { in Write()
87 int SnoopLoggerSocket::InitializeCommunications() { in InitializeCommunications()
119 bool SnoopLoggerSocket::ProcessIncomingRequest() { in ProcessIncomingRequest()
152 void SnoopLoggerSocket::Cleanup() { in Cleanup()
159 int SnoopLoggerSocket::AcceptIncomingConnection(int listen_socket, int& client_socket) { in AcceptIncomingConnection()
182 void SnoopLoggerSocket::InitializeClientSocket(int client_socket) { in InitializeClientSocket()
191 void SnoopLoggerSocket::ClientSocketConnected(int client_socket) { in ClientSocketConnected()
[all …]
Dsnoop_logger_socket_thread_test.cc34 using bluetooth::hal::SnoopLoggerSocket;
45 SnoopLoggerSocketThread sls(std::make_unique<SnoopLoggerSocket>(&socket_if)); in TEST_F()
56 SnoopLoggerSocketThread sls(std::make_unique<SnoopLoggerSocket>(&socket_if)); in TEST_F()
64 SnoopLoggerSocketThread sls(std::make_unique<SnoopLoggerSocket>(&socket_if)); in TEST_F()
78 SnoopLoggerSocketThread sls(std::make_unique<SnoopLoggerSocket>(&socket_if)); in TEST_F()
95 SnoopLoggerSocketThread sls(std::make_unique<SnoopLoggerSocket>(&socket_if)); in TEST_F()
106 addr.sin_addr.s_addr = htonl(SnoopLoggerSocket::DEFAULT_LOCALHOST_); in TEST_F()
107 addr.sin_port = htons(SnoopLoggerSocket::DEFAULT_LISTEN_PORT_); in TEST_F()
122 SnoopLoggerSocketThread sls(std::make_unique<SnoopLoggerSocket>(&socket_if)); in TEST_F()
133 addr.sin_addr.s_addr = htonl(SnoopLoggerSocket::DEFAULT_LOCALHOST_); in TEST_F()
[all …]
Dsnoop_logger_socket.h32 class SnoopLoggerSocket {
37 SnoopLoggerSocket(
39 SnoopLoggerSocket(const SnoopLoggerSocket&) = delete;
40 SnoopLoggerSocket& operator=(const SnoopLoggerSocket&) = delete;
41 virtual ~SnoopLoggerSocket();
Dsnoop_logger_socket_thread.h35 SnoopLoggerSocketThread(std::unique_ptr<SnoopLoggerSocket>&& socket);
36 SnoopLoggerSocketThread(const SnoopLoggerSocket&) = delete;
45 SnoopLoggerSocket* GetSocket();
50 std::unique_ptr<SnoopLoggerSocket> socket_;
Dsnoop_logger_socket_thread.cc41 SnoopLoggerSocketThread::SnoopLoggerSocketThread(std::unique_ptr<SnoopLoggerSocket>&& socket) { in SnoopLoggerSocketThread()
80 SnoopLoggerSocket* SnoopLoggerSocketThread::GetSocket() { in GetSocket()
Dsnoop_logger_test.cc38 using bluetooth::hal::SnoopLoggerSocket;
1399 addr.sin_addr.s_addr = htonl(SnoopLoggerSocket::DEFAULT_LOCALHOST_); in TEST_F()
1400 addr.sin_port = htons(SnoopLoggerSocket::DEFAULT_LISTEN_PORT_); in TEST_F()
1429 addr.sin_addr.s_addr = htonl(SnoopLoggerSocket::DEFAULT_LOCALHOST_); in TEST_F()
1430 addr.sin_port = htons(SnoopLoggerSocket::DEFAULT_LISTEN_PORT_); in TEST_F()
1474 …auto sls = std::make_unique<SnoopLoggerSocket>(&syscall_if, SnoopLoggerSocket::DEFAULT_LOCALHOST_,… in TEST_F()
1488 addr.sin_addr.s_addr = htonl(SnoopLoggerSocket::DEFAULT_LOCALHOST_); in TEST_F()
1641 auto sls = std::make_unique<SnoopLoggerSocket>( in TEST_F()
1642 &syscall_if, SnoopLoggerSocket::DEFAULT_LOCALHOST_, new_port); in TEST_F()
1659 addr.sin_addr.s_addr = htonl(SnoopLoggerSocket::DEFAULT_LOCALHOST_); in TEST_F()
Dsnoop_logger_socket_test.cc34 using bluetooth::hal::SnoopLoggerSocket;
44 void InitializeCommunicationsSuccess(SnoopLoggerSocket& sls, SyscallWrapperMock& mock) { in InitializeCommunicationsSuccess()
82 SnoopLoggerSocket sls;
Dsnoop_logger.cc1331 auto snoop_logger_socket = std::make_unique<SnoopLoggerSocket>(&syscall_if); in Start()