Home | History | Annotate | Download | only in libril

Lines Matching refs:rcsm

886 constructCdmaSms(Parcel &p, RequestInfo *pRI, RIL_CDMA_SMS_Message& rcsm) {
893 memset(&rcsm, 0, sizeof(rcsm));
896 rcsm.uTeleserviceID = (int) t;
899 rcsm.bIsServicePresent = (uint8_t) ut;
902 rcsm.uServicecategory = (int) t;
905 rcsm.sAddress.digit_mode = (RIL_CDMA_SMS_DigitMode) t;
908 rcsm.sAddress.number_mode = (RIL_CDMA_SMS_NumberMode) t;
911 rcsm.sAddress.number_type = (RIL_CDMA_SMS_NumberType) t;
914 rcsm.sAddress.number_plan = (RIL_CDMA_SMS_NumberPlan) t;
917 rcsm.sAddress.number_of_digits= (uint8_t) ut;
919 digitLimit= MIN((rcsm.sAddress.number_of_digits), RIL_CDMA_SMS_ADDRESS_MAX);
922 rcsm.sAddress.digits[digitCount] = (uint8_t) ut;
926 rcsm.sSubAddress.subaddressType = (RIL_CDMA_SMS_SubaddressType) t;
929 rcsm.sSubAddress.odd = (uint8_t) ut;
932 rcsm.sSubAddress.number_of_digits = (uint8_t) ut;
934 digitLimit= MIN((rcsm.sSubAddress.number_of_digits), RIL_CDMA_SMS_SUBADDRESS_MAX);
937 rcsm.sSubAddress.digits[digitCount] = (uint8_t) ut;
941 rcsm.uBearerDataLen = (int) t;
943 digitLimit= MIN((rcsm.uBearerDataLen), RIL_CDMA_SMS_BEARER_DATA_MAX);
946 rcsm.aBearerData[digitCount] = (uint8_t) ut;
956 printBuf, rcsm.uTeleserviceID,rcsm.bIsServicePresent,rcsm.uServicecategory,
957 rcsm.sAddress.digit_mode, rcsm.sAddress.number_mode,rcsm.sAddress.number_type);
967 RIL_CDMA_SMS_Message rcsm;
970 if (NO_ERROR != constructCdmaSms(p, pRI, rcsm)) {
974 s_callbacks.onRequest(pRI->pCI->requestNumber, &rcsm, sizeof(rcsm),pRI);
977 memset(&rcsm, 0, sizeof(rcsm));
990 RIL_CDMA_SMS_Message rcsm;
994 if (NO_ERROR != constructCdmaSms(p, pRI, rcsm)) {
1001 rism.message.cdmaMessage = &rcsm;
1005 +sizeof(rcsm),pRI);
1008 memset(&rcsm, 0, sizeof(rcsm));