Home
last modified time | relevance | path

Searched refs:GKI_queue_is_empty (Results 1 – 20 of 20) sorted by relevance

/system/bt/gki/common/
Dgki.h84 BOOLEAN GKI_queue_is_empty(BUFFER_Q *);
Dgki_buffer.c470 BOOLEAN GKI_queue_is_empty(BUFFER_Q *p_q) in GKI_queue_is_empty() function
/system/bt/stack/l2cap/
Dl2c_fcr.c226 while (!GKI_queue_is_empty(&p_fcrb->waiting_for_ack_q)) in l2c_fcr_cleanup()
229 while (!GKI_queue_is_empty(&p_fcrb->srej_rcv_hold_q)) in l2c_fcr_cleanup()
232 while (!GKI_queue_is_empty(&p_fcrb->retrans_q)) in l2c_fcr_cleanup()
387 if (!GKI_queue_is_empty(&p_ccb->xmit_hold_q)) in l2c_fcr_is_flow_controlled()
747 if (GKI_queue_is_empty(&p_ccb->fcrb.waiting_for_ack_q)) in l2c_fcr_proc_pdu()
776 …if ( (!p_ccb->fcrb.local_busy) && (!p_ccb->fcrb.srej_sent) && (!GKI_queue_is_empty(&p_ccb->fcrb.sr… in l2c_fcr_proc_pdu()
824 if ( (!GKI_queue_is_empty(&p_ccb->fcrb.retrans_q) || !GKI_queue_is_empty(&p_ccb->xmit_hold_q)) in l2c_fcr_proc_pdu()
921 if (!GKI_queue_is_empty(&p_fcrb->waiting_for_ack_q)) in process_reqseq()
973 … if (GKI_queue_is_empty(&p_fcrb->waiting_for_ack_q) && (GKI_queue_is_empty(&p_ccb->xmit_hold_q))) in process_reqseq()
981 if (!GKI_queue_is_empty(&p_fcrb->waiting_for_ack_q)) in process_reqseq()
[all …]
Dl2c_utils.c1703 while (!GKI_queue_is_empty(&p_ccb->xmit_hold_q)) in l2cu_release_ccb()
3154 if ( GKI_queue_is_empty(&p_ccb->fcrb.retrans_q)) in l2cu_get_next_channel_in_rr()
3156 if ( GKI_queue_is_empty(&p_ccb->xmit_hold_q)) in l2cu_get_next_channel_in_rr()
3170 if (GKI_queue_is_empty(&p_ccb->xmit_hold_q)) in l2cu_get_next_channel_in_rr()
3280 if (GKI_queue_is_empty(&p_ccb->fcrb.retrans_q)) in l2cu_get_next_buffer_to_send()
3282 if (GKI_queue_is_empty(&p_ccb->xmit_hold_q)) in l2cu_get_next_buffer_to_send()
3303 if (!GKI_queue_is_empty(&p_ccb->xmit_hold_q)) in l2cu_get_next_buffer_to_send()
Dl2c_csm.c785 if (!GKI_queue_is_empty(&p_ccb->xmit_hold_q)) in l2c_csm_config()
868 if ( (p_ccb->chnl_state == CST_OPEN) && (!GKI_queue_is_empty(&p_ccb->xmit_hold_q))) in l2c_csm_config()
Dl2c_link.c1066 if (!GKI_queue_is_empty(&p_ccb->xmit_hold_q)) in l2c_link_check_power_mode()
Dl2c_api.c1950 while ( (num_to_flush != 0) && (!GKI_queue_is_empty(&p_ccb->xmit_hold_q))) in L2CA_FlushChannel()
/system/bt/stack/avdt/
Davdt_scb_act.c1275 if (!GKI_queue_is_empty(&p_scb->frag_q)) in avdt_scb_hdl_write_req_frag()
1344 if (GKI_queue_is_empty(&p_data->apiwrite.frag_q)) in avdt_scb_hdl_write_req()
1931 else if(!GKI_queue_is_empty (&p_scb->frag_q)) in avdt_scb_clr_pkt()
2008 if(AVDT_AD_SUCCESS == res || GKI_queue_is_empty (&p_scb->frag_q)) in avdt_scb_chk_snd_pkt()
2012 if(!GKI_queue_is_empty (&p_scb->frag_q)) in avdt_scb_chk_snd_pkt()
2021 else if (sent && GKI_queue_is_empty (&p_scb->frag_q)) in avdt_scb_chk_snd_pkt()
Davdt_api.c1201 || !GKI_queue_is_empty(&p_scb->frag_q) in AVDT_WriteDataReq()
1207 p_scb->p_pkt, p_scb->p_ccb, GKI_queue_is_empty(&p_scb->frag_q), p_scb->frag_off); in AVDT_WriteDataReq()
1217 if(GKI_queue_is_empty(&evt.apiwrite.frag_q)) in AVDT_WriteDataReq()
Davdt_ccb_act.c893 else if (!GKI_queue_is_empty(&p_ccb->rsp_q)) in avdt_ccb_snd_msg()
/system/bt/stack/gatt/
Dgatt_utils.c96 while (!GKI_queue_is_empty(&p_tcb->pending_ind_q)) in gatt_free_pending_ind()
113 while (!GKI_queue_is_empty(&p_tcb->pending_enc_clcb)) in gatt_free_pending_enc_queue()
376 while (!GKI_queue_is_empty(&p->svc_db.svc_buffer)) in gatt_free_hdl_buffer()
400 while (!GKI_queue_is_empty(&p_elem->svc_db.svc_buffer)) in gatt_free_srvc_db_buffer_app_id()
749 …GATT_TRACE_DEBUG("gatt_is_srv_chg_ind_pending is_queue_empty=%d", GKI_queue_is_empty(&p_tcb->pendi… in gatt_is_srv_chg_ind_pending()
Dgatt_auth.c134 if (p_clcb && p_clcb->p_tcb && GKI_queue_is_empty(&p_clcb->p_tcb->pending_enc_clcb)) in gatt_sec_check_complete()
/system/bt/stack/btm/
Dbtm_ble_bgconn.c729 if (!GKI_queue_is_empty(&btm_cb.ble_ctr_cb.conn_pending_q)) in btm_send_pending_direct_conn()
/system/bt/bta/pan/
Dbta_pan_act.c697 if(!GKI_queue_is_empty(&p_scb->data_queue)) in bta_pan_tx_path()
/system/bt/bta/gatt/
Dbta_gattc_cache.c177 while (!GKI_queue_is_empty(&p_srvc_cb->cache_buffer)) in bta_gattc_init_cache()
1499 while (!GKI_queue_is_empty(&p_srvc_cb->cache_buffer)) in bta_gattc_rebuild_cache()
Dbta_gattc_utils.c416 while (!GKI_queue_is_empty(&p_tcb->cache_buffer)) in bta_gattc_srcb_alloc()
Dbta_gattc_act.c1048 while (!GKI_queue_is_empty(&p_clcb->p_srcb->cache_buffer)) in bta_gattc_disc_cmpl()
1928 while (!GKI_queue_is_empty(&p_srvc_cb->cache_buffer)) in bta_gattc_process_api_refresh()
/system/bt/stack/rfcomm/
Drfc_port_fsm.c434 if(!GKI_queue_is_empty(&p_port->rx.queue)) in rfc_port_sm_opened()
/system/bt/btif/src/
Dbtif_media_task.c1245 while (!GKI_queue_is_empty(p_q)) in btif_media_flush_q()
1500 if (GKI_queue_is_empty(&(btif_media_cb.RxSbcQ))== TRUE) /* Que is already empty */ in btif_media_task_aa_rx_flush_req()
/system/bt/stack/bnep/
Dbnep_utils.c156 while (!GKI_queue_is_empty(&p_bcb->xmit_q)) in bnepu_release_bcb()