Lines Matching refs:allowedCarriers

2706     RIL_Carrier *allowedCarriers = NULL;  in setAllowedCarriers()  local
2709 cr.len_allowed_carriers = carriers.allowedCarriers.size(); in setAllowedCarriers()
2710 allowedCarriers = (RIL_Carrier *)calloc(cr.len_allowed_carriers, sizeof(RIL_Carrier)); in setAllowedCarriers()
2711 if (allowedCarriers == NULL) { in setAllowedCarriers()
2717 cr.allowed_carriers = allowedCarriers; in setAllowedCarriers()
2726 memset(allowedCarriers, 0, cr.len_allowed_carriers * sizeof(RIL_Carrier)); in setAllowedCarriers()
2728 free(allowedCarriers); in setAllowedCarriers()
2734 allowedCarriers[i].mcc = carriers.allowedCarriers[i].mcc.c_str(); in setAllowedCarriers()
2735 allowedCarriers[i].mnc = carriers.allowedCarriers[i].mnc.c_str(); in setAllowedCarriers()
2736allowedCarriers[i].match_type = (RIL_CarrierMatchType) carriers.allowedCarriers[i].matchType; in setAllowedCarriers()
2737 allowedCarriers[i].match_data = carriers.allowedCarriers[i].matchData.c_str(); in setAllowedCarriers()
2751 memset(allowedCarriers, 0, cr.len_allowed_carriers * sizeof(RIL_Carrier)); in setAllowedCarriers()
2754 free(allowedCarriers); in setAllowedCarriers()
6564 carrierInfo.allowedCarriers.resize(0); in getAllowedCarriersResponse()
6575 carrierInfo.allowedCarriers.resize(pCr->len_allowed_carriers); in getAllowedCarriersResponse()
6578 carrierInfo.allowedCarriers[i].mcc = convertCharPtrToHidlString(carrier->mcc); in getAllowedCarriersResponse()
6579 carrierInfo.allowedCarriers[i].mnc = convertCharPtrToHidlString(carrier->mnc); in getAllowedCarriersResponse()
6580 carrierInfo.allowedCarriers[i].matchType = (CarrierMatchType) carrier->match_type; in getAllowedCarriersResponse()
6581 carrierInfo.allowedCarriers[i].matchData = in getAllowedCarriersResponse()