Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/osi/test/
Dfixed_queue_test.cc87 EXPECT_TRUE(fixed_queue_is_empty(queue)); in TEST_F()
94 EXPECT_TRUE(fixed_queue_is_empty(queue)); in TEST_F()
103 EXPECT_FALSE(fixed_queue_is_empty(queue)); in TEST_F()
105 EXPECT_TRUE(fixed_queue_is_empty(queue)); in TEST_F()
115 EXPECT_FALSE(fixed_queue_is_empty(queue)); in TEST_F()
118 EXPECT_TRUE(fixed_queue_is_empty(queue)); in TEST_F()
126 EXPECT_TRUE(fixed_queue_is_empty(NULL)); in TEST_F()
131 EXPECT_TRUE(fixed_queue_is_empty(queue)); in TEST_F()
135 EXPECT_FALSE(fixed_queue_is_empty(queue)); in TEST_F()
139 EXPECT_TRUE(fixed_queue_is_empty(queue)); in TEST_F()
/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_fixed_queue.cc43 struct fixed_queue_is_empty fixed_queue_is_empty; variable
91 bool fixed_queue_is_empty(fixed_queue_t* queue) { in fixed_queue_is_empty() function
93 return test::mock::osi_fixed_queue::fixed_queue_is_empty(queue); in fixed_queue_is_empty()
Dmock_osi_fixed_queue.h133 struct fixed_queue_is_empty { struct
139 extern struct fixed_queue_is_empty fixed_queue_is_empty; argument
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_fcr.cc583 if (fixed_queue_is_empty(p_ccb->fcrb.waiting_for_ack_q)) in l2c_fcr_proc_pdu()
611 (!fixed_queue_is_empty(p_ccb->fcrb.srej_rcv_hold_q))) { in l2c_fcr_proc_pdu()
659 if ((!fixed_queue_is_empty(p_ccb->fcrb.retrans_q) || in l2c_fcr_proc_pdu()
660 !fixed_queue_is_empty(p_ccb->xmit_hold_q)) && in l2c_fcr_proc_pdu()
846 if (!fixed_queue_is_empty(p_fcrb->waiting_for_ack_q)) in process_reqseq()
897 if (fixed_queue_is_empty(p_fcrb->waiting_for_ack_q) && in process_reqseq()
898 fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in process_reqseq()
908 if (!fixed_queue_is_empty(p_fcrb->waiting_for_ack_q)) in process_reqseq()
1089 if (!fixed_queue_is_empty(p_fcrb->srej_rcv_hold_q)) { in process_i_frame()
1141 } else if ((fixed_queue_is_empty(p_ccb->xmit_hold_q) || in process_i_frame()
[all …]
Dl2c_link.cc801 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2c_link_check_power_mode()
1219 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
1226 if (fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) { in l2cu_get_next_channel_in_rr()
1227 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
1235 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
1295 if (fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) { in l2cu_get_next_buffer_to_send()
1296 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_buffer_to_send()
1311 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2cu_get_next_buffer_to_send()
Dl2c_ble.cc1268 if (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) { in l2cble_sec_comp()
1301 while (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) { in l2cble_sec_comp()
Dl2c_csm.cc1109 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2c_csm_config()
1208 (!fixed_queue_is_empty(p_ccb->xmit_hold_q))) { in l2c_csm_config()
Dl2c_api.cc1610 while ((num_to_flush != 0) && (!fixed_queue_is_empty(p_ccb->xmit_hold_q))) { in L2CA_FlushChannel()
Dl2c_utils.cc216 while (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) { in l2cu_release_lcb()
/packages/modules/Bluetooth/system/osi/src/
Dfixed_queue.cc91 while (!fixed_queue_is_empty(queue)) { in fixed_queue_flush()
99 bool fixed_queue_is_empty(fixed_queue_t* queue) { in fixed_queue_is_empty() function
/packages/modules/Bluetooth/system/osi/include/
Dfixed_queue.h53 bool fixed_queue_is_empty(fixed_queue_t* queue);
/packages/modules/Bluetooth/system/test/fake/
Dfake_osi.cc301 test::mock::osi_fixed_queue::fixed_queue_is_empty.body = in FakeOsi()
317 if (q && !test::mock::osi_fixed_queue::fixed_queue_is_empty(q)) { in FakeOsi()
407 test::mock::osi_fixed_queue::fixed_queue_is_empty = {}; in ~FakeOsi()
/packages/modules/Bluetooth/system/stack/gap/
Dgap_conn.cc368 if (fixed_queue_is_empty(p_ccb->rx_queue)) return (GAP_NO_DATA_AVAIL); in GAP_ConnReadData()
984 while (!fixed_queue_is_empty(p_ccb->rx_queue)) in gap_release_ccb()
989 while (!fixed_queue_is_empty(p_ccb->tx_queue)) in gap_release_ccb()
/packages/modules/Bluetooth/system/osi/test/fuzzers/fixed_queue/
Dfuzz_fixed_queue.cc92 fixed_queue_is_empty(fixed_queue); in callArbitraryFunction()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_utils.cc133 while (!fixed_queue_is_empty(p_tcb->pending_ind_q)) in gatt_free_pending_ind()
176 if (fixed_queue_is_empty(gatt_cb.srv_chg_clt_q)) return; in gatt_set_srv_chg()
317 log::verbose("is_queue_empty={}", fixed_queue_is_empty(p_tcb->pending_ind_q)); in gatt_is_srv_chg_ind_pending()
325 if (fixed_queue_is_empty(p_tcb->pending_ind_q)) return false; in gatt_is_srv_chg_ind_pending()
352 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.cc153 while (!fixed_queue_is_empty(p_cmd->multi_rsp_q)) in gatt_dequeue_sr_cmd()
182 if (!fixed_queue_is_empty(p_cmd->multi_rsp_q)) in build_read_multi_rsp()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_a2dp_sink.cc552 if (fixed_queue_is_empty(btif_a2dp_sink_cb.rx_audio_queue)) { in btif_a2dp_sink_avk_handle_timer()
705 if (fixed_queue_is_empty(btif_a2dp_sink_cb.rx_audio_queue)) { in btif_a2dp_sink_audio_rx_flush_req()
/packages/modules/Bluetooth/system/test/stub/
Dosi.cc277 bool fixed_queue_is_empty(fixed_queue_t* queue) { in fixed_queue_is_empty() function
/packages/modules/Bluetooth/system/stack/avdt/
Davdt_ccb_act.cc848 else if (!fixed_queue_is_empty(p_ccb->rsp_q)) { in avdt_ccb_snd_msg()
/packages/modules/Bluetooth/system/stack/avct/
Davct_lcb_act.cc507 if (!p_lcb->cong && !fixed_queue_is_empty(p_lcb->tx_q)) { in avct_lcb_cong_ind()
/packages/modules/Bluetooth/system/stack/rfcomm/
Dport_api.cc718 if (fixed_queue_is_empty(p_port->rx.queue)) { in PORT_ReadData()
Drfc_port_fsm.cc527 if (!fixed_queue_is_empty(p_port->rx.queue)) { in rfc_port_sm_opened()
/packages/modules/Bluetooth/system/stack/bnep/
Dbnep_utils.cc154 while (!fixed_queue_is_empty(p_bcb->xmit_q)) { in bnepu_release_bcb()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sec.cc5117 if (fixed_queue_is_empty(btm_sec_cb.sec_pending_q)) return; in btm_sec_check_pending_enc_req()