Searched refs:sr_cmd (Results 1 – 5 of 5) sorted by relevance
/system/bt/stack/gatt/ |
D | gatt_sr.cc | 51 tGATT_SR_CMD* p_cmd = &tcb.sr_cmd; 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() 96 if (tcb.sr_cmd.p_rsp_msg) in gatt_dequeue_sr_cmd() 97 LOG(ERROR) << "free tcb.sr_cmd.p_rsp_msg = " << tcb.sr_cmd.p_rsp_msg; in gatt_dequeue_sr_cmd() 98 osi_free_and_reset((void**)&tcb.sr_cmd.p_rsp_msg); in gatt_dequeue_sr_cmd() 100 while (!fixed_queue_is_empty(tcb.sr_cmd.multi_rsp_q)) in gatt_dequeue_sr_cmd() 101 osi_free(fixed_queue_try_dequeue(tcb.sr_cmd.multi_rsp_q)); in gatt_dequeue_sr_cmd() 102 fixed_queue_free(tcb.sr_cmd.multi_rsp_q, NULL); in gatt_dequeue_sr_cmd() 103 memset(&tcb.sr_cmd, 0, sizeof(tGATT_SR_CMD)); in gatt_dequeue_sr_cmd() 241 if (!process_read_multi_rsp(&tcb.sr_cmd, status, p_msg, tcb.payload_size)) in gatt_sr_process_app_rsp() [all …]
|
D | gatt_utils.cc | 985 tcb.sr_cmd.cback_cnt[i] = 1; in gatt_sr_copy_prep_cnt_to_cback_cnt() 1001 if (tcb.sr_cmd.cback_cnt[i]) { in gatt_sr_is_cback_cnt_zero() 1037 tcb.sr_cmd.cback_cnt[i] = 0; in gatt_sr_reset_cback_cnt() 1073 tcb.sr_cmd.cback_cnt[idx]++; in gatt_sr_update_cback_cnt() 1075 if (tcb.sr_cmd.cback_cnt[idx]) { in gatt_sr_update_cback_cnt() 1076 tcb.sr_cmd.cback_cnt[idx]--; in gatt_sr_update_cback_cnt() 1272 fixed_queue_free(p_tcb->sr_cmd.multi_rsp_q, NULL); in gatt_cleanup_upon_disc() 1273 p_tcb->sr_cmd.multi_rsp_q = NULL; in gatt_cleanup_upon_disc()
|
D | gatt_api.cc | 535 if (p_tcb->sr_cmd.trans_id != trans_id) { in GATTS_SendRsp() 537 << " waiting for op_code=" << loghex(p_tcb->sr_cmd.op_code); in GATTS_SendRsp() 542 p_tcb->sr_cmd.op_code, status, p_msg); in GATTS_SendRsp()
|
D | gatt_main.cc | 175 fixed_queue_free(gatt_cb.tcb[i].sr_cmd.multi_rsp_q, NULL); in gatt_free() 176 gatt_cb.tcb[i].sr_cmd.multi_rsp_q = NULL; in gatt_free()
|
D | gatt_int.h | 283 tGATT_SR_CMD sr_cmd; member
|