Searched refs:client_shm_fd (Results 1 – 8 of 8) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_rstream_config.c | 29 int *client_shm_fd, size_t client_shm_size, in cras_rstream_config_init() argument 45 stream_config->client_shm_fd = *client_shm_fd; in cras_rstream_config_init() 46 *client_shm_fd = -1; in cras_rstream_config_init() 55 int *aud_fd, int *client_shm_fd, in cras_rstream_config_init_with_message() argument 66 client_shm_fd, msg->client_shm_size, in cras_rstream_config_init_with_message() 75 if (stream_config->client_shm_fd >= 0) in cras_rstream_config_cleanup() 76 close(stream_config->client_shm_fd); in cras_rstream_config_cleanup()
|
D | cras_rclient_util.c | 93 static int rclient_validate_stream_connect_fds(int audio_fd, int client_shm_fd, in rclient_validate_stream_connect_fds() argument 103 if (client_shm_size > 0 && client_shm_fd < 0) { in rclient_validate_stream_connect_fds() 107 } else if (client_shm_size == 0 && client_shm_fd >= 0) { in rclient_validate_stream_connect_fds() 117 const struct cras_connect_message *msg, int audio_fd, int client_shm_fd) in rclient_validate_stream_connect_params() argument 125 rc = rclient_validate_stream_connect_fds(audio_fd, client_shm_fd, in rclient_validate_stream_connect_params() 135 int aud_fd, int client_shm_fd) in rclient_handle_client_stream_connect() argument 147 client_shm_fd); in rclient_handle_client_stream_connect() 153 if (client_shm_fd >= 0) in rclient_handle_client_stream_connect() 154 close(client_shm_fd); in rclient_handle_client_stream_connect() 164 client, msg, &aud_fd, &client_shm_fd, &remote_fmt); in rclient_handle_client_stream_connect() [all …]
|
D | cras_rstream_config.h | 50 int client_shm_fd; member 71 int *client_shm_fd, size_t client_shm_size, 90 int *aud_fd, int *client_shm_fd,
|
D | cras_rclient_util.h | 58 int client_shm_fd); 73 int aud_fd, int client_shm_fd);
|
D | server_stream.c | 40 int client_shm_fd = -1; in server_stream_create() local 57 server_stream_block_size, &audio_fd, &client_shm_fd, in server_stream_create()
|
D | cras_rstream.c | 25 return config && config->client_shm_fd >= 0 && in cras_rstream_config_is_client_shm_stream() 62 rc = cras_shm_info_init_with_fd(config->client_shm_fd, in setup_shm_area() 175 if ((config->client_shm_size > 0 && config->client_shm_fd < 0) || in verify_rstream_parameters() 176 (config->client_shm_size == 0 && config->client_shm_fd >= 0)) { in verify_rstream_parameters()
|
D | cras_control_rclient.c | 301 int client_shm_fd = num_fds > 1 ? fds[1] : -1; in ccr_handle_message_from_client() local 306 client_shm_fd); in ccr_handle_message_from_client()
|
/external/adhd/cras/src/tests/ |
D | rstream_unittest.cc | 43 config_.client_shm_fd = -1; in SetUp()
|