Searched refs:client_socket (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Bluetooth/system/gd/hal/ |
D | snoop_logger_socket.cc | 67 void SnoopLoggerSocket::Write(int& client_socket, const void* data, size_t length) { in Write() argument 68 if (client_socket == -1) { in Write() 73 RUN_NO_INTR(ret = syscall_if_->Send(client_socket, data, length, MSG_DONTWAIT)); in Write() 76 SafeCloseSocket(client_socket); in Write() 130 int client_socket = -1; in ProcessIncomingRequest() local 131 ret = AcceptIncomingConnection(listen_socket_, client_socket); in ProcessIncomingRequest() 137 if (client_socket < 0) { in ProcessIncomingRequest() 141 InitializeClientSocket(client_socket); in ProcessIncomingRequest() 143 ClientSocketConnected(client_socket); in ProcessIncomingRequest() 159 int SnoopLoggerSocket::AcceptIncomingConnection(int listen_socket, int& client_socket) { in AcceptIncomingConnection() argument [all …]
|
D | snoop_logger_socket.h | 51 int AcceptIncomingConnection(int listen_socket, int& client_socket); 53 void ClientSocketConnected(int client_socket); 54 void InitializeClientSocket(int client_socket); 56 void Write(int& client_socket, const void* data, size_t length);
|