Searched refs:client_cb (Results 1 – 7 of 7) sorted by relevance
/packages/modules/Bluetooth/system/bta/hf_client/ |
D | bta_hf_client_at.cc | 114 static void bta_hf_client_handle_ok(tBTA_HF_CLIENT_CB* client_cb); 116 static void bta_hf_client_clear_queued_at(tBTA_HF_CLIENT_CB* client_cb) { in bta_hf_client_clear_queued_at() argument 117 tBTA_HF_CLIENT_AT_QCMD* cur = client_cb->at_cb.queued_cmd; in bta_hf_client_clear_queued_at() 126 client_cb->at_cb.queued_cmd = NULL; in bta_hf_client_clear_queued_at() 129 static void bta_hf_client_queue_at(tBTA_HF_CLIENT_CB* client_cb, in bta_hf_client_queue_at() argument 142 if (client_cb->at_cb.queued_cmd != NULL) { in bta_hf_client_queue_at() 143 tBTA_HF_CLIENT_AT_QCMD* qcmd = client_cb->at_cb.queued_cmd; in bta_hf_client_queue_at() 149 client_cb->at_cb.queued_cmd = new_cmd; in bta_hf_client_queue_at() 154 tBTA_HF_CLIENT_CB* client_cb = (tBTA_HF_CLIENT_CB*)data; in bta_hf_client_at_resp_timer_cback() local 155 if (client_cb->at_cb.current_cmd == BTA_HF_CLIENT_AT_CNUM) { in bta_hf_client_at_resp_timer_cback() [all …]
|
D | bta_hf_client_sco.cc | 54 static bool bta_hf_client_sco_remove(tBTA_HF_CLIENT_CB* client_cb) { in bta_hf_client_sco_remove() argument 60 if (client_cb->sco_idx != BTM_INVALID_SCO_INDEX) { in bta_hf_client_sco_remove() 61 status = BTM_RemoveSco(client_cb->sco_idx); in bta_hf_client_sco_remove() 63 log::verbose("idx 0x{:04x}, status:0x{:x}", client_cb->sco_idx, status); in bta_hf_client_sco_remove() 70 client_cb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_hf_client_sco_remove() 86 void bta_hf_client_cback_sco(tBTA_HF_CLIENT_CB* client_cb, uint8_t event) { in bta_hf_client_cback_sco() argument 90 evt.bd_addr = client_cb->peer_addr; in bta_hf_client_cback_sco() 106 static void bta_hf_client_sco_conn_rsp(tBTA_HF_CLIENT_CB* client_cb, in bta_hf_client_sco_conn_rsp() argument 113 if (client_cb->sco_state == BTA_HF_CLIENT_SCO_LISTEN_ST) { in bta_hf_client_sco_conn_rsp() 117 } else if (client_cb->negotiated_codec == BTM_SCO_CODEC_LC3) { in bta_hf_client_sco_conn_rsp() [all …]
|
D | bta_hf_client_act.cc | 56 tBTA_HF_CLIENT_CB* client_cb = in bta_hf_client_start_close() local 58 if (client_cb == NULL) { in bta_hf_client_start_close() 64 bta_dm_pm_active(client_cb->peer_addr); in bta_hf_client_start_close() 65 if (!L2CA_SetIdleTimeoutByBdAddr(client_cb->peer_addr, 0, in bta_hf_client_start_close() 69 client_cb->peer_addr, bt_transport_text(BT_TRANSPORT_BR_EDR), 0); in bta_hf_client_start_close() 73 if (client_cb->sco_state == BTA_HF_CLIENT_SCO_OPEN_ST) { in bta_hf_client_start_close() 74 client_cb->sco_close_rfc = true; in bta_hf_client_start_close() 80 bta_hf_client_sco_shutdown(client_cb); in bta_hf_client_start_close() 94 tBTA_HF_CLIENT_CB* client_cb = in bta_hf_client_start_open() local 96 if (client_cb == NULL) { in bta_hf_client_start_open() [all …]
|
D | bta_hf_client_main.cc | 39 void bta_hf_client_cb_init(tBTA_HF_CLIENT_CB* client_cb, uint16_t handle); 302 void bta_hf_client_cb_init(tBTA_HF_CLIENT_CB* client_cb, uint16_t handle) { in bta_hf_client_cb_init() argument 306 alarm_free(client_cb->collision_timer); in bta_hf_client_cb_init() 309 client_cb->enabled_hf_indicators.clear(); in bta_hf_client_cb_init() 310 client_cb->peer_hf_indicators.clear(); in bta_hf_client_cb_init() 314 *client_cb = {}; in bta_hf_client_cb_init() 317 client_cb->collision_timer = alarm_new("bta_hf_client.scb_collision_timer"); in bta_hf_client_cb_init() 318 client_cb->handle = handle; in bta_hf_client_cb_init() 319 client_cb->sco_idx = BTM_INVALID_SCO_INDEX; in bta_hf_client_cb_init() 332 void bta_hf_client_resume_open(tBTA_HF_CLIENT_CB* client_cb) { in bta_hf_client_resume_open() argument [all …]
|
D | bta_hf_client_int.h | 225 void bta_hf_client_slc_seq(tBTA_HF_CLIENT_CB* client_cb, bool error); 231 void bta_hf_client_resume_open(tBTA_HF_CLIENT_CB* client_cb); 244 void bta_hf_client_create_record(tBTA_HF_CLIENT_CB_ARR* client_cb, 246 void bta_hf_client_del_record(tBTA_HF_CLIENT_CB_ARR* client_cb); 247 bool bta_hf_client_sdp_find_attr(tBTA_HF_CLIENT_CB* client_cb); 248 void bta_hf_client_do_disc(tBTA_HF_CLIENT_CB* client_cb); 264 void bta_hf_client_sco_shutdown(tBTA_HF_CLIENT_CB* client_cb); 265 void bta_hf_client_cback_sco(tBTA_HF_CLIENT_CB* client_cb, uint8_t event); 268 void bta_hf_client_at_parse(tBTA_HF_CLIENT_CB* client_cb, char* buf, 270 void bta_hf_client_send_at_brsf(tBTA_HF_CLIENT_CB* client_cb, [all …]
|
D | bta_hf_client_rfc.cc | 56 tBTA_HF_CLIENT_CB* client_cb = in bta_hf_client_port_cback() local 58 if (client_cb == NULL) { in bta_hf_client_port_cback() 66 p_buf->hdr.layer_specific = client_cb->handle; in bta_hf_client_port_cback() 82 tBTA_HF_CLIENT_CB* client_cb = in bta_hf_client_mgmt_cback() local 89 if (code != PORT_SUCCESS && client_cb != NULL && in bta_hf_client_mgmt_cback() 90 port_handle != client_cb->conn_handle) { in bta_hf_client_mgmt_cback() 99 if (client_cb && port_handle == client_cb->conn_handle) { /* out conn */ in bta_hf_client_mgmt_cback() 116 client_cb = bta_hf_client_find_cb_by_handle(tmp_handle); in bta_hf_client_mgmt_cback() 119 if (client_cb == NULL) { in bta_hf_client_mgmt_cback() 129 client_cb->conn_handle = port_handle; in bta_hf_client_mgmt_cback() [all …]
|
D | bta_hf_client_sdp.cc | 64 static void bta_hf_client_sdp_cback(tBTA_HF_CLIENT_CB* client_cb, in bta_hf_client_sdp_cback() argument 74 if (client_cb->role == BTA_HF_CLIENT_ACP) in bta_hf_client_sdp_cback() 80 p_buf->hdr.layer_specific = client_cb->handle; in bta_hf_client_sdp_cback() 215 void bta_hf_client_del_record(tBTA_HF_CLIENT_CB_ARR* client_cb) { in bta_hf_client_del_record() argument 218 if (client_cb->sdp_handle != 0) { in bta_hf_client_del_record() 220 client_cb->sdp_handle)) { in bta_hf_client_del_record() 221 log::warn("Unable to delete SDP record handle:{}", client_cb->sdp_handle); in bta_hf_client_del_record() 223 client_cb->sdp_handle = 0; in bta_hf_client_del_record() 224 BTA_FreeSCN(client_cb->scn); in bta_hf_client_del_record() 239 bool bta_hf_client_sdp_find_attr(tBTA_HF_CLIENT_CB* client_cb) { in bta_hf_client_sdp_find_attr() argument [all …]
|