Searched refs:hfp_slc_handle (Results 1 – 10 of 10) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_hfp_slc.h | 9 struct hfp_slc_handle; 12 typedef int (*hfp_slc_init_cb)(struct hfp_slc_handle *handle); 15 typedef int (*hfp_slc_disconnect_cb)(struct hfp_slc_handle *handle); 28 struct hfp_slc_handle *hfp_slc_create(int fd, int is_hsp, 34 void hfp_slc_destroy(struct hfp_slc_handle *handle); 37 int hfp_set_call_status(struct hfp_slc_handle *handle, int call); 40 int hfp_event_incoming_call(struct hfp_slc_handle *handle, 46 int hfp_event_update_call(struct hfp_slc_handle *handle); 50 int hfp_event_update_callsetup(struct hfp_slc_handle *handle); 54 int hfp_event_update_callheld(struct hfp_slc_handle *handle); [all …]
|
D | cras_hfp_slc.c | 58 struct hfp_slc_handle { struct 82 int (*callback) (struct hfp_slc_handle *handle, const char *cmd); argument 86 static int hfp_send(struct hfp_slc_handle *handle, const char *buf) in hfp_send() 116 static int hfp_send_ind_event_report(struct hfp_slc_handle *handle, in hfp_send_ind_event_report() 131 static int hfp_send_calling_line_identification(struct hfp_slc_handle *handle, in hfp_send_calling_line_identification() 149 static int answer_call(struct hfp_slc_handle *handle, const char *cmd) in answer_call() 161 static int call_waiting_notify(struct hfp_slc_handle *handle, const char *buf) in call_waiting_notify() 169 static int cli_notification(struct hfp_slc_handle *handle, const char *cmd) in cli_notification() 179 static int dial_number(struct hfp_slc_handle *handle, const char *cmd) in dial_number() 207 static int dtmf_tone(struct hfp_slc_handle *handle, const char *buf) in dtmf_tone() [all …]
|
D | cras_hfp_ag_profile.h | 39 struct hfp_slc_handle; 59 struct hfp_slc_handle *cras_hfp_ag_get_active_handle(); 62 struct hfp_slc_handle *cras_hfp_ag_get_slc(struct cras_bt_device *device);
|
D | cras_telephony.c | 94 struct hfp_slc_handle *handle; in handle_incoming_call() 156 struct hfp_slc_handle *handle; in handle_set_battery() 176 struct hfp_slc_handle *handle; in handle_set_signal() 196 struct hfp_slc_handle *handle; in handle_set_service() 216 struct hfp_slc_handle *handle; in handle_set_callheld() 350 struct hfp_slc_handle *handle; in cras_telephony_event_answer_call() 382 struct hfp_slc_handle *handle; in cras_telephony_event_terminate_call()
|
D | cras_hfp_ag_profile.c | 90 struct hfp_slc_handle *slc_handle; 141 static int cras_hfp_ag_slc_initialized(struct hfp_slc_handle *handle) in cras_hfp_ag_slc_initialized() 153 static int cras_hfp_ag_slc_disconnected(struct hfp_slc_handle *handle) in cras_hfp_ag_slc_disconnected() 359 struct hfp_slc_handle *cras_hfp_ag_get_active_handle() in cras_hfp_ag_get_active_handle() 366 struct hfp_slc_handle *cras_hfp_ag_get_slc(struct cras_bt_device *device) in cras_hfp_ag_get_slc()
|
D | cras_hfp_iodev.h | 13 struct hfp_slc_handle; 21 struct hfp_slc_handle *slc,
|
D | cras_hfp_iodev.c | 24 struct hfp_slc_handle *slc; 216 struct hfp_slc_handle *slc, in hfp_iodev_create()
|
/external/adhd/cras/src/tests/ |
D | hfp_slc_unittest.cc | 17 static struct hfp_slc_handle *handle; 29 int slc_initialized_cb(struct hfp_slc_handle *handle); 30 int slc_disconnected_cb(struct hfp_slc_handle *handle); 131 int slc_initialized_cb(struct hfp_slc_handle *handle) { in slc_initialized_cb() 136 int slc_disconnected_cb(struct hfp_slc_handle *handle) { in slc_disconnected_cb()
|
D | hfp_iodev_unittest.cc | 17 static struct hfp_slc_handle *fake_slc; 362 int hfp_set_call_status(struct hfp_slc_handle *handle, int call) in hfp_set_call_status() 367 int hfp_event_speaker_gain(struct hfp_slc_handle *handle, int gain) in hfp_event_speaker_gain()
|
D | bt_device_unittest.cc | 237 struct hfp_slc_handle *cras_hfp_ag_get_slc(struct cras_bt_device *device) in cras_hfp_ag_get_slc() 264 int hfp_event_speaker_gain(struct hfp_slc_handle *handle, int gain) in hfp_event_speaker_gain()
|