Lines Matching refs:rcsm
1716 void constructCdmaSms(RIL_CDMA_SMS_Message &rcsm, const CdmaSmsMessage& sms) { in constructCdmaSms() argument
1717 rcsm.uTeleserviceID = sms.teleserviceId; in constructCdmaSms()
1718 rcsm.bIsServicePresent = BOOL_TO_INT(sms.isServicePresent); in constructCdmaSms()
1719 rcsm.uServicecategory = sms.serviceCategory; in constructCdmaSms()
1720 rcsm.sAddress.digit_mode = (RIL_CDMA_SMS_DigitMode) sms.address.digitMode; in constructCdmaSms()
1721 rcsm.sAddress.number_mode = (RIL_CDMA_SMS_NumberMode) sms.address.numberMode; in constructCdmaSms()
1722 rcsm.sAddress.number_type = (RIL_CDMA_SMS_NumberType) sms.address.numberType; in constructCdmaSms()
1723 rcsm.sAddress.number_plan = (RIL_CDMA_SMS_NumberPlan) sms.address.numberPlan; in constructCdmaSms()
1725 rcsm.sAddress.number_of_digits = sms.address.digits.size(); in constructCdmaSms()
1726 int digitLimit= MIN((rcsm.sAddress.number_of_digits), RIL_CDMA_SMS_ADDRESS_MAX); in constructCdmaSms()
1728 rcsm.sAddress.digits[i] = sms.address.digits[i]; in constructCdmaSms()
1731 rcsm.sSubAddress.subaddressType = (RIL_CDMA_SMS_SubaddressType) sms.subAddress.subaddressType; in constructCdmaSms()
1732 rcsm.sSubAddress.odd = BOOL_TO_INT(sms.subAddress.odd); in constructCdmaSms()
1734 rcsm.sSubAddress.number_of_digits = sms.subAddress.digits.size(); in constructCdmaSms()
1735 digitLimit= MIN((rcsm.sSubAddress.number_of_digits), RIL_CDMA_SMS_SUBADDRESS_MAX); in constructCdmaSms()
1737 rcsm.sSubAddress.digits[i] = sms.subAddress.digits[i]; in constructCdmaSms()
1740 rcsm.uBearerDataLen = sms.bearerData.size(); in constructCdmaSms()
1741 digitLimit= MIN((rcsm.uBearerDataLen), RIL_CDMA_SMS_BEARER_DATA_MAX); in constructCdmaSms()
1743 rcsm.aBearerData[i] = sms.bearerData[i]; in constructCdmaSms()
1756 RIL_CDMA_SMS_Message rcsm = {}; in sendCdmaSms() local
1757 constructCdmaSms(rcsm, sms); in sendCdmaSms()
1759 CALL_ONREQUEST(pRI->pCI->requestNumber, &rcsm, sizeof(rcsm), pRI, mSlotId); in sendCdmaSms()