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.c221 int rfcomm_fd) in cras_hfp_ag_new_connection() argument
233 close(rfcomm_fd); in cras_hfp_ag_new_connection()
257 ag->slc_handle = hfp_slc_create(rfcomm_fd, 0, ag_features, device, in cras_hfp_ag_new_connection()
307 int rfcomm_fd) in cras_hsp_ag_new_connection() argument
317 close(rfcomm_fd); in cras_hsp_ag_new_connection()
328 ag->slc_handle = hfp_slc_create(rfcomm_fd, 1, profile->features, device, in cras_hsp_ag_new_connection()
Dcras_hfp_slc.c83 int rfcomm_fd; member
115 if (handle->rfcomm_fd < 0) in hfp_send()
121 err = write(handle->rfcomm_fd, buf + written, len - written); in hfp_send()
712 read(handle->rfcomm_fd, &handle->buf[handle->buf_write_idx], in slc_watch_callback()
776 handle->rfcomm_fd = fd; in hfp_slc_create()
791 cras_system_add_select_fd(handle->rfcomm_fd, slc_watch_callback, in hfp_slc_create()
799 cras_system_rm_select_fd(slc_handle->rfcomm_fd); in hfp_slc_destroy()
803 close(slc_handle->rfcomm_fd); in hfp_slc_destroy()
Dcras_bt_profile.h30 struct cras_bt_device *device, int rfcomm_fd);