Home
last modified time | relevance | path

Searched refs:listen (Results 1 – 25 of 42) sorted by relevance

12

/system/core/include/sysutils/
DSocketListener.h35 SocketListener(const char *socketName, bool listen);
36 SocketListener(const char *socketName, bool listen, bool useCmdNum);
37 SocketListener(int socketFd, bool listen);
57 void init(const char *socketName, int socketFd, bool listen, bool useCmdNum);
/system/core/libsysutils/src/
DSocketListener.cpp35 SocketListener::SocketListener(const char *socketName, bool listen) { in SocketListener() argument
36 init(socketName, -1, listen, false); in SocketListener()
39 SocketListener::SocketListener(int socketFd, bool listen) { in SocketListener() argument
40 init(NULL, socketFd, listen, false); in SocketListener()
43 SocketListener::SocketListener(const char *socketName, bool listen, bool useCmdNum) { in SocketListener() argument
44 init(socketName, -1, listen, useCmdNum); in SocketListener()
47 void SocketListener::init(const char *socketName, int socketFd, bool listen, bool useCmdNum) { in init() argument
48 mListen = listen; in init()
92 if (mListen && listen(mSock, backlog) < 0) { in startListener()
/system/bt/test/suite/gatt/
Dgatt_unittest.cpp72 gatt_client_interface()->listen(client_interface_id(), true); in TEST_F()
78 gatt_client_interface()->listen(client_interface_id(), false); in TEST_F()
/system/core/libcutils/
Dsocket_inaddr_any_server_unix.c57 ret = listen(s, LISTEN_BACKLOG); in socket_inaddr_any_server()
Dsocket_loopback_server_unix.c59 ret = listen(s, LISTEN_BACKLOG); in socket_loopback_server()
Dsocket_inaddr_any_server_windows.c73 if (type == SOCK_STREAM && listen(sock, LISTEN_BACKLOG) == SOCKET_ERROR) { in socket_inaddr_any_server()
Dsocket_local_server_unix.c115 ret = listen(s, LISTEN_BACKLOG);
/system/bt/osi/src/socket_utils/
Dsocket_local_server.c97 ret = listen(s, LISTEN_BACKLOG);
/system/bt/doc/
Dbtsnoop_net.md7 Once it has been enabled and the stack restarted, the stack will listen for
/system/bt/tools/bdtool/
Dbdtool.c204 …int error = sock->listen(BTSOCK_RFCOMM, "meow", (const uint8_t *)&HFP_AG_UUID, 0, &rfcomm_fd, 0, a… in main()
211 error = sock->listen(BTSOCK_SCO, NULL, NULL, 5, &sock_fd, 0, app_uid); in main()
/system/bt/hci/src/
Dbtsnoop_net.c116 if (listen(listen_socket_, 10) == -1) { in listen_fn_()
/system/bt/vendor_libs/test_vendor_lib/src/
Dtest_channel_transport.cc62 if (listen(listen_fd, 1) < 0) { in SetUp()
/system/sepolicy/
Dglobal_macros45 define(`rw_stream_socket_perms', `{ rw_socket_perms listen accept }')
/system/extras/tests/net_test/
Dforwarding_test.py49 listensocket.listen(100)
Dtcp_test.py57 s.listen(100)
Dtcp_nuke_addr_test.py90 listening_socket.listen(1)
DREADME70 configured to perform DHCPv4 on eth0 and listen to RAs.
/system/extras/tests/tcp_nuke_addr/
Dtcp_nuke_addr_test.cpp63 if (listen(listensock, 10) == -1) PERROR_EXIT("listen"); in bindRandomAddr()
/system/bt/service/ipc/
Dipc_handler_linux.cpp145 int status = listen(socket_.get(), SOMAXCONN); in StartListeningOnThread()
/system/core/adb/
Dtest_adb.py173 listener.listen(4)
Dadb_auth_client.cpp272 if (listen(fd, 4) == -1) { in adbd_auth_init()
/system/connectivity/shill/net/
Dsockets.cc119 return listen(sockfd, backlog); in Listen()
/system/bt/osi/src/
Dsocket.c105 if (listen(socket->fd, 10) == -1) { in socket_listen()
/system/bt/btif/src/
Dbtif_sock_l2cap.c892 int channel, int* sock_fd, int flags, char listen, int app_uid) in btsock_l2cap_listen_or_connect() argument
918 sock = btsock_l2cap_alloc_l(name, addr, listen, flags); in btsock_l2cap_listen_or_connect()
939 if (listen) { in btsock_l2cap_listen_or_connect()
/system/bt/service/doc/
DIBluetooth.txt86 * Registers a callback receiver which can be used to listen to state updates

12