Home
last modified time | relevance | path

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

/system/core/libcutils/
Dsocket_local_server_unix.cpp28 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) {
97 int socket_local_server(const char *name, int namespaceId, int type) argument
105 err = socket_local_server_bind(s, name, namespaceId);
Dsocket_local_client_unix.cpp27 int socket_local_client(const char *name, int namespaceId, int type) in socket_local_client() argument
45 int socket_make_sockaddr_un(const char *name, int namespaceId, in socket_make_sockaddr_un() argument
51 switch (namespaceId) { in socket_make_sockaddr_un()
124 int socket_local_client_connect(int fd, const char* name, int namespaceId, int /*type*/) { in socket_local_client_connect() argument
129 err = socket_make_sockaddr_un(name, namespaceId, &addr, &alen); in socket_local_client_connect()
149 int socket_local_client(const char *name, int namespaceId, int type) in socket_local_client() argument
156 if ( 0 > socket_local_client_connect(s, name, namespaceId, type)) { in socket_local_client()
Dsocket_local_unix.h36 int socket_make_sockaddr_un(const char *name, int namespaceId,
/system/bt/osi/src/socket_utils/
Dsocket_local_server.cc42 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) {
80 int osi_socket_local_server(const char* name, int namespaceId, int type) { argument
87 err = osi_socket_local_server_bind(s, name, namespaceId);
Dsocket_local_client.cc34 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()
/system/bt/osi/include/socket_utils/
Dsockets.h65 extern int osi_socket_local_server(const char* name, int namespaceId, int type);
67 int namespaceId);
69 int namespaceId, int type);
70 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/libcutils/include/cutils/
Dsockets.h90 int socket_local_server(const char* name, int namespaceId, int type);
91 int socket_local_server_bind(int s, const char* name, int namespaceId);
92 int socket_local_client_connect(int fd, const char *name, int namespaceId,
94 int socket_local_client(const char* name, int namespaceId, int type);
/system/core/libcutils/include_vndk/cutils/
Dsockets.h90 int socket_local_server(const char* name, int namespaceId, int type);
91 int socket_local_server_bind(int s, const char* name, int namespaceId);
92 int socket_local_client_connect(int fd, const char *name, int namespaceId,
94 int socket_local_client(const char* name, int namespaceId, int type);