Home | History | Annotate | Download | only in src

Lines Matching defs:inst_id

65             /* Storing both client_if and inst_id details */
111 int btif_multi_adv_add_instid_map(int client_if, int inst_id, BOOLEAN gen_temp_instid)
125 // Write the final inst_id value obtained from stack layer
126 p_multi_adv_data_cb->clntif_map[i + (i + 1)] = inst_id;
133 //Store the passed in inst_id value
134 if (inst_id != INVALID_ADV_INST)
135 p_multi_adv_data_cb->clntif_map[i + (i + 1)] = inst_id;
155 if (inst_id != INVALID_ADV_INST)
156 p_multi_adv_data_cb->clntif_map[i + (i + 1)] = inst_id;
181 // Retrieve the existing inst_id for the client_if value
203 // Retrieve the array index for the inst_id value
493 // Clear both the inst_id and client_if values
507 void btif_gattc_cleanup_inst_cb(int inst_id)
511 if (inst_id < 0 || inst_id >= BTM_BleMaxMultiAdvInstanceCount())
518 if (inst_id > 0)
520 cbindex = btif_gattc_obtain_idx_for_datacb(inst_id, INST_ID_IDX);
524 if (STD_ADV_INSTID == inst_id)
528 if (inst_id != INVALID_ADV_INST)
530 BTIF_TRACE_DEBUG("Cleaning up multi_inst_cb for inst_id %d, cbindex %d", inst_id, cbindex);
532 p_multi_adv_data_cb->inst_cb[cbindex].inst_id = INVALID_ADV_INST;
617 int inst_id = btif_multi_adv_instid_for_clientif(client_if);
618 if (inst_id == INVALID_ADV_INST)
621 int cbindex = btif_gattc_obtain_idx_for_datacb(inst_id, INST_ID_IDX);