Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/stack/test/fuzzers/sdp/
DsdpFuzzFunctions.h57 uint32_t db_size =
60 reinterpret_cast<tSDP_DISCOVERY_DB*>(malloc(db_size)), free);
64 p_db.get(), db_size, uuid_list.size(), uuid_list.data(),
324 uint32_t db_size =
327 reinterpret_cast<tSDP_DISCOVERY_DB*>(malloc(db_size)), free);
331 remote_device, p_db.get(), db_size, &sdp_disc_cmpl_cb);
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_cache.cc922 size_t db_size = 0; in bta_gattc_get_db_size() local
929 db_size++; in bta_gattc_get_db_size()
932 db_size++; in bta_gattc_get_db_size()
934 db_size += charac.descriptors.size(); in bta_gattc_get_db_size()
937 db_size += service.included_services.size(); in bta_gattc_get_db_size()
940 return db_size; in bta_gattc_get_db_size()
971 size_t db_size = bta_gattc_get_db_size(p_srvc_cb->gatt_database.Services(), in bta_gattc_get_gatt_db_impl() local
974 void* buffer = osi_malloc(db_size * sizeof(btgatt_db_element_t)); in bta_gattc_get_gatt_db_impl()
1021 *count = db_size; in bta_gattc_get_gatt_db_impl()
/packages/modules/Bluetooth/system/stack/gatt/
Dgatt_api.cc103 int db_size = 0; in compute_service_size() local
111 db_size += 1; in compute_service_size()
113 db_size += 2; in compute_service_size()
116 if (el->properties & GATT_CHAR_PROP_BIT_EXT_PROP) db_size++; in compute_service_size()
121 return db_size; in compute_service_size()