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.cc383 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2c_fcr_is_flow_controlled()
724 if (fixed_queue_is_empty(p_ccb->fcrb.waiting_for_ack_q)) in l2c_fcr_proc_pdu()
752 (!fixed_queue_is_empty(p_ccb->fcrb.srej_rcv_hold_q))) { in l2c_fcr_proc_pdu()
800 if ((!fixed_queue_is_empty(p_ccb->fcrb.retrans_q) || in l2c_fcr_proc_pdu()
801 !fixed_queue_is_empty(p_ccb->xmit_hold_q)) && in l2c_fcr_proc_pdu()
987 if (!fixed_queue_is_empty(p_fcrb->waiting_for_ack_q)) in process_reqseq()
1042 if (fixed_queue_is_empty(p_fcrb->waiting_for_ack_q) && in process_reqseq()
1043 fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in process_reqseq()
1053 if (!fixed_queue_is_empty(p_fcrb->waiting_for_ack_q)) in process_reqseq()
1261 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()
3128 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
3135 if (fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) { in l2cu_get_next_channel_in_rr()
3136 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
3144 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel_in_rr()
3197 if (!fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) return p_ccb; in l2cu_get_next_channel()
3199 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_channel()
3248 if (fixed_queue_is_empty(p_ccb->fcrb.retrans_q)) { in l2cu_get_next_buffer_to_send()
3249 if (fixed_queue_is_empty(p_ccb->xmit_hold_q)) continue; in l2cu_get_next_buffer_to_send()
3264 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2cu_get_next_buffer_to_send()
Dl2c_ble.cc1163 if (!fixed_queue_is_empty(p_lcb->le_sec_pending_q)) { in l2cble_sec_comp()
1200 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.cc939 if (!fixed_queue_is_empty(p_ccb->xmit_hold_q)) { in l2c_link_check_power_mode()
Dl2c_api.cc1879 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/osi/test/fuzzers/fixed_queue/
Dfuzz_fixed_queue.cc92 fixed_queue_is_empty(fixed_queue); in callArbitraryFunction()
/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.cc535 if (fixed_queue_is_empty(btif_a2dp_sink_cb.rx_audio_queue)) { in btif_a2dp_sink_avk_handle_timer()
679 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/stack/btm/
Dbtm_pm.cc908 if (btm_cb.is_paging || (!fixed_queue_is_empty(btm_cb.page_queue)) || in btm_pm_device_in_scan_state()
Dbtm_sec.cc5541 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/
Dport_api.cc701 if (fixed_queue_is_empty(p_port->rx.queue)) return (PORT_SUCCESS); in PORT_ReadData()
Drfc_port_fsm.cc471 if (!fixed_queue_is_empty(p_port->rx.queue)) { in rfc_port_sm_opened()
/system/bt/stack/bnep/
Dbnep_utils.cc151 while (!fixed_queue_is_empty(p_bcb->xmit_q)) { in bnepu_release_bcb()