Home
last modified time | relevance | path

Searched refs:fixed_queue_is_empty (Results 1 – 22 of 22) sorted by relevance

/system/bt/osi/test/
Dfixed_queue_test.cc89 EXPECT_TRUE(fixed_queue_is_empty(queue)); in TEST_F()
96 EXPECT_TRUE(fixed_queue_is_empty(queue)); in TEST_F()
105 EXPECT_FALSE(fixed_queue_is_empty(queue)); in TEST_F()
107 EXPECT_TRUE(fixed_queue_is_empty(queue)); in TEST_F()
117 EXPECT_FALSE(fixed_queue_is_empty(queue)); in TEST_F()
120 EXPECT_TRUE(fixed_queue_is_empty(queue)); in TEST_F()
128 EXPECT_TRUE(fixed_queue_is_empty(NULL)); in TEST_F()
133 EXPECT_TRUE(fixed_queue_is_empty(queue)); in TEST_F()
137 EXPECT_FALSE(fixed_queue_is_empty(queue)); in TEST_F()
141 EXPECT_TRUE(fixed_queue_is_empty(queue)); in TEST_F()
/system/bt/osi/include/
Dfixed_queue.h53 bool fixed_queue_is_empty(fixed_queue_t* queue);
/system/bt/stack/l2cap/
Dl2c_fcr.cc383 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2c_fcr_is_flow_controlled()
726 if (fixed_queue_is_empty(p_ccb->fcrb.waiting_for_ack_q)) in l2c_fcr_proc_pdu()
754 (!fixed_queue_is_empty(p_ccb->fcrb.srej_rcv_hold_q))) { in l2c_fcr_proc_pdu()
804 if ((!fixed_queue_is_empty(p_ccb->fcrb.retrans_q) || in l2c_fcr_proc_pdu()
805 !fixed_queue_is_empty(p_ccb->xmit_hold_q)) && in l2c_fcr_proc_pdu()
979 if (!fixed_queue_is_empty(p_fcrb->waiting_for_ack_q)) in process_reqseq()
1034 if (fixed_queue_is_empty(p_fcrb->waiting_for_ack_q) && in process_reqseq()
1035 fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in process_reqseq()
1045 if (!fixed_queue_is_empty(p_fcrb->waiting_for_ack_q)) in process_reqseq()
1264 if (!fixed_queue_is_empty(p_fcrb->srej_rcv_hold_q)) { in process_i_frame()
[all …]
Dl2c_utils.cc228 while (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) { in l2cu_release_lcb()
3131 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
3138 if (fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) { in l2cu_get_next_channel_in_rr()
3139 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
3147 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
3200 if (!fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) return p_ccb; in l2cu_get_next_channel()
3202 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel()
3251 if (fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) { in l2cu_get_next_buffer_to_send()
3252 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_buffer_to_send()
3267 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2cu_get_next_buffer_to_send()
Dl2c_ble.cc1350 if (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) { in l2cble_sec_comp()
1387 while (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) { in l2cble_sec_comp()
Dl2c_csm.cc810 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2c_csm_config()
900 (!fixed_queue_is_empty(p_ccb->xmit_hold_q))) { in l2c_csm_config()
Dl2c_link.cc924 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2c_link_check_power_mode()
Dl2c_api.cc2233 while ((num_to_flush != 0) && (!fixed_queue_is_empty(p_ccb->xmit_hold_q))) { in L2CA_FlushChannel()
/system/bt/osi/src/
Dfixed_queue.cc88 while (!fixed_queue_is_empty(queue)) { in fixed_queue_flush()
96 bool fixed_queue_is_empty(fixed_queue_t* queue) { in fixed_queue_is_empty() function
/system/bt/stack/gatt/
Dgatt_utils.cc95 while (!fixed_queue_is_empty(p_tcb->pending_ind_q)) in gatt_free_pending_ind()
138 if (fixed_queue_is_empty(gatt_cb.srv_chg_clt_q)) return; in gatt_set_srv_chg()
292 << " is_queue_empty=" << fixed_queue_is_empty(p_tcb->pending_ind_q); in gatt_is_srv_chg_ind_pending()
296 if (fixed_queue_is_empty(p_tcb->pending_ind_q)) return false; in gatt_is_srv_chg_ind_pending()
325 if (fixed_queue_is_empty(gatt_cb.srv_chg_clt_q)) return NULL; in gatt_is_bda_in_the_srv_chg_clt_list()
Dgatt_sr.cc99 while (!fixed_queue_is_empty(tcb.sr_cmd.multi_rsp_q)) in gatt_dequeue_sr_cmd()
150 if (!fixed_queue_is_empty(p_cmd->multi_rsp_q)) in process_read_multi_rsp()
/system/bt/stack/gap/
Dgap_conn.cc382 if (fixed_queue_is_empty(p_ccb->rx_queue)) return (GAP_NO_DATA_AVAIL); in GAP_ConnReadData()
1133 while (!fixed_queue_is_empty(p_ccb->rx_queue)) in gap_release_ccb()
1138 while (!fixed_queue_is_empty(p_ccb->tx_queue)) in gap_release_ccb()
/system/bt/btif/src/
Dbtif_a2dp_sink.cc465 if (fixed_queue_is_empty(btif_a2dp_sink_cb.rx_audio_queue)) { in btif_a2dp_sink_avk_handle_timer()
600 if (fixed_queue_is_empty(btif_a2dp_sink_cb.rx_audio_queue)) { in btif_a2dp_sink_audio_rx_flush_req()
/system/bt/stack/btm/
Dbtm_ble_bgconn.cc605 if (fixed_queue_is_empty(btm_cb.ble_ctr_cb.conn_pending_q)) return; in btm_ble_dequeue_direct_conn_req()
Dbtm_pm.cc916 if (btm_cb.is_paging || (!fixed_queue_is_empty(btm_cb.page_queue)) || in btm_pm_device_in_scan_state()
Dbtm_sec.cc5780 if (fixed_queue_is_empty(btm_cb.sec_pending_q)) return; in btm_sec_check_pending_enc_req()
/system/bt/stack/avct/
Davct_lcb_act.cc422 if (!p_lcb->cong && !fixed_queue_is_empty(p_lcb->tx_q)) { in avct_lcb_cong_ind()
/system/bt/bta/pan/
Dbta_pan_act.cc635 if (!fixed_queue_is_empty(p_scb->data_queue)) { in bta_pan_tx_path()
/system/bt/stack/avdt/
Davdt_ccb_act.cc839 else if (!fixed_queue_is_empty(p_ccb->rsp_q)) { in avdt_ccb_snd_msg()
/system/bt/stack/rfcomm/
Drfc_port_fsm.cc446 if (!fixed_queue_is_empty(p_port->rx.queue)) { in rfc_port_sm_opened()
Dport_api.cc1166 if (fixed_queue_is_empty(p_port->rx.queue)) return (PORT_SUCCESS); in PORT_ReadData()
/system/bt/stack/bnep/
Dbnep_utils.cc151 while (!fixed_queue_is_empty(p_bcb->xmit_q)) { in bnepu_release_bcb()