Home
last modified time | relevance | path

Searched refs:list_is_empty (Results 1 – 18 of 18) 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.cc236 (!list_is_empty(alarms) && list_front(alarms) == alarm); in alarm_cancel_internal()
387 (!list_is_empty(alarms) && list_front(alarms) == alarm); in schedule_next_instance()
398 if (list_is_empty(alarms) || in schedule_next_instance()
416 (!list_is_empty(alarms) && list_front(alarms) == alarm)) { in schedule_next_instance()
433 if (list_is_empty(alarms)) goto done; in reschedule_root_alarm()
599 if (list_is_empty(alarms) || in callback_dispatch()
/system/bt/btif/src/
Dbtif_profile_queue.cc92 if (connect_queue && !list_is_empty(connect_queue)) in queue_int_advance()
151 if (!connect_queue || list_is_empty(connect_queue)) return BT_STATUS_FAIL; in btif_queue_connect_next()
Dbtif_sock_rfc.cc785 while (!list_is_empty(slot->incoming_queue)) { in flush_incoming_que_on_wr_signal()
868 if (list_is_empty(slot->incoming_queue)) { in bta_co_rfc_data_incoming()
Dbtif_hl.cc4436 if (list_is_empty(soc_queue)) in btif_hl_select_monitor_callback()
/system/bt/bta/gatt/
Dbta_gattc_cache.cc322 list_is_empty(service->characteristics)) { in bta_gattc_add_attr_to_cache()
935 list_is_empty(p_clcb->p_srcb->p_srvc_cache)) in bta_gattc_search_service()
963 if (!p_srcb || !p_srcb->p_srvc_cache || list_is_empty(p_srcb->p_srvc_cache)) in bta_gattc_get_services_srcb()
981 if (!services || list_is_empty(services)) return NULL; in bta_gattc_find_matching_service()
1096 if (!services || list_is_empty(services)) return 0; in bta_gattc_get_db_size()
1110 list_is_empty(p_cur_srvc->characteristics)) in bta_gattc_get_db_size()
1152 if (!p_srvc_cb->p_srvc_cache || list_is_empty(p_srvc_cb->p_srvc_cache)) { in bta_gattc_get_gatt_db_impl()
1180 list_is_empty(p_cur_srvc->characteristics)) in bta_gattc_get_gatt_db_impl()
1194 if (!p_char->descriptors || list_is_empty(p_char->descriptors)) continue; in bta_gattc_get_gatt_db_impl()
1208 if (!p_cur_srvc->included_svc || list_is_empty(p_cur_srvc->included_svc)) in bta_gattc_get_gatt_db_impl()
[all …]
/system/bt/osi/include/
Dlist.h52 bool list_is_empty(const list_t* list);
/system/bt/stack/l2cap/
Dl2c_link.cc401 while (!list_is_empty(p_lcb->link_xmit_data_q)) { in l2c_link_hci_disc_comp()
757 (!list_is_empty(p_lcb->link_xmit_data_q)) && in l2c_link_adjust_allocation()
918 if (list_is_empty(p_lcb->link_xmit_data_q)) { in l2c_link_check_power_mode()
1013 if (!list_is_empty(p_lcb->link_xmit_data_q)) { in l2c_link_check_send_pkts()
1054 if (list_is_empty(p_lcb->link_xmit_data_q)) break; in l2c_link_check_send_pkts()
1078 if ((!list_is_empty(p_lcb->link_xmit_data_q)) && in l2c_link_check_send_pkts()
Dl2c_main.cc727 if (list_is_empty(l2cb.rcv_pending_q)) return; in l2c_process_held_packets()
749 if (!list_is_empty(l2cb.rcv_pending_q)) { in l2c_process_held_packets()
Dl2cap_client.cc429 while (!list_is_empty(client->outbound_fragments)) { in dispatch_fragments()
Dl2c_ble.cc1086 (!list_is_empty(p_lcb->link_xmit_data_q)) && in l2c_ble_link_adjust_allocation()
Dl2c_utils.cc187 while (!list_is_empty(p_lcb->link_xmit_data_q)) { in l2cu_release_lcb()
/system/bt/hci/src/
Dhci_layer.cc664 if (list_is_empty(commands_pending_response)) { in update_command_response_timer()
/system/bt/bta/av/
Dbta_av_aact.cc1965 while (!list_is_empty(p_scb->a2dp_list)) { in bta_av_str_stopped()
2116 if (!list_is_empty(p_scb->a2dp_list)) { in bta_av_data_path()
Dbta_av_act.cc2072 while (!list_is_empty(p_scb->a2dp_list)) { in bta_av_dereg_comp()
/system/bt/bta/hh/
Dbta_hh_le.cc595 if (!p_char->descriptors || list_is_empty(p_char->descriptors)) return NULL; in find_descriptor_by_short_uuid()