Home
last modified time | relevance | path

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

/system/bt/osi/test/
Dlist_test.cpp25 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()
102 EXPECT_TRUE(list_is_empty(list)); in TEST_F()
/system/bt/osi/src/
Dalarm.c182 bool needs_reschedule = (!list_is_empty(alarms) && list_front(alarms) == alarm); in alarm_cancel()
272 bool needs_reschedule = (!list_is_empty(alarms) && list_front(alarms) == alarm); in schedule_next_instance()
282 if (list_is_empty(alarms) || ((alarm_t *)list_front(alarms))->deadline >= alarm->deadline) in schedule_next_instance()
294 …if (force_reschedule || needs_reschedule || (!list_is_empty(alarms) && list_front(alarms) == alarm… in schedule_next_instance()
307 if (list_is_empty(alarms)) in reschedule_root_alarm()
376 if (list_is_empty(alarms) || (alarm = list_front(alarms))->deadline > now()) { in callback_dispatch()
Dlist.c46 bool list_is_empty(const list_t *list) { in list_is_empty() function
70 assert(!list_is_empty(list)); in list_front()
77 assert(!list_is_empty(list)); in list_back()
140 if (list_is_empty(list)) in list_remove()
Dfixed_queue.c92 bool is_empty = list_is_empty(queue->list); in fixed_queue_is_empty()
168 void *ret = list_is_empty(queue->list) ? NULL : list_front(queue->list); in fixed_queue_try_peek()
/system/bt/btif/src/
Dbtif_profile_queue.c91 if (connect_queue && !list_is_empty(connect_queue)) in queue_int_advance()
149 if (!connect_queue || list_is_empty(connect_queue)) in btif_queue_connect_next()
Dbtif_sock_rfc.c744 while (!list_is_empty(slot->incoming_queue)) { in flush_incoming_que_on_wr_signal()
823 if (list_is_empty(slot->incoming_queue)) { in bta_co_rfc_data_incoming()
Dbtif_hl.c4814 if (list_is_empty(soc_queue)) in btif_hl_select_monitor_callback()
/system/bt/osi/include/
Dlist.h29 bool list_is_empty(const list_t *list);
/system/bt/stack/l2cap/
Dl2c_link.c436 while (!list_is_empty(p_lcb->link_xmit_data_q)) in l2c_link_hci_disc_comp()
816 && (!list_is_empty(p_lcb->link_xmit_data_q)) in l2c_link_adjust_allocation()
1062 if (list_is_empty(p_lcb->link_xmit_data_q)) in l2c_link_check_power_mode()
1181 if (!list_is_empty(p_lcb->link_xmit_data_q)) { in l2c_link_check_send_pkts()
1232 if (list_is_empty(p_lcb->link_xmit_data_q)) in l2c_link_check_send_pkts()
1263 …if ( (!list_is_empty(p_lcb->link_xmit_data_q)) && (p_lcb->sent_not_acked < p_lcb->link_xmit_quota)… in l2c_link_check_send_pkts()
Dl2c_main.c814 if (list_is_empty(l2cb.rcv_pending_q)) in l2c_process_held_packets()
836 if (!list_is_empty(l2cb.rcv_pending_q)) in l2c_process_held_packets()
Dl2cap_client.c405 while (!list_is_empty(client->outbound_fragments)) { in dispatch_fragments()
Dl2c_ble.c934 && (!list_is_empty(p_lcb->link_xmit_data_q)) in l2c_ble_link_adjust_allocation()
Dl2c_utils.c207 while (!list_is_empty(p_lcb->link_xmit_data_q)) { in l2cu_release_lcb()
/system/bt/hci/src/
Dhci_layer.c470 … non_repeating_timer_restart_if(command_response_timer, !list_is_empty(commands_pending_response)); in event_command_ready()
509 if (list_is_empty(commands_pending_response)) { in command_timed_out()
675 non_repeating_timer_restart_if(command_response_timer, !list_is_empty(commands_pending_response)); in filter_incoming_event()
/system/bt/bta/av/
Dbta_av_aact.c2073 while (!list_is_empty(p_scb->a2d_list)) in bta_av_str_stopped()
2236 if (!list_is_empty(p_scb->a2d_list)) { in bta_av_data_path()
Dbta_av_act.c2003 while (!list_is_empty(p_scb->a2d_list)) { in bta_av_dereg_comp()