Home
last modified time | relevance | path

Searched refs:namespaceId (Results 1 – 9 of 9) sorted by relevance

/system/core/libcutils/
Dsocket_local_client_unix.c27 int socket_local_client(const char *name, int namespaceId, int type) in socket_local_client() argument
47 int socket_make_sockaddr_un(const char *name, int namespaceId, in socket_make_sockaddr_un() argument
53 switch (namespaceId) { in socket_make_sockaddr_un()
126 int socket_local_client_connect(int fd, const char *name, int namespaceId, in socket_local_client_connect() argument
133 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen); in socket_local_client_connect()
153 int socket_local_client(const char *name, int namespaceId, int type) in socket_local_client() argument
160 if ( 0 > socket_local_client_connect(s, name, namespaceId, type)) { in socket_local_client()
Dsocket_local_server_unix.c28 int socket_local_server(const char *name, int namespaceId, int type) in socket_local_server() argument
55 int socket_local_server_bind(int s, const char *name, int namespaceId) argument
62 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen);
72 if (namespaceId == ANDROID_SOCKET_NAMESPACE_RESERVED
73 || namespaceId == ANDROID_SOCKET_NAMESPACE_FILESYSTEM) {
Dsocket_local_unix.h36 int socket_make_sockaddr_un(const char *name, int namespaceId,
/system/bt/osi/src/socket_utils/
Dsocket_local_client.c34 int osi_socket_make_sockaddr_un(const char *name, int namespaceId, in osi_socket_make_sockaddr_un() argument
39 switch (namespaceId) { in osi_socket_make_sockaddr_un()
112 int osi_socket_local_client_connect(int fd, const char *name, int namespaceId, in osi_socket_local_client_connect() argument
118 err = osi_socket_make_sockaddr_un(name, namespaceId, &addr, &alen); in osi_socket_local_client_connect()
139 int osi_socket_local_client(const char *name, int namespaceId, int type) { in osi_socket_local_client() argument
145 if (0 > osi_socket_local_client_connect(s, name, namespaceId, type)) { in osi_socket_local_client()
Dsocket_local_server.c42 int osi_socket_local_server_bind(int s, const char *name, int namespaceId) { argument
48 err = osi_socket_make_sockaddr_un(name, namespaceId, &addr, &alen);
58 if (namespaceId == ANDROID_SOCKET_NAMESPACE_RESERVED ||
59 namespaceId == ANDROID_SOCKET_NAMESPACE_FILESYSTEM) {
/system/bt/osi/include/socket_utils/
Dsockets.h69 extern int osi_socket_local_server(const char *name, int namespaceId, int type);
71 int namespaceId);
73 int namespaceId, int type);
74 extern int osi_socket_local_client(const char *name, int namespaceId, int type);
Dsocket_local.h35 int osi_socket_make_sockaddr_un(const char *name, int namespaceId,
/system/core/include/cutils/
Dsockets.h111 int socket_local_server(const char* name, int namespaceId, int type);
112 int socket_local_server_bind(int s, const char* name, int namespaceId);
113 int socket_local_client_connect(int fd, const char *name, int namespaceId,
115 int socket_local_client(const char* name, int namespaceId, int type);
/system/core/liblog/
Dlogd_reader.c115 LIBLOG_WEAK int socket_local_client(const char *name, int namespaceId, int type) in socket_local_client() argument
136 LIBLOG_WEAK int socket_make_sockaddr_un(const char *name, int namespaceId, in socket_make_sockaddr_un() argument
143 switch (namespaceId) { in socket_make_sockaddr_un()
218 int namespaceId, int type __unused) in socket_local_client_connect() argument
224 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen); in socket_local_client_connect()
244 LIBLOG_WEAK int socket_local_client(const char *name, int namespaceId, int type) in socket_local_client() argument
251 if ( 0 > socket_local_client_connect(s, name, namespaceId, type)) { in socket_local_client()