Home
last modified time | relevance | path

Searched refs:conn_type (Results 1 – 12 of 12) sorted by relevance

/external/adhd/cras/src/server/
Dcras_server.c461 for (int conn_type = 0; conn_type < CRAS_NUM_CONN_TYPE; conn_type++) { in cras_server_init() local
462 server_instance.server_sockets[conn_type].fd = -1; in cras_server_init()
479 static int create_and_listen_server_socket(enum CRAS_CONNECTION_TYPE conn_type, in create_and_listen_server_socket() argument
495 rc = cras_fill_socket_path(conn_type, addr->sun_path); in create_and_listen_server_socket()
527 server_socket->type = conn_type; in create_and_listen_server_socket()
540 for (int conn_type = 0; conn_type < CRAS_NUM_CONN_TYPE; conn_type++) { in cleanup_server_sockets() local
542 &server_instance.server_sockets[conn_type]); in cleanup_server_sockets()
598 for (int conn_type = 0; conn_type < CRAS_NUM_CONN_TYPE; conn_type++) { in cras_server_run() local
600 conn_type, &server_instance.server_sockets[conn_type]); in cras_server_run()
626 for (int conn_type = 0; conn_type < CRAS_NUM_CONN_TYPE; in cras_server_run() local
[all …]
Dcras_rclient.c62 enum CRAS_CONNECTION_TYPE conn_type) in cras_rclient_create() argument
64 if (!cras_validate_connection_type(conn_type)) in cras_rclient_create()
67 switch (conn_type) { in cras_rclient_create()
Dcras_rclient.h58 enum CRAS_CONNECTION_TYPE conn_type);
/external/adhd/cras/src/common/
Dcras_config.c21 int cras_fill_socket_path(enum CRAS_CONNECTION_TYPE conn_type, char *sock_path) in cras_fill_socket_path() argument
31 switch (conn_type) { in cras_fill_socket_path()
Dcras_config.h40 int cras_fill_socket_path(enum CRAS_CONNECTION_TYPE conn_type, char *sock_path);
Dcras_types.h55 cras_validate_connection_type(enum CRAS_CONNECTION_TYPE conn_type) in cras_validate_connection_type() argument
57 return 0 <= conn_type && conn_type < CRAS_NUM_CONN_TYPE; in cras_validate_connection_type()
/external/kernel-headers/original/uapi/sound/
Dskl-tplg-interface.h194 __u16 conn_type:4; member
217 __u32 conn_type:4; member
/external/python/httplib2/tests/
Dtest_other.py214 def test_connection_proxy_info_attribute_error(conn_type): argument
218 conn = conn_type("no-such-hostname.", 80)
/external/python/cpython2/Modules/_multiprocessing/
Dconnection.h400 static char *conn_type[] = {"read-only", "write-only", "read-write"}; in connection_repr() local
404 conn_type[self->flags - 1], in connection_repr()
/external/adhd/cras/src/tools/cras_test_client/
Dcras_test_client.c1687 enum CRAS_CONNECTION_TYPE conn_type) in cras_client_create_and_connect() argument
1691 rc = cras_client_create_with_type(client, conn_type); in cras_client_create_and_connect()
1724 enum CRAS_CONNECTION_TYPE conn_type = CRAS_CONTROL; in main() local
1731 rc = cras_client_create_and_connect(&client, conn_type); in main()
2095 if (new_conn_type != conn_type) { in main()
2106 conn_type = new_conn_type; in main()
/external/adhd/cras/src/libcras/
Dcras_client.h193 enum CRAS_CONNECTION_TYPE conn_type);
Dcras_client.c2069 enum CRAS_CONNECTION_TYPE conn_type) in fill_socket_file() argument
2078 rc = cras_fill_socket_path(conn_type, (char *)client->sock_file); in fill_socket_file()
2091 enum CRAS_CONNECTION_TYPE conn_type) in cras_client_create_with_type() argument
2097 if (!cras_validate_connection_type(conn_type)) { in cras_client_create_with_type()
2143 rc = fill_socket_file((*client), conn_type); in cras_client_create_with_type()