Home
last modified time | relevance | path

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

123

/system/core/libsysutils/include/sysutils/
DSocketListener.h37 SocketListener(const char *socketName, bool listen);
38 SocketListener(const char *socketName, bool listen, bool useCmdNum);
39 SocketListener(int socketFd, bool listen);
64 void init(const char *socketName, int socketFd, bool listen, bool useCmdNum);
/system/core/libsysutils/src/
DSocketListener.cpp39 SocketListener::SocketListener(const char *socketName, bool listen) { in SocketListener() argument
40 init(socketName, -1, listen, false); in SocketListener()
43 SocketListener::SocketListener(int socketFd, bool listen) { in SocketListener() argument
44 init(nullptr, socketFd, listen, false); in SocketListener()
47 SocketListener::SocketListener(const char *socketName, bool listen, bool useCmdNum) { in SocketListener() argument
48 init(socketName, -1, listen, useCmdNum); in SocketListener()
51 void SocketListener::init(const char *socketName, int socketFd, bool listen, bool useCmdNum) { in init() argument
52 mListen = listen; in init()
92 if (mListen && listen(mSock, backlog) < 0) { in startListener()
/system/sepolicy/prebuilts/api/28.0/private/
Dapp.te6 accept append bind create ioctl listen lock name_bind
/system/core/libcutils/
Dsocket_inaddr_any_server_unix.cpp57 ret = listen(s, LISTEN_BACKLOG); in socket_inaddr_any_server()
Dsocket_inaddr_any_server_windows.cpp73 if (type == SOCK_STREAM && listen(sock, LISTEN_BACKLOG) == SOCKET_ERROR) { in socket_inaddr_any_server()
Dsocket_local_server_unix.cpp115 ret = listen(s, LISTEN_BACKLOG);
/system/bt/include/hardware/
Dbt_sock.h64 bt_status_t (*listen)(btsock_type_t type, const char* service_name, member
/system/bt/osi/src/socket_utils/
Dsocket_local_server.cc97 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/sepolicy/prebuilts/api/29.0/private/
Dapp.te6 accept append bind create ioctl listen lock name_bind
/system/sepolicy/private/
Dapp.te6 accept append bind create ioctl listen lock name_bind
/system/sepolicy/prebuilts/api/29.0/public/
Dhal_health.te9 # Allow to listen to uevents for updates
/system/sepolicy/public/
Dhal_health.te9 # Allow to listen to uevents for updates
/system/sepolicy/prebuilts/api/27.0/
Dnonplat_sepolicy.cil1990 …_socket_type (unix_stream_socket (read write getattr setattr lock append listen accept getopt seto…
1992 …socket (ioctl read write create getattr setattr lock append bind connect listen accept getopt seto…
1993 …ase_typeattr_1_27_0 pdx_bufferhub_client_endpoint_socket_type (unix_stream_socket (listen accept)))
2028 …reate getattr setattr lock relabelfrom relabelto append map bind connect listen accept getopt seto…
2029 …reate getattr setattr lock relabelfrom relabelto append map bind connect listen accept getopt seto…
2030 …reate getattr setattr lock relabelfrom relabelto append map bind connect listen accept getopt seto…
2204 …socket (ioctl read write create getattr setattr lock append bind connect listen accept getopt seto…
2818 …te create getattr setattr lock relabelfrom relabelto append bind connect listen accept getopt seto…
2976 …reate getattr setattr lock relabelfrom relabelto append map bind connect listen accept getopt seto…
2977 …reate getattr setattr lock relabelfrom relabelto append map bind connect listen accept getopt seto…
[all …]
/system/sepolicy/prebuilts/api/28.0/public/
Dhal_health.te15 # Allow to listen to uevents for updates
/system/sepolicy/prebuilts/api/26.0/
Dnonplat_sepolicy.cil1770 …_socket_type (unix_stream_socket (read write getattr setattr lock append listen accept getopt seto…
1772 …socket (ioctl read write create getattr setattr lock append bind connect listen accept getopt seto…
1773 …ase_typeattr_1_26_0 pdx_bufferhub_client_endpoint_socket_type (unix_stream_socket (listen accept)))
1809 …te create getattr setattr lock relabelfrom relabelto append bind connect listen accept getopt seto…
1810 …te create getattr setattr lock relabelfrom relabelto append bind connect listen accept getopt seto…
1811 …te create getattr setattr lock relabelfrom relabelto append bind connect listen accept getopt seto…
1985 …socket (ioctl read write create getattr setattr lock append bind connect listen accept getopt seto…
2601 …te create getattr setattr lock relabelfrom relabelto append bind connect listen accept getopt seto…
2877 …te create getattr setattr lock relabelfrom relabelto append bind connect listen accept getopt seto…
2878 …te create getattr setattr lock relabelfrom relabelto append bind connect listen accept getopt seto…
[all …]
/system/bt/tools/bdtool/
Dbdtool.c216 sock->listen(BTSOCK_RFCOMM, "meow", (const uint8_t*)&HFP_AG_UUID, 0, in main()
225 error = sock->listen(BTSOCK_SCO, NULL, NULL, 5, &sock_fd, 0, app_uid); in main()
/system/bt/hci/src/
Dbtsnoop_net.cc121 if (listen(listen_socket_, 10) == -1) { in listen_fn_()
/system/sepolicy/prebuilts/api/28.0/
Dplat_pub_versioned.cil3293 …reate getattr setattr lock relabelfrom relabelto append map bind connect listen accept getopt seto…
3294 …reate getattr setattr lock relabelfrom relabelto append map bind connect listen accept getopt seto…
3295 …reate getattr setattr lock relabelfrom relabelto append map bind connect listen accept getopt seto…
3296 …reate getattr setattr lock relabelfrom relabelto append map bind connect listen accept getopt seto…
3297 …reate getattr setattr lock relabelfrom relabelto append map bind connect listen accept getopt seto…
3466 …reate getattr setattr lock relabelfrom relabelto append map bind connect listen accept getopt seto…
3548 …_socket_type (unix_stream_socket (read write getattr setattr lock append listen accept getopt seto…
3550 …socket (ioctl read write create getattr setattr lock append bind connect listen accept getopt seto…
3551 …se_typeattr_65_28_0 pdx_bufferhub_client_endpoint_socket_type (unix_stream_socket (listen accept)))
3587 …reate getattr setattr lock relabelfrom relabelto append map bind connect listen accept getopt seto…
[all …]
/system/sepolicy/prebuilts/api/27.0/private/
Duntrusted_app.te36 accept append bind create getopt ioctl listen lock name_bind
/system/extras/tests/tcp_nuke_addr/
Dtcp_nuke_addr_test.cpp63 if (listen(listensock, 10) == -1) PERROR_EXIT("listen"); in bindRandomAddr()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dserver_port_factory.cc61 if (listen(listen_fd_, 1) < 0) { in SetUp()
/system/bt/vendor_libs/test_vendor_lib/test/
Dasync_manager_unittest.cc54 listen(fd, 1); in StartServer()
/system/sepolicy/prebuilts/api/26.0/public/
Dglobal_macros47 define(`rw_stream_socket_perms', `{ rw_socket_perms listen accept }')
/system/nvram/hal/
Dfake_nvram.cpp219 if (listen(control_socket_fd, kControlSocketBacklog)) { in main()

123