Lines Matching refs:allowedCarriers

2682     RIL_Carrier *allowedCarriers = NULL;  in setAllowedCarriers()  local
2685 cr.len_allowed_carriers = carriers.allowedCarriers.size(); in setAllowedCarriers()
2686 allowedCarriers = (RIL_Carrier *)calloc(cr.len_allowed_carriers, sizeof(RIL_Carrier)); in setAllowedCarriers()
2687 if (allowedCarriers == NULL) { in setAllowedCarriers()
2693 cr.allowed_carriers = allowedCarriers; in setAllowedCarriers()
2702 memset(allowedCarriers, 0, cr.len_allowed_carriers * sizeof(RIL_Carrier)); in setAllowedCarriers()
2704 free(allowedCarriers); in setAllowedCarriers()
2710 allowedCarriers[i].mcc = carriers.allowedCarriers[i].mcc.c_str(); in setAllowedCarriers()
2711 allowedCarriers[i].mnc = carriers.allowedCarriers[i].mnc.c_str(); in setAllowedCarriers()
2712allowedCarriers[i].match_type = (RIL_CarrierMatchType) carriers.allowedCarriers[i].matchType; in setAllowedCarriers()
2713 allowedCarriers[i].match_data = carriers.allowedCarriers[i].matchData.c_str(); in setAllowedCarriers()
2727 memset(allowedCarriers, 0, cr.len_allowed_carriers * sizeof(RIL_Carrier)); in setAllowedCarriers()
2730 free(allowedCarriers); in setAllowedCarriers()
6507 carrierInfo.allowedCarriers.resize(0); in getAllowedCarriersResponse()
6518 carrierInfo.allowedCarriers.resize(pCr->len_allowed_carriers); in getAllowedCarriersResponse()
6521 carrierInfo.allowedCarriers[i].mcc = convertCharPtrToHidlString(carrier->mcc); in getAllowedCarriersResponse()
6522 carrierInfo.allowedCarriers[i].mnc = convertCharPtrToHidlString(carrier->mnc); in getAllowedCarriersResponse()
6523 carrierInfo.allowedCarriers[i].matchType = (CarrierMatchType) carrier->match_type; in getAllowedCarriersResponse()
6524 carrierInfo.allowedCarriers[i].matchData = in getAllowedCarriersResponse()