Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_gatt_multi_adv_util.c57 int max_adv_inst = BTM_BleMaxMultiAdvInstanceCount(); in btif_obtain_multi_adv_data_cb() local
58 if (0 == max_adv_inst) in btif_obtain_multi_adv_data_cb()
59 max_adv_inst = 1; in btif_obtain_multi_adv_data_cb()
61 BTIF_TRACE_DEBUG("%s, Count:%d", __FUNCTION__, max_adv_inst); in btif_obtain_multi_adv_data_cb()
68 osi_calloc((max_adv_inst * INST_ID_IDX_MAX) * sizeof(INT8)); in btif_obtain_multi_adv_data_cb()
71 osi_calloc((max_adv_inst + 1) * sizeof(btgatt_multi_adv_inst_cb)); in btif_obtain_multi_adv_data_cb()
73 for (int i = 0; i < max_adv_inst * 2; i += 2) { in btif_obtain_multi_adv_data_cb()