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.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/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()
425 (!list_is_empty(alarms) && list_front(alarms) == alarm); in schedule_next_instance()
437 if (list_is_empty(alarms) || in schedule_next_instance()
455 (!list_is_empty(alarms) && list_front(alarms) == alarm)) { in schedule_next_instance()
472 if (list_is_empty(alarms)) goto done; in reschedule_root_alarm()
636 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.cc404 while (!list_is_empty(p_lcb->link_xmit_data_q)) { in l2c_link_hci_disc_comp()
765 (!list_is_empty(p_lcb->link_xmit_data_q)) && in l2c_link_adjust_allocation()
926 if (list_is_empty(p_lcb->link_xmit_data_q)) { in l2c_link_check_power_mode()
1021 if (!list_is_empty(p_lcb->link_xmit_data_q)) { in l2c_link_check_send_pkts()
1063 if (list_is_empty(p_lcb->link_xmit_data_q)) break; in l2c_link_check_send_pkts()
1088 if ((!list_is_empty(p_lcb->link_xmit_data_q)) && in l2c_link_check_send_pkts()
Dl2c_main.cc824 if (list_is_empty(l2cb.rcv_pending_q)) return; in l2c_process_held_packets()
846 if (!list_is_empty(l2cb.rcv_pending_q)) { in l2c_process_held_packets()
Dl2cap_client.cc427 while (!list_is_empty(client->outbound_fragments)) { in dispatch_fragments()
Dl2c_ble.cc906 (!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.cc822 while (!list_is_empty(slot->incoming_queue)) { in flush_incoming_que_on_wr_signal()
905 if (list_is_empty(slot->incoming_queue)) { in bta_co_rfc_data_incoming()
Dbtif_hl.cc4377 if (list_is_empty(soc_queue)) in btif_hl_select_monitor_callback()
Dbtif_rc.cc3071 if (list_is_empty(p_dev->rc_supported_event_list)) { in handle_get_capability_response()
/system/bt/hci/src/
Dhci_layer.cc690 if (list_is_empty(commands_pending_response)) { in update_command_response_timer()
/system/bt/bta/av/
Dbta_av_aact.cc1948 while (!list_is_empty(p_scb->a2dp_list)) { in bta_av_str_stopped()
2113 if (!list_is_empty(p_scb->a2dp_list)) { in bta_av_data_path()
Dbta_av_act.cc2119 while (!list_is_empty(p_scb->a2dp_list)) { in bta_av_dereg_comp()