Lines Matching refs:dataProfiles
2313 void freeSetDataProfileData(int numProfiles, T *dataProfiles, T **dataProfilePtrs, in freeSetDataProfileData() argument
2324 memsetAndFreeStrings(1, dataProfiles[j].*ptr); in freeSetDataProfileData()
2331 memset(dataProfiles, 0, numProfiles * sizeof(T)); in freeSetDataProfileData()
2334 free(dataProfiles); in freeSetDataProfileData()
2353 RIL_DataProfileInfo *dataProfiles = in setDataProfile() local
2356 if (dataProfiles == NULL) { in setDataProfile()
2368 free(dataProfiles); in setDataProfile()
2374 dataProfilePtrs[i] = &dataProfiles[i]; in setDataProfile()
2376 success = copyHidlStringToRil(&dataProfiles[i].apn, profiles[i].apn, pRI); in setDataProfile()
2381 if (success && !copyHidlStringToRil(&dataProfiles[i].protocol, protocol, pRI)) { in setDataProfile()
2385 if (success && !copyHidlStringToRil(&dataProfiles[i].user, profiles[i].user, pRI)) { in setDataProfile()
2388 if (success && !copyHidlStringToRil(&dataProfiles[i].password, profiles[i].password, in setDataProfile()
2394 freeSetDataProfileData(num, dataProfiles, dataProfilePtrs, 4, in setDataProfile()
2400 dataProfiles[i].profileId = (RIL_DataProfile) profiles[i].profileId; in setDataProfile()
2401 dataProfiles[i].authType = (int) profiles[i].authType; in setDataProfile()
2402 dataProfiles[i].type = (int) profiles[i].type; in setDataProfile()
2403 dataProfiles[i].maxConnsTime = profiles[i].maxConnsTime; in setDataProfile()
2404 dataProfiles[i].maxConns = profiles[i].maxConns; in setDataProfile()
2405 dataProfiles[i].waitTime = profiles[i].waitTime; in setDataProfile()
2406 dataProfiles[i].enabled = BOOL_TO_INT(profiles[i].enabled); in setDataProfile()
2412 freeSetDataProfileData(num, dataProfiles, dataProfilePtrs, 4, in setDataProfile()
2416 RIL_DataProfileInfo_v15 *dataProfiles = in setDataProfile() local
2419 if (dataProfiles == NULL) { in setDataProfile()
2431 free(dataProfiles); in setDataProfile()
2437 dataProfilePtrs[i] = &dataProfiles[i]; in setDataProfile()
2439 success = copyHidlStringToRil(&dataProfiles[i].apn, profiles[i].apn, pRI); in setDataProfile()
2440 if (success && !copyHidlStringToRil(&dataProfiles[i].protocol, profiles[i].protocol, in setDataProfile()
2444 if (success && !copyHidlStringToRil(&dataProfiles[i].roamingProtocol, in setDataProfile()
2448 if (success && !copyHidlStringToRil(&dataProfiles[i].user, profiles[i].user, pRI)) { in setDataProfile()
2451 if (success && !copyHidlStringToRil(&dataProfiles[i].password, profiles[i].password, in setDataProfile()
2456 if (success && !copyHidlStringToRil(&dataProfiles[i].mvnoMatchData, in setDataProfile()
2462 dataProfiles[i].mvnoType)) { in setDataProfile()
2468 freeSetDataProfileData(num, dataProfiles, dataProfilePtrs, 6, in setDataProfile()
2475 dataProfiles[i].profileId = (RIL_DataProfile) profiles[i].profileId; in setDataProfile()
2476 dataProfiles[i].authType = (int) profiles[i].authType; in setDataProfile()
2477 dataProfiles[i].type = (int) profiles[i].type; in setDataProfile()
2478 dataProfiles[i].maxConnsTime = profiles[i].maxConnsTime; in setDataProfile()
2479 dataProfiles[i].maxConns = profiles[i].maxConns; in setDataProfile()
2480 dataProfiles[i].waitTime = profiles[i].waitTime; in setDataProfile()
2481 dataProfiles[i].enabled = BOOL_TO_INT(profiles[i].enabled); in setDataProfile()
2482 dataProfiles[i].supportedTypesBitmask = profiles[i].supportedApnTypesBitmap; in setDataProfile()
2483 dataProfiles[i].bearerBitmask = profiles[i].bearerBitmap; in setDataProfile()
2484 dataProfiles[i].mtu = profiles[i].mtu; in setDataProfile()
2490 freeSetDataProfileData(num, dataProfiles, dataProfilePtrs, 6, in setDataProfile()