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.c51 int max_adv_inst = BTM_BleMaxMultiAdvInstanceCount(); in btif_obtain_multi_adv_data_cb() local
52 if (0 == max_adv_inst) in btif_obtain_multi_adv_data_cb()
53 max_adv_inst = 1; in btif_obtain_multi_adv_data_cb()
55 BTIF_TRACE_DEBUG("%s, Count:%d", __FUNCTION__, max_adv_inst); in btif_obtain_multi_adv_data_cb()
66 GKI_getbuf(( max_adv_inst * INST_ID_IDX_MAX)* sizeof(INT8)); in btif_obtain_multi_adv_data_cb()
68 ( max_adv_inst * INST_ID_IDX_MAX)* sizeof(INT8)); in btif_obtain_multi_adv_data_cb()
70 p_multi_adv_com_data_cb->inst_cb = GKI_getbuf(( max_adv_inst + 1 ) in btif_obtain_multi_adv_data_cb()
73 ( max_adv_inst + 1) * sizeof(btgatt_multi_adv_inst_cb)); in btif_obtain_multi_adv_data_cb()
75 for (int i=0; i < max_adv_inst * 2; i += 2) in btif_obtain_multi_adv_data_cb()