Home
last modified time | relevance | path

Searched refs:sr_cmd (Results 1 – 5 of 5) sorted by relevance

/system/bt/stack/gatt/
Dgatt_sr.cc48 tGATT_SR_CMD* p_cmd = &tcb.sr_cmd; in gatt_sr_enqueue_cmd()
79 bool gatt_sr_cmd_empty(tGATT_TCB& tcb) { return (tcb.sr_cmd.op_code == 0); } in gatt_sr_cmd_empty()
93 if (tcb.sr_cmd.p_rsp_msg) in gatt_dequeue_sr_cmd()
94 LOG(ERROR) << "free tcb.sr_cmd.p_rsp_msg = " << tcb.sr_cmd.p_rsp_msg; in gatt_dequeue_sr_cmd()
95 osi_free_and_reset((void**)&tcb.sr_cmd.p_rsp_msg); in gatt_dequeue_sr_cmd()
97 while (!fixed_queue_is_empty(tcb.sr_cmd.multi_rsp_q)) in gatt_dequeue_sr_cmd()
98 osi_free(fixed_queue_try_dequeue(tcb.sr_cmd.multi_rsp_q)); in gatt_dequeue_sr_cmd()
99 fixed_queue_free(tcb.sr_cmd.multi_rsp_q, NULL); in gatt_dequeue_sr_cmd()
100 memset(&tcb.sr_cmd, 0, sizeof(tGATT_SR_CMD)); in gatt_dequeue_sr_cmd()
238 if (!process_read_multi_rsp(&tcb.sr_cmd, status, p_msg, tcb.payload_size)) in gatt_sr_process_app_rsp()
[all …]
Dgatt_utils.cc1103 tcb.sr_cmd.cback_cnt[i] = 1; in gatt_sr_copy_prep_cnt_to_cback_cnt()
1119 if (tcb.sr_cmd.cback_cnt[i]) { in gatt_sr_is_cback_cnt_zero()
1155 tcb.sr_cmd.cback_cnt[i] = 0; in gatt_sr_reset_cback_cnt()
1191 tcb.sr_cmd.cback_cnt[idx]++; in gatt_sr_update_cback_cnt()
1193 if (tcb.sr_cmd.cback_cnt[idx]) { in gatt_sr_update_cback_cnt()
1194 tcb.sr_cmd.cback_cnt[idx]--; in gatt_sr_update_cback_cnt()
1400 fixed_queue_free(p_tcb->sr_cmd.multi_rsp_q, NULL); in gatt_cleanup_upon_disc()
1401 p_tcb->sr_cmd.multi_rsp_q = NULL; in gatt_cleanup_upon_disc()
Dgatt_api.cc599 if (p_tcb->sr_cmd.trans_id != trans_id) { in GATTS_SendRsp()
601 conn_id, p_tcb->sr_cmd.op_code); in GATTS_SendRsp()
607 p_tcb->sr_cmd.op_code, status, p_msg); in GATTS_SendRsp()
Dgatt_main.cc171 fixed_queue_free(gatt_cb.tcb[i].sr_cmd.multi_rsp_q, NULL); in gatt_free()
172 gatt_cb.tcb[i].sr_cmd.multi_rsp_q = NULL; in gatt_free()
Dgatt_int.h283 tGATT_SR_CMD sr_cmd; member