Home
last modified time | relevance | path

Searched refs:rfcomm_fd (Results 1 – 3 of 3) sorted by relevance

/external/adhd/cras/src/server/
Dcras_hfp_ag_profile.c240 int rfcomm_fd) in cras_hfp_ag_new_connection() argument
252 close(rfcomm_fd); in cras_hfp_ag_new_connection()
276 ag->slc_handle = hfp_slc_create(rfcomm_fd, 0, ag_features, device, in cras_hfp_ag_new_connection()
326 int rfcomm_fd) in cras_hsp_ag_new_connection() argument
336 close(rfcomm_fd); in cras_hsp_ag_new_connection()
348 hfp_slc_create(rfcomm_fd, 1, BSRF_SUPPORTED_FEATURES, device, in cras_hsp_ag_new_connection()
Dcras_hfp_slc.c93 int rfcomm_fd; member
126 if (handle->rfcomm_fd < 0) in hfp_send()
132 err = write(handle->rfcomm_fd, buf + written, len - written); in hfp_send()
1113 read(handle->rfcomm_fd, &handle->buf[handle->buf_write_idx], in process_at_commands()
1166 cras_system_rm_select_fd(handle->rfcomm_fd); in slc_watch_callback()
1190 handle->rfcomm_fd = fd; in hfp_slc_create()
1209 cras_system_add_select_fd(handle->rfcomm_fd, slc_watch_callback, handle, in hfp_slc_create()
1217 cras_system_rm_select_fd(slc_handle->rfcomm_fd); in hfp_slc_destroy()
1221 close(slc_handle->rfcomm_fd); in hfp_slc_destroy()
1260 poll_fd.fd = handle->rfcomm_fd; in hfp_slc_codec_connection_setup()
Dcras_bt_profile.h30 struct cras_bt_device *device, int rfcomm_fd);