Home
last modified time | relevance | path

Searched refs:fixed_queue_is_empty (Results 1 – 21 of 21) 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.cc385 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2c_fcr_is_flow_controlled()
728 if (fixed_queue_is_empty(p_ccb->fcrb.waiting_for_ack_q)) in l2c_fcr_proc_pdu()
756 (!fixed_queue_is_empty(p_ccb->fcrb.srej_rcv_hold_q))) { in l2c_fcr_proc_pdu()
806 if ((!fixed_queue_is_empty(p_ccb->fcrb.retrans_q) || in l2c_fcr_proc_pdu()
807 !fixed_queue_is_empty(p_ccb->xmit_hold_q)) && in l2c_fcr_proc_pdu()
999 if (!fixed_queue_is_empty(p_fcrb->waiting_for_ack_q)) in process_reqseq()
1054 if (fixed_queue_is_empty(p_fcrb->waiting_for_ack_q) && in process_reqseq()
1055 fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in process_reqseq()
1065 if (!fixed_queue_is_empty(p_fcrb->waiting_for_ack_q)) in process_reqseq()
1284 if (!fixed_queue_is_empty(p_fcrb->srej_rcv_hold_q)) { in process_i_frame()
[all …]
Dl2c_utils.cc222 while (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) { in l2cu_release_lcb()
3142 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
3149 if (fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) { in l2cu_get_next_channel_in_rr()
3150 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
3158 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
3211 if (!fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) return p_ccb; in l2cu_get_next_channel()
3213 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel()
3262 if (fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) { in l2cu_get_next_buffer_to_send()
3263 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_buffer_to_send()
3278 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2cu_get_next_buffer_to_send()
Dl2c_ble.cc1160 if (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) { in l2cble_sec_comp()
1197 while (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) { in l2cble_sec_comp()
Dl2c_csm.cc824 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2c_csm_config()
915 (!fixed_queue_is_empty(p_ccb->xmit_hold_q))) { in l2c_csm_config()
Dl2c_link.cc929 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.cc97 while (!fixed_queue_is_empty(p_tcb->pending_ind_q)) in gatt_free_pending_ind()
140 if (fixed_queue_is_empty(gatt_cb.srv_chg_clt_q)) return; in gatt_set_srv_chg()
282 << " is_queue_empty=" << fixed_queue_is_empty(p_tcb->pending_ind_q); in gatt_is_srv_chg_ind_pending()
286 if (fixed_queue_is_empty(p_tcb->pending_ind_q)) return false; in gatt_is_srv_chg_ind_pending()
314 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.cc100 while (!fixed_queue_is_empty(tcb.sr_cmd.multi_rsp_q)) in gatt_dequeue_sr_cmd()
151 if (!fixed_queue_is_empty(p_cmd->multi_rsp_q)) in process_read_multi_rsp()
/system/bt/stack/gap/
Dgap_conn.cc381 if (fixed_queue_is_empty(p_ccb->rx_queue)) return (GAP_NO_DATA_AVAIL); in GAP_ConnReadData()
1132 while (!fixed_queue_is_empty(p_ccb->rx_queue)) in gap_release_ccb()
1137 while (!fixed_queue_is_empty(p_ccb->tx_queue)) in gap_release_ccb()
/system/bt/btif/src/
Dbtif_a2dp_sink.cc498 if (fixed_queue_is_empty(btif_a2dp_sink_cb.rx_audio_queue)) { in btif_a2dp_sink_avk_handle_timer()
639 if (fixed_queue_is_empty(btif_a2dp_sink_cb.rx_audio_queue)) { in btif_a2dp_sink_audio_rx_flush_req()
/system/bt/stack/avct/
Davct_lcb_act.cc428 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/btm/
Dbtm_pm.cc914 if (btm_cb.is_paging || (!fixed_queue_is_empty(btm_cb.page_queue)) || in btm_pm_device_in_scan_state()
Dbtm_sec.cc5805 if (fixed_queue_is_empty(btm_cb.sec_pending_q)) return; in btm_sec_check_pending_enc_req()
/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.cc471 if (!fixed_queue_is_empty(p_port->rx.queue)) { in rfc_port_sm_opened()
Dport_api.cc1156 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()