/system/bt/stack/gatt/ |
D | gatt_int.h | 298 } tGATT_TCB; typedef 308 tGATT_TCB* p_tcb; /* associated TCB of this CLCB */ 358 tGATT_TCB tcb[GATT_MAX_PHY_CHANNEL]; 410 extern bool gatt_disconnect(tGATT_TCB* p_tcb); 413 extern bool gatt_connect(const RawAddress& rem_bda, tGATT_TCB* p_tcb, 416 extern void gatt_data_process(tGATT_TCB& p_tcb, BT_HDR* p_buf); 417 extern void gatt_update_app_use_link_flag(tGATT_IF gatt_if, tGATT_TCB* p_tcb, 421 extern void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state); 422 extern tGATT_CH_STATE gatt_get_ch_state(tGATT_TCB* p_tcb); 437 extern tGATT_STATUS attp_send_cl_msg(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, [all …]
|
D | gatt_utils.cc | 91 void gatt_free_pending_ind(tGATT_TCB* p_tcb) { in gatt_free_pending_ind() 161 void gatt_add_pending_ind(tGATT_TCB* p_tcb, tGATT_VALUE* p_ind) { in gatt_add_pending_ind() 280 bool gatt_is_srv_chg_ind_pending(tGATT_TCB* p_tcb) { in gatt_is_srv_chg_ind_pending() 382 tGATT_TCB* gatt_get_tcb_by_idx(uint8_t tcb_idx) { in gatt_get_tcb_by_idx() 383 tGATT_TCB* p_tcb = NULL; in gatt_get_tcb_by_idx() 400 tGATT_TCB* gatt_find_tcb_by_addr(const RawAddress& bda, in gatt_find_tcb_by_addr() 402 tGATT_TCB* p_tcb = NULL; in gatt_find_tcb_by_addr() 420 tGATT_TCB* gatt_allocate_tcb_by_bdaddr(const RawAddress& bda, in gatt_allocate_tcb_by_bdaddr() 428 tGATT_TCB* p_tcb = &gatt_cb.tcb[i]; in gatt_allocate_tcb_by_bdaddr() 431 *p_tcb = tGATT_TCB(); in gatt_allocate_tcb_by_bdaddr() [all …]
|
D | gatt_main.cc | 71 static void gatt_send_conn_cback(tGATT_TCB* p_tcb); 190 bool gatt_connect(const RawAddress& rem_bda, tGATT_TCB* p_tcb, in gatt_connect() 223 bool gatt_disconnect(tGATT_TCB* p_tcb) { in gatt_disconnect() 265 bool gatt_update_app_hold_link_status(tGATT_IF gatt_if, tGATT_TCB* p_tcb, in gatt_update_app_hold_link_status() 301 void gatt_update_app_use_link_flag(tGATT_IF gatt_if, tGATT_TCB* p_tcb, in gatt_update_app_use_link_flag() 347 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(bd_addr, transport); in gatt_act_connect() 375 *p_tcb = tGATT_TCB(); in gatt_act_connect() 394 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(bd_addr, transport); in gatt_le_connect_cback() 453 static void gatt_channel_congestion(tGATT_TCB* p_tcb, bool congested) { in gatt_channel_congestion() 481 tGATT_TCB* p_tcb = in gatt_notify_phy_updated() [all …]
|
D | gatt_auth.cc | 96 void gatt_verify_signature(tGATT_TCB& tcb, BT_HDR* p_buf) { in gatt_verify_signature() 156 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(*bd_addr, transport); in gatt_enc_cmpl_cback() 211 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(bd_addr, BT_TRANSPORT_LE); in gatt_notify_enc_cmpl() 246 void gatt_set_sec_act(tGATT_TCB* p_tcb, tGATT_SEC_ACTION sec_act) { in gatt_set_sec_act() 260 tGATT_SEC_ACTION gatt_get_sec_act(tGATT_TCB* p_tcb) { in gatt_get_sec_act() 274 tGATT_TCB* p_tcb = p_clcb->p_tcb; in gatt_determine_sec_act() 355 tGATT_STATUS gatt_get_link_encrypt_status(tGATT_TCB& tcb) { in gatt_get_link_encrypt_status() 406 tGATT_TCB* p_tcb = p_clcb->p_tcb; in gatt_security_check_start()
|
D | gatt_sr.cc | 50 uint32_t gatt_sr_enqueue_cmd(tGATT_TCB& tcb, uint8_t op_code, uint16_t handle) { in gatt_sr_enqueue_cmd() 82 bool gatt_sr_cmd_empty(tGATT_TCB& tcb) { return (tcb.sr_cmd.op_code == 0); } in gatt_sr_cmd_empty() 93 void gatt_dequeue_sr_cmd(tGATT_TCB& tcb) { in gatt_dequeue_sr_cmd() 229 tGATT_STATUS gatt_sr_process_app_rsp(tGATT_TCB& tcb, tGATT_IF gatt_if, in gatt_sr_process_app_rsp() 288 void gatt_process_exec_write_req(tGATT_TCB& tcb, uint8_t op_code, uint16_t len, in gatt_process_exec_write_req() 353 void gatt_process_read_multi_req(tGATT_TCB& tcb, uint8_t op_code, uint16_t len, in gatt_process_read_multi_req() 454 BT_HDR* p_msg, tGATT_TCB& tcb, uint8_t op_code, uint16_t s_hdl, in gatt_build_primary_service_rsp() 617 void gatts_process_primary_service_req(tGATT_TCB& tcb, uint8_t op_code, in gatts_process_primary_service_req() 676 static void gatts_process_find_info(tGATT_TCB& tcb, uint8_t op_code, in gatts_process_find_info() 728 static void gatts_process_mtu_req(tGATT_TCB& tcb, uint16_t len, in gatts_process_mtu_req() [all …]
|
D | gatt_api.cc | 416 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_HandleValueIndication() 475 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_HandleValueNotification() 525 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_SendRsp() 572 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_ConfigureMTU() 623 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_Discover() 686 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_Read() 766 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_Write() 819 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_ExecuteWrite() 862 tGATT_TCB* p_tcb = gatt_get_tcb_by_idx(GATT_GET_TCB_IDX(conn_id)); in GATTC_SendHandleValueConfirm() 910 tGATT_TCB* p_tcb = gatt_find_tcb_by_addr(bd_addr, transport); in GATT_SetIdleTimeout() [all …]
|
D | gatt_cl.cc | 52 void gatt_send_prepare_write(tGATT_TCB& tcb, tGATT_CLCB* p_clcb); 140 tGATT_TCB& tcb = *p_clcb->p_tcb; in gatt_act_read() 211 tGATT_TCB& tcb = *p_clcb->p_tcb; in gatt_act_write() 274 void gatt_send_queue_write_cancel(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, in gatt_send_queue_write_cancel() 297 bool gatt_check_write_long_terminate(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, in gatt_check_write_long_terminate() 328 void gatt_send_prepare_write(tGATT_TCB& tcb, tGATT_CLCB* p_clcb) { in gatt_send_prepare_write() 371 void gatt_process_find_type_value_rsp(UNUSED_ATTR tGATT_TCB& tcb, in gatt_process_find_type_value_rsp() 417 void gatt_process_read_info_rsp(UNUSED_ATTR tGATT_TCB& tcb, tGATT_CLCB* p_clcb, in gatt_process_read_info_rsp() 470 void gatt_proc_disc_error_rsp(UNUSED_ATTR tGATT_TCB& tcb, tGATT_CLCB* p_clcb, in gatt_proc_disc_error_rsp() 506 void gatt_process_error_rsp(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, in gatt_process_error_rsp() [all …]
|
D | att_protocol.cc | 325 tGATT_STATUS attp_send_msg_to_l2cap(tGATT_TCB& tcb, BT_HDR* p_toL2CAP) { in attp_send_msg_to_l2cap() 344 BT_HDR* attp_build_sr_msg(tGATT_TCB& tcb, uint8_t op_code, in attp_build_sr_msg() 397 tGATT_STATUS attp_send_sr_msg(tGATT_TCB& tcb, BT_HDR* p_msg) { in attp_send_sr_msg() 416 tGATT_STATUS attp_cl_send_cmd(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, in attp_cl_send_cmd() 457 tGATT_STATUS attp_send_cl_msg(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, in attp_send_cl_msg()
|
D | gatt_db.cc | 46 tGATT_TCB& tcb, uint8_t op_code, uint16_t handle, uint16_t offset, 255 tGATT_TCB& tcb, tGATT_SVC_DB* p_db, uint8_t op_code, BT_HDR* p_rsp, in gatts_db_read_attr_value_by_type() 443 tGATT_TCB& tcb, tGATT_SVC_DB* p_db, uint8_t op_code, uint16_t handle, in gatts_read_attr_value_by_handle() 679 tGATT_TCB& tcb, uint8_t op_code, uint16_t handle, uint16_t offset, in gatts_send_app_read_request()
|