Home
last modified time | relevance | path

Searched refs:slc_handle (Results 1 – 4 of 4) sorted by relevance

/external/adhd/cras/src/server/
Dcras_hfp_ag_profile.c97 struct hfp_slc_handle *slc_handle; member
119 hfp_slc_get_hf_supports_battery_indicator(ag->slc_handle)); in destroy_audio_gateway()
138 if (ag->slc_handle) in destroy_audio_gateway()
139 hfp_slc_destroy(ag->slc_handle); in destroy_audio_gateway()
168 DL_SEARCH_SCALAR(connected_ags, ag, slc_handle, handle); in cras_hfp_ag_slc_initialized()
194 DL_SEARCH_SCALAR(connected_ags, ag, slc_handle, handle); in cras_hfp_ag_slc_disconnected()
276 ag->slc_handle = hfp_slc_create(rfcomm_fd, 0, ag_features, device, in cras_hfp_ag_new_connection()
291 if (ag->slc_handle && ag->device == device) { in cras_hfp_ag_request_disconnection()
347 ag->slc_handle = in cras_hsp_ag_new_connection()
351 cras_hfp_ag_slc_initialized(ag->slc_handle); in cras_hsp_ag_new_connection()
[all …]
Dcras_hfp_slc.c1089 static int handle_at_command(struct hfp_slc_handle *slc_handle, const char *cmd) in handle_at_command() argument
1095 return atc->callback(slc_handle, cmd); in handle_at_command()
1098 return hfp_send(slc_handle, AT_CMD("ERROR")); in handle_at_command()
1101 int handle_at_command_for_test(struct hfp_slc_handle *slc_handle, in handle_at_command_for_test() argument
1104 return handle_at_command(slc_handle, cmd); in handle_at_command_for_test()
1215 void hfp_slc_destroy(struct hfp_slc_handle *slc_handle) in hfp_slc_destroy() argument
1217 cras_system_rm_select_fd(slc_handle->rfcomm_fd); in hfp_slc_destroy()
1218 if (slc_handle->timer) in hfp_slc_destroy()
1220 slc_handle->timer); in hfp_slc_destroy()
1221 close(slc_handle->rfcomm_fd); in hfp_slc_destroy()
[all …]
Dcras_hfp_slc.h153 int handle_at_command_for_test(struct hfp_slc_handle *slc_handle,
/external/adhd/cras/src/tests/
Dhfp_ag_profile_unittest.cc203 void hfp_slc_destroy(struct hfp_slc_handle* slc_handle) {} in hfp_slc_destroy() argument