Home
last modified time | relevance | path

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

/system/bt/osi/test/
Ddata_dispatcher_test.cpp43 EXPECT_TRUE(fixed_queue_is_empty(dummy_queue)); in TEST_F()
49 EXPECT_FALSE(fixed_queue_is_empty(dummy_queue)); in TEST_F()
51 EXPECT_TRUE(fixed_queue_is_empty(dummy_queue)); in TEST_F()
65 EXPECT_TRUE(fixed_queue_is_empty(dummy_queue0)); in TEST_F()
66 EXPECT_TRUE(fixed_queue_is_empty(dummy_queue1)); in TEST_F()
72 EXPECT_FALSE(fixed_queue_is_empty(dummy_queue0)); in TEST_F()
73 EXPECT_TRUE(fixed_queue_is_empty(dummy_queue1)); in TEST_F()
75 EXPECT_TRUE(fixed_queue_is_empty(dummy_queue0)); in TEST_F()
90 EXPECT_TRUE(fixed_queue_is_empty(dummy_queue)); in TEST_F()
91 EXPECT_TRUE(fixed_queue_is_empty(default_queue)); in TEST_F()
[all …]
Dfixed_queue_test.cpp83 EXPECT_TRUE(fixed_queue_is_empty(NULL)); in TEST_F()
88 EXPECT_TRUE(fixed_queue_is_empty(queue)); in TEST_F()
92 EXPECT_FALSE(fixed_queue_is_empty(queue)); in TEST_F()
96 EXPECT_TRUE(fixed_queue_is_empty(queue)); in TEST_F()
/system/bt/osi/include/
Dfixed_queue.h45 bool fixed_queue_is_empty(fixed_queue_t *queue);
/system/bt/stack/l2cap/
Dl2c_fcr.c371 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()
756 (!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()
985 if (!fixed_queue_is_empty(p_fcrb->waiting_for_ack_q)) in process_reqseq()
1039 if (fixed_queue_is_empty(p_fcrb->waiting_for_ack_q) && in process_reqseq()
1040 fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in process_reqseq()
1049 if (!fixed_queue_is_empty(p_fcrb->waiting_for_ack_q)) in process_reqseq()
1266 if (!fixed_queue_is_empty(p_fcrb->srej_rcv_hold_q)) in process_i_frame()
[all …]
Dl2c_ucd.c647 while (! fixed_queue_is_empty(p_lcb->ucd_out_sec_pending_q)) in l2c_ucd_delete_sec_pending_q()
652 while (! fixed_queue_is_empty(p_lcb->ucd_in_sec_pending_q)) in l2c_ucd_delete_sec_pending_q()
1009 if (! fixed_queue_is_empty(p_ccb->p_lcb->ucd_out_sec_pending_q)) in l2c_ucd_process_event()
1065 if (! fixed_queue_is_empty(p_ccb->p_lcb->ucd_in_sec_pending_q)) in l2c_ucd_process_event()
Dl2c_utils.c259 while (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) in l2cu_release_lcb()
3425 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) in l2cu_get_next_channel_in_rr()
3437 if (fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) in l2cu_get_next_channel_in_rr()
3439 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) in l2cu_get_next_channel_in_rr()
3449 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) in l2cu_get_next_channel_in_rr()
3507 if (!fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) in l2cu_get_next_channel()
3510 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) in l2cu_get_next_channel()
3556 if (fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) in l2cu_get_next_buffer_to_send()
3558 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) in l2cu_get_next_buffer_to_send()
3575 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) in l2cu_get_next_buffer_to_send()
Dl2c_csm.c909 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) in l2c_csm_config()
999 (!fixed_queue_is_empty(p_ccb->xmit_hold_q))) in l2c_csm_config()
Dl2c_ble.c1412 if (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) in l2cble_sec_comp()
1456 while (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) in l2cble_sec_comp()
Dl2c_link.c1025 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) in l2c_link_check_power_mode()
Dl2c_api.c2273 while ( (num_to_flush != 0) && (!fixed_queue_is_empty(p_ccb->xmit_hold_q))) in L2CA_FlushChannel()
/system/bt/stack/gatt/
Dgatt_utils.c101 while (!fixed_queue_is_empty(p_tcb->pending_ind_q)) in gatt_free_pending_ind()
124 while (!fixed_queue_is_empty(p_tcb->pending_enc_clcb)) in gatt_free_pending_enc_queue()
171 if (fixed_queue_is_empty(gatt_cb.srv_chg_clt_q)) in gatt_set_srv_chg()
205 if (fixed_queue_is_empty(gatt_cb.pending_new_srv_start_q)) in gatt_sr_is_new_srv_chg()
393 while (!fixed_queue_is_empty(p->svc_db.svc_buffer)) in gatt_free_hdl_buffer()
418 while (!fixed_queue_is_empty(p_elem->svc_db.svc_buffer)) in gatt_free_srvc_db_buffer_app_id()
769 fixed_queue_is_empty(p_tcb->pending_ind_q)); in gatt_is_srv_chg_ind_pending()
775 else if (! fixed_queue_is_empty(p_tcb->pending_ind_q)) in gatt_is_srv_chg_ind_pending()
811 if (fixed_queue_is_empty(gatt_cb.srv_chg_clt_q)) in gatt_is_bda_in_the_srv_chg_clt_list()
Dgatt_auth.c134 fixed_queue_is_empty(p_clcb->p_tcb->pending_enc_clcb)) { in gatt_sec_check_complete()
Dgatt_sr.c106 while (!fixed_queue_is_empty(p_tcb->sr_cmd.multi_rsp_q)) in gatt_dequeue_sr_cmd()
159 if (! fixed_queue_is_empty(p_cmd->multi_rsp_q)) in process_read_multi_rsp()
/system/bt/stack/avdt/
Davdt_scb_act.c1272 if (!fixed_queue_is_empty(p_scb->frag_q)) in avdt_scb_hdl_write_req_frag()
1287 if (! fixed_queue_is_empty(p_scb->frag_q)) { in avdt_scb_hdl_write_req_frag()
1352 if (fixed_queue_is_empty(p_scb->frag_q)) in avdt_scb_hdl_write_req()
1925 else if (!fixed_queue_is_empty(p_scb->frag_q)) in avdt_scb_clr_pkt()
2002 if (AVDT_AD_SUCCESS == res || fixed_queue_is_empty(p_scb->frag_q)) in avdt_scb_chk_snd_pkt()
2006 if (!fixed_queue_is_empty(p_scb->frag_q)) in avdt_scb_chk_snd_pkt()
2015 else if (sent && fixed_queue_is_empty(p_scb->frag_q)) in avdt_scb_chk_snd_pkt()
Davdt_ccb_act.c884 else if (!fixed_queue_is_empty(p_ccb->rsp_q)) in avdt_ccb_snd_msg()
/system/bt/stack/gap/
Dgap_conn.c354 if (fixed_queue_is_empty(p_ccb->rx_queue)) in GAP_ConnReadData()
1208 while (!fixed_queue_is_empty(p_ccb->rx_queue)) in gap_release_ccb()
1213 while (!fixed_queue_is_empty(p_ccb->tx_queue)) in gap_release_ccb()
/system/bt/osi/src/
Dfixed_queue.c86 bool fixed_queue_is_empty(fixed_queue_t *queue) { in fixed_queue_is_empty() function
/system/bt/stack/avct/
Davct_lcb_act.c478 if (p_lcb->cong == FALSE && !fixed_queue_is_empty(p_lcb->tx_q)) in avct_lcb_cong_ind()
/system/bt/bta/pan/
Dbta_pan_act.c700 if (!fixed_queue_is_empty(p_scb->data_queue)) in bta_pan_tx_path()
/system/bt/stack/btm/
Dbtm_pm.c994 if (btm_cb.is_paging || (!fixed_queue_is_empty(btm_cb.page_queue)) || in btm_pm_device_in_scan_state()
Dbtm_sec.c6168 if (fixed_queue_is_empty(btm_cb.sec_pending_q)) in btm_sec_check_pending_enc_req()
/system/bt/stack/rfcomm/
Drfc_port_fsm.c434 if(! fixed_queue_is_empty(p_port->rx.queue)) in rfc_port_sm_opened()
Dport_api.c1242 if (fixed_queue_is_empty(p_port->rx.queue)) in PORT_ReadData()
/system/bt/btif/src/
Dbtif_media_task.c1332 if (fixed_queue_is_empty(btif_media_cb.RxSbcQ)) in btif_media_task_avk_handle_timer()
1493 while (! fixed_queue_is_empty(p_q)) in btif_media_flush_q()
1744 if (fixed_queue_is_empty(btif_media_cb.RxSbcQ)) /* Que is already empty */ in btif_media_task_aa_rx_flush_req()
/system/bt/stack/bnep/
Dbnep_utils.c160 while (!fixed_queue_is_empty(p_bcb->xmit_q)) in bnepu_release_bcb()