Home
last modified time | relevance | path

Searched defs:sock (Results 1 – 25 of 38) sorted by relevance

12

/system/bt/btif/src/
Dbtif_sock_l2cap.c111 static char packet_get_head_l(l2cap_socket *sock, uint8_t **data, uint32_t *len) in packet_get_head_l()
148 static char packet_put_head_l(l2cap_socket *sock, const void *data, uint32_t len) in packet_put_head_l()
176 static char packet_put_tail_l(l2cap_socket *sock, const void *data, uint32_t len) in packet_put_tail_l()
227 l2cap_socket *sock = socks; in btsock_l2cap_find_by_id_l() local
235 static void btsock_l2cap_free_l(l2cap_socket *sock) in btsock_l2cap_free_l()
302 l2cap_socket *sock = osi_calloc(sizeof(*sock)); in btsock_l2cap_alloc_l() local
387 static inline BOOLEAN send_app_psm_or_chan_l(l2cap_socket *sock) in send_app_psm_or_chan_l()
415 l2cap_socket *sock; in on_srv_l2cap_listen_started() local
444 l2cap_socket *sock; in on_cl_l2cap_init() local
462 static void on_srv_l2cap_psm_connect_l(tBTA_JV_L2CAP_OPEN *p_open, l2cap_socket *sock) in on_srv_l2cap_psm_connect_l()
[all …]
/system/core/libcutils/
Dsockets_windows.cpp53 int socket_close(cutils_socket_t sock) { in socket_close()
57 int socket_set_receive_timeout(cutils_socket_t sock, int timeout_ms) { in socket_set_receive_timeout()
62 ssize_t socket_send_buffers(cutils_socket_t sock, in socket_send_buffers()
Dsockets_unix.cpp51 int socket_close(int sock) { in socket_close()
55 int socket_set_receive_timeout(cutils_socket_t sock, int timeout_ms) { in socket_set_receive_timeout()
62 ssize_t socket_send_buffers(cutils_socket_t sock, in socket_send_buffers()
Dsockets.cpp38 int socket_get_local_port(cutils_socket_t sock) { in socket_get_local_port()
Dsocket_network_client_windows.c54 SOCKET sock = socket(address->ai_family, address->ai_socktype, in socket_network_client() local
Dsocket_inaddr_any_server_windows.c42 SOCKET sock = socket(AF_INET6, type, 0); in socket_inaddr_any_server() local
/system/core/fastboot/
Dsocket.cpp34 Socket::Socket(cutils_socket_t sock) : sock_(sock) {} in Socket()
125 UdpSocket::UdpSocket(Type type, cutils_socket_t sock) : Socket(sock) { in UdpSocket()
170 TcpSocket(cutils_socket_t sock) : Socket(sock) {} in TcpSocket()
249 cutils_socket_t sock = socket_network_client(host.c_str(), port, SOCK_DGRAM); in NewClient() local
254 cutils_socket_t sock = socket_network_client(host.c_str(), port, SOCK_STREAM); in NewClient() local
269 cutils_socket_t sock = socket_inaddr_any_server(port, SOCK_DGRAM); in NewServer() local
274 cutils_socket_t sock = socket_inaddr_any_server(port, SOCK_STREAM); in NewServer() local
Dsocket_mock.cpp120 std::unique_ptr<Socket> sock = std::move(events_.front().sock); in Accept() local
145 void SocketMock::AddAccept(std::unique_ptr<Socket> sock) { in AddAccept()
Dsocket_test.cpp64 static bool SendString(Socket* sock, const std::string& message) { in SendString()
70 static bool ReceiveString(Socket* sock, const std::string& message) { in ReceiveString()
175 std::unique_ptr<Socket> sock = Socket::NewServer(Socket::Protocol::kUdp, 0); in TEST() local
212 std::unique_ptr<Socket> sock = Socket::NewServer(Socket::Protocol::kTcp, 0); in TEST() local
Dtcp.cpp69 TcpTransport(std::unique_ptr<Socket> sock) : socket_(std::move(sock)) {} in TcpTransport()
188 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error) { in Connect()
Dsocket_mock.h93 std::unique_ptr<Socket> sock; member
/system/vold/
Dvdc.cpp45 int sock; in main() local
85 static int do_cmd(int sock, int argc, char **argv) { in do_cmd()
111 static int do_monitor(int sock, int stop_after_seq) { in do_monitor()
/system/netd/server/
Dndc.c39 int sock; in main() local
67 static int do_cmd(int sock, int argc, char **argv) { in do_cmd()
117 static int do_monitor(int sock, int stop_after_cmd) { in do_monitor()
DNetlinkManager.cpp67 NetlinkHandler *NetlinkManager::setupSocket(int *sock, int netlinkFamily, in setupSocket()
/system/core/libmemunreachable/
DLeakPipe.cpp24 bool LeakPipe::SendFd(int sock, int fd) { in SendFd()
58 int LeakPipe::ReceiveFd(int sock) { in ReceiveFd()
/system/extras/tests/net_test/
Dsock_diag_test.py55 def assertSocketClosed(self, sock): argument
58 def assertSocketConnected(self, sock): argument
338 def __init__(self, sock, operation): argument
384 def CheckRstOnClose(self, sock, req, expect_reset, msg, do_close=True): argument
496 def CloseDuringBlockingCall(self, sock, call, expected_errno): argument
Dnet_test.py96 def SetSocketTimeout(sock, ms): argument
156 def DisableLinger(sock): argument
Dtcp_nuke_addr_test.py126 def __init__(self, sock): argument
/system/bt/tools/bdtool/
Dbdtool.c201 const btsock_interface_t *sock = bt_interface->get_profile_interface(BT_PROFILE_SOCKETS_ID); in main() local
229 const btsock_interface_t *sock = bt_interface->get_profile_interface(BT_PROFILE_SOCKETS_ID); in main() local
/system/core/libcutils/tests/
Dsockets_test.cpp76 void TestReceiveTimeout(cutils_socket_t sock) { in TestReceiveTimeout()
160 cutils_socket_t sock = socket_inaddr_any_server(0, SOCK_DGRAM); in TEST() local
/system/core/adb/
Dtest_adb.py147 def _reset_socket_on_close(self, sock): argument
/system/core/logd/
DLogListener.cpp123 int sock = android_get_control_socket(socketName); in getLogSocket() local
/system/netd/tests/benchmarks/
Dconnect_benchmark.cpp72 int sock = socket(AF_INET, SOCK_STREAM, 0); in ipv4_loopback() local
129 int sock = socket(AF_INET6, SOCK_STREAM, 0); in ipv6_loopback() local
/system/core/libsysutils/src/
DFrameworkListener.cpp42 FrameworkListener::FrameworkListener(int sock) : in FrameworkListener()
/system/core/liblog/
Dlogd_reader.c270 int sock = socket_local_client("logd", ANDROID_SOCKET_NAMESPACE_RESERVED, in send_log_msg() local
488 int sock = transp->context.sock; in logdOpen() local

12