Home
last modified time | relevance | path

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

12

/aosp_15_r20/packages/modules/Bluetooth/system/osi/test/
Dfixed_queue_test.cc39 void* msg = fixed_queue_try_dequeue(queue); in fixed_queue_ready()
138 ASSERT_EQ(DUMMY_DATA_STRING, fixed_queue_try_dequeue(queue)); in TEST_F()
160 ASSERT_EQ(DUMMY_DATA_STRING, fixed_queue_try_dequeue(queue)); in TEST_F()
207 EXPECT_EQ(DUMMY_DATA_STRING, fixed_queue_try_dequeue(queue)); in TEST_F()
219 EXPECT_EQ(DUMMY_DATA_STRING, fixed_queue_try_dequeue(queue)); in TEST_F()
223 EXPECT_EQ(NULL, fixed_queue_try_dequeue(queue)); in TEST_F()
226 EXPECT_EQ(NULL, fixed_queue_try_dequeue(NULL)); in TEST_F()
/aosp_15_r20/packages/modules/Bluetooth/system/test/mock/
Dmock_osi_fixed_queue.cc47 struct fixed_queue_try_dequeue fixed_queue_try_dequeue; variable
108 void* fixed_queue_try_dequeue(fixed_queue_t* queue) { in fixed_queue_try_dequeue() function
110 return test::mock::osi_fixed_queue::fixed_queue_try_dequeue(queue); in fixed_queue_try_dequeue()
Dmock_osi_fixed_queue.h177 struct fixed_queue_try_dequeue { struct
183 extern struct fixed_queue_try_dequeue fixed_queue_try_dequeue; argument
/aosp_15_r20/packages/modules/Bluetooth/system/stack/avdt/
Davdt_ccb_act.cc71 while ((p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_ccb->rsp_q)) != NULL) { in avdt_ccb_clear_ccb()
665 p_ccb->p_curr_cmd = (BT_HDR*)fixed_queue_try_dequeue(p_ccb->cmd_q); in avdt_ccb_clear_cmds()
808 p_msg = (BT_HDR*)fixed_queue_try_dequeue(p_ccb->cmd_q); in avdt_ccb_snd_cmd()
838 while ((p_msg = (BT_HDR*)fixed_queue_try_dequeue(p_ccb->rsp_q)) != NULL) { in avdt_ccb_snd_msg()
/aosp_15_r20/packages/modules/Bluetooth/system/osi/test/fuzzers/fixed_queue/
Dfuzz_fixed_queue.cc34 void* msg = fixed_queue_try_dequeue(queue); in fqCb()
135 fixed_queue_try_dequeue(fixed_queue); in callArbitraryFunction()
/aosp_15_r20/packages/modules/Bluetooth/system/bta/pan/
Dbta_pan_act.cc392 while ((p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_scb->data_queue)) != NULL) { in bta_pan_disable()
527 while ((p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_scb->data_queue)) != NULL) { in bta_pan_conn_close()
577 BT_HDR* p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_scb->data_queue); in bta_pan_tx_path()
Dbta_pan_ci.cc54 p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_scb->data_queue); in bta_pan_ci_readbuf()
/aosp_15_r20/packages/modules/Bluetooth/system/stack/gap/
Dgap_conn.cc408 osi_free(fixed_queue_try_dequeue(p_ccb->rx_queue)); in GAP_ConnReadData()
458 while ((p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_ccb->tx_queue)) != NULL) { in gap_try_write_queued_data()
1091 osi_free(fixed_queue_try_dequeue(p_ccb->rx_queue)); in gap_release_ccb()
1097 osi_free(fixed_queue_try_dequeue(p_ccb->tx_queue)); in gap_release_ccb()
/aosp_15_r20/packages/modules/Bluetooth/system/osi/src/
Dthread.cc241 work_item_t* item = static_cast<work_item_t*>(fixed_queue_try_dequeue(thread->work_queue)); in run_thread()
245 item = static_cast<work_item_t*>(fixed_queue_try_dequeue(thread->work_queue)); in run_thread()
Dfixed_queue.cc103 void* data = fixed_queue_try_dequeue(queue); in fixed_queue_flush()
182 void* fixed_queue_try_dequeue(fixed_queue_t* queue) { in fixed_queue_try_dequeue() function
Dalarm.cc611 alarm_t* alarm = (alarm_t*)fixed_queue_try_dequeue(queue); in alarm_queue_ready()
/aosp_15_r20/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_fcr.cc618 while ((p_buf = (BT_HDR*)fixed_queue_try_dequeue(temp_q)) != NULL) { in l2c_fcr_proc_pdu()
881 BT_HDR* p_tmp = (BT_HDR*)fixed_queue_try_dequeue(p_fcrb->waiting_for_ack_q); in process_reqseq()
1325 osi_free(fixed_queue_try_dequeue(p_ccb->fcrb.retrans_q)); in retransmit_i_frames()
1383 p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_ccb->fcrb.retrans_q); in l2c_fcr_get_next_xmit_sdu_seg()
1433 p_xmit = (BT_HDR*)fixed_queue_try_dequeue(p_ccb->xmit_hold_q); in l2c_fcr_get_next_xmit_sdu_seg()
1545 p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_ccb->xmit_hold_q); in l2c_lcc_get_next_xmit_sdu_seg()
Dl2c_link.cc1320 p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_ccb->xmit_hold_q); in l2cu_get_next_buffer_to_send()
1369 p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_ccb->xmit_hold_q); in l2cu_get_next_buffer_to_send()
/aosp_15_r20/packages/modules/Bluetooth/system/btif/co/
Dbta_hh_co.cc203 p_ev = (struct uhid_event*)fixed_queue_try_dequeue(p_uhid->input_queue); in uhid_flush_input_queue()
427 context = (uint32_t*)fixed_queue_try_dequeue(p_uhid->get_rpt_id_queue); in uhid_read_inbound_event()
438 context = (uint32_t*)fixed_queue_try_dequeue(p_uhid->set_rpt_id_queue); in uhid_read_inbound_event()
1083 uint32_t* context = (uint32_t*)fixed_queue_try_dequeue(p_dev->uhid.set_rpt_id_queue); in bta_hh_co_set_rpt_rsp()
1161 uint32_t* context = (uint32_t*)fixed_queue_try_dequeue(p_dev->uhid.get_rpt_id_queue); in bta_hh_co_get_rpt_rsp()
/aosp_15_r20/packages/modules/Bluetooth/system/stack/rfcomm/
Dport_utils.cc207 while ((p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_port->rx.queue)) != nullptr) { in port_release_port()
212 while ((p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_port->tx.queue)) != nullptr) { in port_release_port()
Drfc_utils.cc428 BT_HDR* p = (BT_HDR*)fixed_queue_try_dequeue(p_mcb->cmd_q); in rfc_check_send_cmd()
Drfc_mx_fsm.cc520 while ((p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_mcb->cmd_q)) != NULL) { in rfc_mx_sm_state_disc_wait_ua()
Dport_rfc.cc941 p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_port->tx.queue); in port_rfc_send_tx_data()
/aosp_15_r20/packages/modules/Bluetooth/system/osi/include/
Dfixed_queue.h82 void* fixed_queue_try_dequeue(fixed_queue_t* queue);
/aosp_15_r20/packages/modules/Bluetooth/system/test/fake/
Dfake_osi.cc315 test::mock::osi_fixed_queue::fixed_queue_try_dequeue.body = [](fixed_queue_t* q) { in FakeOsi()
406 test::mock::osi_fixed_queue::fixed_queue_try_dequeue = {}; in ~FakeOsi()
/aosp_15_r20/packages/modules/Bluetooth/system/btif/src/
Dbtif_a2dp_sink.cc615 p_msg = (BT_HDR*)fixed_queue_try_dequeue(btif_a2dp_sink_cb.rx_audio_queue); in btif_a2dp_sink_avk_handle_timer()
743 osi_free(fixed_queue_try_dequeue(btif_a2dp_sink_cb.rx_audio_queue)); in btif_a2dp_sink_enqueue_buf()
Dbtif_a2dp_source.cc1018 void* p_data = fixed_queue_try_dequeue(btif_a2dp_source_cb.tx_audio_queue); in btif_a2dp_source_enqueue_callback()
1085 BT_HDR* p_buf = (BT_HDR*)fixed_queue_try_dequeue(btif_a2dp_source_cb.tx_audio_queue); in btif_a2dp_source_audio_readbuf()
/aosp_15_r20/packages/modules/Bluetooth/system/stack/bnep/
Dbnep_main.cc297 BT_HDR* p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_bcb->xmit_q); in bnep_congestion_ind()
/aosp_15_r20/packages/modules/Bluetooth/system/stack/avct/
Davct_lcb_act.cc503 while (!p_lcb->cong && (p_buf = (BT_HDR*)fixed_queue_try_dequeue(p_lcb->tx_q)) != NULL) { in avct_lcb_cong_ind()
/aosp_15_r20/packages/modules/Bluetooth/system/test/stub/
Dosi.cc314 void* fixed_queue_try_dequeue(fixed_queue_t* queue) { in fixed_queue_try_dequeue() function

12