Home
last modified time | relevance | path

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

/aosp12/system/bt/osi/test/
H A 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()
/aosp12/system/bt/stack/l2cap/
H A Dl2c_fcr.cc584 if (fixed_queue_is_empty(p_ccb->fcrb.waiting_for_ack_q)) in l2c_fcr_proc_pdu()
612 (!fixed_queue_is_empty(p_ccb->fcrb.srej_rcv_hold_q))) { in l2c_fcr_proc_pdu()
660 if ((!fixed_queue_is_empty(p_ccb->fcrb.retrans_q) || in l2c_fcr_proc_pdu()
661 !fixed_queue_is_empty(p_ccb->xmit_hold_q)) && in l2c_fcr_proc_pdu()
840 if (!fixed_queue_is_empty(p_fcrb->waiting_for_ack_q)) in process_reqseq()
891 if (fixed_queue_is_empty(p_fcrb->waiting_for_ack_q) && in process_reqseq()
892 fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in process_reqseq()
902 if (!fixed_queue_is_empty(p_fcrb->waiting_for_ack_q)) in process_reqseq()
1135 } else if ((fixed_queue_is_empty(p_ccb->xmit_hold_q) || in process_i_frame()
1290 if (!fixed_queue_is_empty(p_ccb->fcrb.waiting_for_ack_q)) { in retransmit_i_frames()
[all …]
H A Dl2c_link.cc836 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2c_link_check_power_mode()
1429 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
1436 if (fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) { in l2cu_get_next_channel_in_rr()
1437 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
1445 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
1502 if (fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) { in l2cu_get_next_buffer_to_send()
1503 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_buffer_to_send()
1518 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2cu_get_next_buffer_to_send()
H A Dl2c_ble.cc1427 if (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) { in l2cble_sec_comp()
1463 while (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) { in l2cble_sec_comp()
H A Dl2c_csm.cc1003 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2c_csm_config()
1083 (!fixed_queue_is_empty(p_ccb->xmit_hold_q))) { in l2c_csm_config()
H A Dl2c_api.cc1601 while ((num_to_flush != 0) && (!fixed_queue_is_empty(p_ccb->xmit_hold_q))) { in L2CA_FlushChannel()
H A Dl2c_utils.cc215 while (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) { in l2cu_release_lcb()
/aosp12/system/bt/osi/src/
H A 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
/aosp12/system/bt/osi/include/
H A Dfixed_queue.h53 bool fixed_queue_is_empty(fixed_queue_t* queue);
/aosp12/system/bt/stack/gap/
H A Dgap_conn.cc362 if (fixed_queue_is_empty(p_ccb->rx_queue)) return (GAP_NO_DATA_AVAIL); in GAP_ConnReadData()
973 while (!fixed_queue_is_empty(p_ccb->rx_queue)) in gap_release_ccb()
978 while (!fixed_queue_is_empty(p_ccb->tx_queue)) in gap_release_ccb()
/aosp12/system/bt/stack/gatt/
H A Dgatt_utils.cc100 while (!fixed_queue_is_empty(p_tcb->pending_ind_q)) in gatt_free_pending_ind()
143 if (fixed_queue_is_empty(gatt_cb.srv_chg_clt_q)) return; in gatt_set_srv_chg()
285 << " is_queue_empty=" << fixed_queue_is_empty(p_tcb->pending_ind_q); in gatt_is_srv_chg_ind_pending()
293 if (fixed_queue_is_empty(p_tcb->pending_ind_q)) return false; in gatt_is_srv_chg_ind_pending()
321 if (fixed_queue_is_empty(gatt_cb.srv_chg_clt_q)) return NULL; in gatt_is_bda_in_the_srv_chg_clt_list()
H A Dgatt_sr.cc133 while (!fixed_queue_is_empty(p_cmd->multi_rsp_q)) in gatt_dequeue_sr_cmd()
161 if (!fixed_queue_is_empty(p_cmd->multi_rsp_q)) in build_read_multi_rsp()
/aosp12/system/bt/osi/test/fuzzers/fixed_queue/
H A Dfuzz_fixed_queue.cc92 fixed_queue_is_empty(fixed_queue); in callArbitraryFunction()
/aosp12/system/bt/btif/src/
H A Dbtif_a2dp_sink.cc540 if (fixed_queue_is_empty(btif_a2dp_sink_cb.rx_audio_queue)) { in btif_a2dp_sink_avk_handle_timer()
684 if (fixed_queue_is_empty(btif_a2dp_sink_cb.rx_audio_queue)) { in btif_a2dp_sink_audio_rx_flush_req()
/aosp12/system/bt/stack/avct/
H A Davct_lcb_act.cc427 if (!p_lcb->cong && !fixed_queue_is_empty(p_lcb->tx_q)) { in avct_lcb_cong_ind()
/aosp12/system/bt/test/stub/
H A Dosi.cc304 bool fixed_queue_is_empty(fixed_queue_t* queue) { in fixed_queue_is_empty() function
/aosp12/system/bt/stack/avdt/
H A Davdt_ccb_act.cc845 else if (!fixed_queue_is_empty(p_ccb->rsp_q)) { in avdt_ccb_snd_msg()
/aosp12/system/bt/stack/acl/
H A Dbtm_pm.cc876 if (btm_cb.is_paging || !fixed_queue_is_empty(btm_cb.page_queue)) { in btm_pm_device_in_scan_state()
/aosp12/system/bt/stack/rfcomm/
H A Dport_api.cc719 if (fixed_queue_is_empty(p_port->rx.queue)) return (PORT_SUCCESS); in PORT_ReadData()
H A Drfc_port_fsm.cc481 if (!fixed_queue_is_empty(p_port->rx.queue)) { in rfc_port_sm_opened()
/aosp12/system/bt/stack/bnep/
H A Dbnep_utils.cc150 while (!fixed_queue_is_empty(p_bcb->xmit_q)) { in bnepu_release_bcb()
/aosp12/system/bt/stack/btm/
H A Dbtm_sec.cc4752 if (fixed_queue_is_empty(btm_cb.sec_pending_q)) return; in btm_sec_check_pending_enc_req()