Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/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()
/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_fixed_queue.cc47 struct fixed_queue_is_empty fixed_queue_is_empty; variable
95 bool fixed_queue_is_empty(fixed_queue_t* queue) { in fixed_queue_is_empty() function
97 return test::mock::osi_fixed_queue::fixed_queue_is_empty(queue); in fixed_queue_is_empty()
Dmock_osi_fixed_queue.h147 struct fixed_queue_is_empty { struct
153 extern struct fixed_queue_is_empty fixed_queue_is_empty; argument
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_fcr.cc582 if (fixed_queue_is_empty(p_ccb->fcrb.waiting_for_ack_q)) in l2c_fcr_proc_pdu()
610 (!fixed_queue_is_empty(p_ccb->fcrb.srej_rcv_hold_q))) { in l2c_fcr_proc_pdu()
658 if ((!fixed_queue_is_empty(p_ccb->fcrb.retrans_q) || in l2c_fcr_proc_pdu()
659 !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.cc863 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2c_link_check_power_mode()
1279 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
1286 if (fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) { in l2cu_get_next_channel_in_rr()
1287 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->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
1352 if (fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) { in l2cu_get_next_buffer_to_send()
1353 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_buffer_to_send()
1368 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2cu_get_next_buffer_to_send()
Dl2c_csm.cc1098 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2c_csm_config()
1197 (!fixed_queue_is_empty(p_ccb->xmit_hold_q))) { in l2c_csm_config()
Dl2c_ble.cc1571 if (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) { in l2cble_sec_comp()
1608 while (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) { in l2cble_sec_comp()
Dl2c_api.cc1748 while ((num_to_flush != 0) && (!fixed_queue_is_empty(p_ccb->xmit_hold_q))) { in L2CA_FlushChannel()
Dl2c_utils.cc218 while (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) { in l2cu_release_lcb()
/packages/modules/Bluetooth/system/osi/src/
Dfixed_queue.cc89 while (!fixed_queue_is_empty(queue)) { in fixed_queue_flush()
97 bool fixed_queue_is_empty(fixed_queue_t* queue) { in fixed_queue_is_empty() function
/packages/modules/Bluetooth/system/test/fake/
Dfake_osi.cc296 test::mock::osi_fixed_queue::fixed_queue_is_empty.body = in FakeOsi()
312 if (q && !test::mock::osi_fixed_queue::fixed_queue_is_empty(q)) { in FakeOsi()
402 test::mock::osi_fixed_queue::fixed_queue_is_empty = {}; in ~FakeOsi()
/packages/modules/Bluetooth/system/osi/include/
Dfixed_queue.h53 bool fixed_queue_is_empty(fixed_queue_t* queue);
/packages/modules/Bluetooth/system/stack/gap/
Dgap_conn.cc369 if (fixed_queue_is_empty(p_ccb->rx_queue)) return (GAP_NO_DATA_AVAIL); in GAP_ConnReadData()
990 while (!fixed_queue_is_empty(p_ccb->rx_queue)) in gap_release_ccb()
995 while (!fixed_queue_is_empty(p_ccb->tx_queue)) in gap_release_ccb()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_utils.cc107 while (!fixed_queue_is_empty(p_tcb->pending_ind_q)) in gatt_free_pending_ind()
150 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()
300 if (fixed_queue_is_empty(p_tcb->pending_ind_q)) return false; in gatt_is_srv_chg_ind_pending()
328 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.cc140 while (!fixed_queue_is_empty(p_cmd->multi_rsp_q)) in gatt_dequeue_sr_cmd()
169 if (!fixed_queue_is_empty(p_cmd->multi_rsp_q)) in build_read_multi_rsp()
/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/btif/src/
Dbtif_a2dp_sink.cc550 if (fixed_queue_is_empty(btif_a2dp_sink_cb.rx_audio_queue)) { in btif_a2dp_sink_avk_handle_timer()
697 if (fixed_queue_is_empty(btif_a2dp_sink_cb.rx_audio_queue)) { in btif_a2dp_sink_audio_rx_flush_req()
/packages/modules/Bluetooth/system/stack/avct/
Davct_lcb_act.cc440 if (!p_lcb->cong && !fixed_queue_is_empty(p_lcb->tx_q)) { in avct_lcb_cong_ind()
/packages/modules/Bluetooth/system/test/stub/
Dosi.cc311 bool fixed_queue_is_empty(fixed_queue_t* queue) { in fixed_queue_is_empty() function
/packages/modules/Bluetooth/system/stack/acl/
Dbtm_pm.cc862 if (btm_cb.is_paging || !fixed_queue_is_empty(btm_cb.page_queue)) { in btm_pm_device_in_scan_state()
/packages/modules/Bluetooth/system/stack/avdt/
Davdt_ccb_act.cc845 else if (!fixed_queue_is_empty(p_ccb->rsp_q)) { in avdt_ccb_snd_msg()
/packages/modules/Bluetooth/system/stack/rfcomm/
Dport_api.cc757 if (fixed_queue_is_empty(p_port->rx.queue)) { in PORT_ReadData()
Drfc_port_fsm.cc528 if (!fixed_queue_is_empty(p_port->rx.queue)) { in rfc_port_sm_opened()
/packages/modules/Bluetooth/system/stack/bnep/
Dbnep_utils.cc153 while (!fixed_queue_is_empty(p_bcb->xmit_q)) { in bnepu_release_bcb()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sec.cc5013 if (fixed_queue_is_empty(btm_cb.sec_pending_q)) return; in btm_sec_check_pending_enc_req()