Home
last modified time | relevance | path

Searched refs:db_size (Results 1 – 2 of 2) sorted by relevance

/system/bt/device/src/
Dinterop.c60 const size_t db_size = sizeof(interop_name_database) / sizeof(interop_name_entry_t); in interop_match_name() local
61 for (size_t i = 0; i != db_size; ++i) { in interop_match_name()
154 const size_t db_size = sizeof(interop_addr_database) / sizeof(interop_addr_entry_t); in interop_match_fixed_() local
155 for (size_t i = 0; i != db_size; ++i) { in interop_match_fixed_()
/system/bt/bta/gatt/
Dbta_gattc_cache.c1149 size_t db_size = 0; in bta_gattc_get_db_size() local
1161 db_size++; in bta_gattc_get_db_size()
1168 db_size++; in bta_gattc_get_db_size()
1171 db_size += list_length(p_char->descriptors); in bta_gattc_get_db_size()
1175 db_size += list_length(p_cur_srvc->included_svc); in bta_gattc_get_db_size()
1179 return db_size; in bta_gattc_get_db_size()
1211 size_t db_size = bta_gattc_get_db_size(p_srvc_cb->p_srvc_cache, start_handle, end_handle); in bta_gattc_get_gatt_db_impl() local
1213 void* buffer = osi_malloc(db_size * sizeof(btgatt_db_element_t)); in bta_gattc_get_gatt_db_impl()
1294 *count = db_size; in bta_gattc_get_gatt_db_impl()
1430 size_t db_size = bta_gattc_get_db_size(p_srvc_cb->p_srvc_cache, 0x0000, 0xFFFF); in bta_gattc_cache_save() local
[all …]