Searched refs:allowedCarriers (Results 1 – 1 of 1) sorted by relevance
3152 RIL_Carrier *allowedCarriers = NULL; in prepareCarrierRestrictions() local3156 allowedCarriers = (RIL_Carrier *)calloc(request.len_allowed_carriers, sizeof(RIL_Carrier)); in prepareCarrierRestrictions()3157 if (allowedCarriers == NULL) { in prepareCarrierRestrictions()3163 request.allowed_carriers = allowedCarriers; in prepareCarrierRestrictions()3172 memset(allowedCarriers, 0, request.len_allowed_carriers * sizeof(RIL_Carrier)); in prepareCarrierRestrictions()3174 free(allowedCarriers); in prepareCarrierRestrictions()3180 allowedCarriers[i].mcc = allowedList[i].mcc.c_str(); in prepareCarrierRestrictions()3181 allowedCarriers[i].mnc = allowedList[i].mnc.c_str(); in prepareCarrierRestrictions()3182 allowedCarriers[i].match_type = (RIL_CarrierMatchType) allowedList[i].matchType; in prepareCarrierRestrictions()3183 allowedCarriers[i].match_data = allowedList[i].matchData.c_str(); in prepareCarrierRestrictions()[all …]