Home
last modified time | relevance | path

Searched refs:list_is_empty (Results 1 – 15 of 15) sorted by relevance

/system/bt/osi/test/
Dlist_test.cc25 EXPECT_TRUE(list_is_empty(list)); in TEST_F()
38 EXPECT_FALSE(list_is_empty(list)); in TEST_F()
46 EXPECT_FALSE(list_is_empty(list)); in TEST_F()
55 EXPECT_TRUE(list_is_empty(list)); in TEST_F()
65 EXPECT_FALSE(list_is_empty(list)); in TEST_F()
99 EXPECT_TRUE(list_is_empty(list)); in TEST_F()
/system/bt/osi/test/fuzzers/list/
Dfuzz_list.cc58 if (list == nullptr || list_is_empty(list)) { in getArbitraryNode()
106 list_is_empty(list); in callArbitraryFunction()
129 if (list != nullptr && !list_is_empty(list)) { in callArbitraryFunction()
136 if (list != nullptr && !list_is_empty(list)) { in callArbitraryFunction()
143 if (list != nullptr && !list_is_empty(list)) { in callArbitraryFunction()
/system/bt/osi/src/
Dlist.cc46 bool list_is_empty(const list_t* list) { in list_is_empty() function
70 CHECK(!list_is_empty(list)); in list_front()
77 CHECK(!list_is_empty(list)); in list_back()
84 CHECK(!list_is_empty(list)); in list_back_node()
142 if (list_is_empty(list)) return false; in list_remove()
Dfixed_queue.cc100 return list_is_empty(queue->list); in fixed_queue_is_empty()
183 return list_is_empty(queue->list) ? NULL : list_front(queue->list); in fixed_queue_try_peek_first()
190 return list_is_empty(queue->list) ? NULL : list_back(queue->list); in fixed_queue_try_peek_last()
Dalarm.cc264 (!list_is_empty(alarms) && list_front(alarms) == alarm); in alarm_cancel_internal()
422 (!list_is_empty(alarms) && list_front(alarms) == alarm); in schedule_next_instance()
434 if (list_is_empty(alarms) || in schedule_next_instance()
452 (!list_is_empty(alarms) && list_front(alarms) == alarm)) { in schedule_next_instance()
469 if (list_is_empty(alarms)) goto done; in reschedule_root_alarm()
632 if (list_is_empty(alarms) || in callback_dispatch()
/system/bt/osi/include/
Dlist.h52 bool list_is_empty(const list_t* list);
/system/bt/stack/l2cap/
Dl2c_link.cc410 while (!list_is_empty(p_lcb->link_xmit_data_q)) { in l2c_link_hci_disc_comp()
775 (!list_is_empty(p_lcb->link_xmit_data_q)) && in l2c_link_adjust_allocation()
936 if (list_is_empty(p_lcb->link_xmit_data_q)) { in l2c_link_check_power_mode()
1031 if (!list_is_empty(p_lcb->link_xmit_data_q)) { in l2c_link_check_send_pkts()
1073 if (list_is_empty(p_lcb->link_xmit_data_q)) break; in l2c_link_check_send_pkts()
1098 if ((!list_is_empty(p_lcb->link_xmit_data_q)) && in l2c_link_check_send_pkts()
Dl2c_main.cc825 if (list_is_empty(l2cb.rcv_pending_q)) return; in l2c_process_held_packets()
847 if (!list_is_empty(l2cb.rcv_pending_q)) { in l2c_process_held_packets()
Dl2c_ble.cc909 (!list_is_empty(p_lcb->link_xmit_data_q)) && in l2c_ble_link_adjust_allocation()
Dl2c_utils.cc190 while (!list_is_empty(p_lcb->link_xmit_data_q)) { in l2cu_release_lcb()
/system/bt/btif/src/
Dbtif_sock_rfc.cc820 while (!list_is_empty(slot->incoming_queue)) { in flush_incoming_que_on_wr_signal()
903 if (list_is_empty(slot->incoming_queue)) { in bta_co_rfc_data_incoming()
Dbtif_rc.cc3192 if (list_is_empty(p_dev->rc_supported_event_list)) { in handle_get_capability_response()
/system/bt/hci/src/
Dhci_layer.cc780 if (list_is_empty(commands_pending_response)) { in update_command_response_timer()
/system/bt/bta/av/
Dbta_av_aact.cc1967 while (!list_is_empty(p_scb->a2dp_list)) { in bta_av_str_stopped()
2134 if (!list_is_empty(p_scb->a2dp_list)) { in bta_av_data_path()
Dbta_av_act.cc2266 while (!list_is_empty(p_scb->a2dp_list)) { in bta_av_dereg_comp()