Home
last modified time | relevance | path

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

/system/bt/device/src/
Dinterop.cc64 const size_t db_size = in interop_match_name() local
66 for (size_t i = 0; i != db_size; ++i) { in interop_match_name()
177 const size_t db_size = in interop_match_fixed_() local
179 for (size_t i = 0; i != db_size; ++i) { in interop_match_fixed_()
/system/bt/stack/test/fuzzers/sdp/
DsdpFuzzFunctions.h52 uint32_t db_size =
55 reinterpret_cast<tSDP_DISCOVERY_DB*>(malloc(db_size)), free);
58 p_db.get(), db_size, uuid_list.size(), uuid_list.data(),
294 uint32_t db_size =
297 reinterpret_cast<tSDP_DISCOVERY_DB*>(malloc(db_size)), free);
299 SDP_DiDiscover(remote_device, p_db.get(), db_size,
/system/bt/bta/gatt/
Dbta_gattc_cache.cc780 size_t db_size = 0; in bta_gattc_get_db_size() local
787 db_size++; in bta_gattc_get_db_size()
790 db_size++; in bta_gattc_get_db_size()
792 db_size += charac.descriptors.size(); in bta_gattc_get_db_size()
795 db_size += service.included_services.size(); in bta_gattc_get_db_size()
798 return db_size; in bta_gattc_get_db_size()
830 size_t db_size = bta_gattc_get_db_size(p_srvc_cb->gatt_database.Services(), in bta_gattc_get_gatt_db_impl() local
833 void* buffer = osi_malloc(db_size * sizeof(btgatt_db_element_t)); in bta_gattc_get_gatt_db_impl()
880 *count = db_size; in bta_gattc_get_gatt_db_impl()
/system/bt/stack/gatt/
Dgatt_api.cc104 int db_size = 0; in compute_service_size() local
112 db_size += 1; in compute_service_size()
114 db_size += 2; in compute_service_size()
117 if (el->properties & GATT_CHAR_PROP_BIT_EXT_PROP) db_size++; in compute_service_size()
122 return db_size; in compute_service_size()