/base/telephony/sms_mms/services/sms/include/gsm/ |
D | gsm_sms_param_decode.h | 33 enum SmsMessageClass GetMsgClass(uint8_t dcs); 34 enum DataCodingScheme GetMsgCodingScheme(uint8_t dcs); 35 enum SmsIndicatorType GetMsgIndicatorType(const uint8_t dcs); 36 void GetMwiType(const uint8_t dcs, struct SmsDcs &smsDcs); 43 void DecodeDcsGeneralGroupPdu(uint8_t dcs, struct SmsDcs *smsDcs); 44 void DecodeDcsClassGroupPdu(uint8_t dcs, struct SmsDcs *smsDcs); 45 void DecodeDcsDeleteGroupPdu(uint8_t dcs, struct SmsDcs *smsDcs); 46 void DecodeDcsDiscardGroupPdu(uint8_t dcs, struct SmsDcs *smsDcs); 47 void DecodeDcsStoreGsmGroupPdu(uint8_t dcs, struct SmsDcs *smsDcs); 48 void DecodeDcsStoreUCS2GroupPdu(uint8_t dcs, struct SmsDcs *smsDcs); [all …]
|
D | gsm_pdu_code_type.h | 157 struct SmsDcs dcs; // TP Data Coding Scheme (TP DCS) member 177 struct SmsDcs dcs; // TP Data Coding Scheme (TP DCS) member 195 struct SmsDcs dcs; // TP Data Coding Scheme (TP DCS) member 215 struct SmsDcs dcs; // TP-Data-Coding-Scheme member
|
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_param_decode.cpp | 226 uint8_t dcs = 0; in DecodeDcsPdu() local 227 if (!buffer.ReadByte(dcs)) { in DecodeDcsPdu() 235 if (((dcs & HEX_VALUE_C0) >> HEX_VALUE_06) == 0) { in DecodeDcsPdu() 236 DecodeDcsGeneralGroupPdu(dcs, smsDcs); in DecodeDcsPdu() 237 } else if (((dcs & HEX_VALUE_F0) >> HEX_VALUE_04) == HEX_VALUE_0F) { in DecodeDcsPdu() 238 DecodeDcsClassGroupPdu(dcs, smsDcs); in DecodeDcsPdu() 239 } else if (((dcs & HEX_VALUE_C0) >> HEX_VALUE_06) == HEX_VALUE_01) { in DecodeDcsPdu() 240 DecodeDcsDeleteGroupPdu(dcs, smsDcs); in DecodeDcsPdu() 241 } else if (((dcs & HEX_VALUE_F0) >> HEX_VALUE_04) == HEX_VALUE_0C) { in DecodeDcsPdu() 242 DecodeDcsDiscardGroupPdu(dcs, smsDcs); in DecodeDcsPdu() [all …]
|
D | gsm_sms_tpdu_decode.cpp | 121 if (!paramCodec_->DecodeDcsPdu(buffer, &(submit->dcs))) { in DecodeSubmitPartData() 131 …uDataCodec_->DecodeUserDataPdu(buffer, submit->bHeaderInd, submit->dcs.codingScheme, &(submit->use… in DecodeSubmitPartData() 192 if (!paramCodec_->DecodeDcsPdu(buffer, &(deliver->dcs))) { in DecodeDeliver() 202 deliver->dcs.codingScheme = DATA_CODING_EUCKR; in DecodeDeliver() 219 deliver->dcs.bMWI = true; in DecodeDeliverPartData() 221 deliver->dcs.bIndActive = false; in DecodeDeliverPartData() 223 deliver->dcs.bIndActive = true; in DecodeDeliverPartData() 226 deliver->dcs.indType = SMS_VOICE_INDICATOR; in DecodeDeliverPartData() 228 deliver->dcs.indType = SMS_VOICE2_INDICATOR; in DecodeDeliverPartData() 240 … buffer, deliver->bHeaderInd, deliver->dcs.codingScheme, &(deliver->userData), &(deliver->udData)); in DecodeDeliverPartData() [all …]
|
D | gsm_sms_tpdu_encode.cpp | 78 std::string dcs; in EncodeSubmitPduPartData() local 79 paramCodec_->EncodeDCS(&pSubmit->dcs, dcs); in EncodeSubmitPduPartData() 85 …if (memcpy_s(buffer.data_.get() + buffer.GetIndex(), bufferLen, dcs.data(), HEX_VALUE_01) != EOK) { in EncodeSubmitPduPartData() 109 bool ret = uDataCodec_->EncodeUserDataPdu(buffer, pUserData, pSubmit->dcs.codingScheme); in EncodeSubmitPduPartData() 318 std::string dcs; in EncodeDeliverData() local 319 paramCodec_->EncodeDCS(&pDeliver->dcs, dcs); in EncodeDeliverData() 325 …if (memcpy_s(buffer.data_.get() + buffer.GetIndex(), bufferLen, dcs.data(), HEX_VALUE_01) != EOK) { in EncodeDeliverData() 347 bool result = uDataCodec_->EncodeUserDataPdu(buffer, pUserData, pDeliver->dcs.codingScheme); in EncodeDeliverData() 407 std::string dcs; in EncodeDeliverReportPartData() local 408 paramCodec_->EncodeDCS(&pDeliverRep->dcs, dcs); in EncodeDeliverReportPartData() [all …]
|
D | gsm_sms_message.cpp | 201 smsTpdu_->data.submit.dcs.bCompressed = false; in CreateDefaultSubmit() 202 smsTpdu_->data.submit.dcs.msgClass = SmsMessageClass::SMS_CLASS_UNKNOWN; in CreateDefaultSubmit() 203 smsTpdu_->data.submit.dcs.codingGroup = CODING_GENERAL_GROUP; in CreateDefaultSubmit() 204 smsTpdu_->data.submit.dcs.codingScheme = codingScheme; in CreateDefaultSubmit() 499 bCompressed_ = smsTpdu_->data.deliver.dcs.bCompressed; in ConvertMessageDcs() 500 codingScheme_ = smsTpdu_->data.deliver.dcs.codingScheme; in ConvertMessageDcs() 501 codingGroup_ = smsTpdu_->data.deliver.dcs.codingGroup; in ConvertMessageDcs() 502 bIndActive_ = smsTpdu_->data.deliver.dcs.bIndActive; in ConvertMessageDcs() 503 bMwi_ = smsTpdu_->data.deliver.dcs.bMWI; in ConvertMessageDcs() 504 … bMwiSense_ = smsTpdu_->data.deliver.dcs.bIndActive; /* Indicates vmail notification set/clear */ in ConvertMessageDcs() [all …]
|
D | gsm_sms_cb_handler.cpp | 340 want.SetParam(SmsCbData::DCS, static_cast<char>(sendData.dcs)); in SetWantData() 364 cbMessage->GetDcs(sendData.dcs); in GetCbData()
|
/base/telephony/sms_mms/services/sms/ |
D | gsm_cb_codec.cpp | 200 if (cbHeader_->dcs.codingScheme == DATA_CODING_7BIT) { in ConvertToUTF8() 202 } else if (cbHeader_->dcs.codingScheme == DATA_CODING_UCS2) { in ConvertToUTF8() 281 …Codec::DecodeIos639Dcs(const uint8_t dcsData, const unsigned short iosData, GsmCbMsgDcs &dcs) const in DecodeIos639Dcs() 287 dcs.codingGroup = SMS_CBMSG_CODGRP_GENERAL_DCS; in DecodeIos639Dcs() 288 dcs.codingScheme = (dcsData & HEX_VALUE_01) ? DATA_CODING_UCS2 : DATA_CODING_7BIT; in DecodeIos639Dcs() 289 dcs.langType = CB_LANG_ISO639; in DecodeIos639Dcs() 295 dcs.iso639Lang[0x00] = hight & HEX_VALUE_7F; in DecodeIos639Dcs() 296 dcs.iso639Lang[HEX_VALUE_01] = (hight & HEX_VALUE_80) >> HEX_VALUE_07; in DecodeIos639Dcs() 297 dcs.iso639Lang[HEX_VALUE_01] |= (low & HEX_VALUE_3F) << HEX_VALUE_01; in DecodeIos639Dcs() 298 dcs.iso639Lang[HEX_VALUE_02] = HEX_VALUE_13; /* CR */ in DecodeIos639Dcs() [all …]
|
D | gsm_cb_umts_codec.cpp | 89 uint8_t dcs = oneByte; in Decode3gHeader() local 90 return Decode3gHeaderPartData(dcs); in Decode3gHeader() 93 bool GsmCbUmtsCodec::Decode3gHeaderPartData(uint8_t dcs) in Decode3gHeaderPartData() argument 117 cbCodec_->DecodeCbMsgDCS(dcs, iosTemp, cbHeader_->dcs); in Decode3gHeaderPartData() 118 cbHeader_->langType = cbHeader_->dcs.langType; in Decode3gHeaderPartData() 137 switch (cbHeader_->dcs.codingScheme) { in Decode3gCbMsg() 223 if (cbHeader_->dcs.iso639Lang[0]) { in Decode3gUCS2()
|
D | gsm_cb_gsm_codec.cpp | 131 uint8_t dcs = oneByte; in Decode2gHeaderCommonCb() local 152 cbCodec_->DecodeCbMsgDCS(dcs, iosTemp, cbHeader_->dcs); in Decode2gHeaderCommonCb() 153 cbHeader_->langType = cbHeader_->dcs.langType; in Decode2gHeaderCommonCb() 180 switch (cbHeader_->dcs.codingScheme) { in Decode2gCbMsg() 194 if (cbHeader_->dcs.iso639Lang[0]) { in Decode2gCbMsg() 232 if (cbHeader_->dcs.iso639Lang[0] && unpackLen >= GsmCbCodec::CB_IOS639_LANG_SIZE) { in Decode2gCbMsg7bit()
|
D | sms_base_message.cpp | 468 lenInfo.dcs = smsEncoding7Bit; in GetSmsSegmentsInfo() 470 lenInfo.dcs = smsEncoding16Bit; in GetSmsSegmentsInfo() 472 lenInfo.dcs = smsEncoding8Bit; in GetSmsSegmentsInfo() 474 lenInfo.dcs = smsEncodingUnkown; in GetSmsSegmentsInfo() 476 if (lenInfo.dcs == smsEncoding16Bit) { in GetSmsSegmentsInfo()
|
D | sms_send_indexer.cpp | 293 void SmsSendIndexer::SetDcs(enum DataCodingScheme dcs) in SetDcs() argument 295 dcs_ = dcs; in SetDcs()
|
D | sms_service.cpp | 652 …SmsSegmentsInfo::SmsSegmentCodeScheme dcs = static_cast<SmsSegmentsInfo::SmsSegmentCodeScheme>(res… in GetSmsSegmentsInfo() local 653 switch (dcs) { in GetSmsSegmentsInfo() 657 info.msgCodeScheme = dcs; in GetSmsSegmentsInfo()
|
/base/telephony/sms_mms/services/sms/include/ |
D | gsm_cb_codec.h | 219 GsmCbMsgDcs dcs; member 237 … void DecodeCbMsgDCS(const uint8_t dcsData, const unsigned short iosData, GsmCbMsgDcs &dcs) const; 255 bool GetDcs(uint8_t &dcs) const; 271 … void DecodeIos639Dcs(const uint8_t dcsData, const unsigned short iosData, GsmCbMsgDcs &dcs) const; 272 void DecodeGeneralDcs(const uint8_t dcsData, GsmCbMsgDcs &dcs) const;
|
D | gsm_cb_umts_codec.h | 34 bool Decode3gHeaderPartData(uint8_t dcs);
|
D | sms_cb_data.h | 46 uint8_t dcs = 0; member
|
D | sms_base_message.h | 57 uint8_t dcs = 0; member
|
D | sms_send_indexer.h | 90 void SetDcs(enum DataCodingScheme dcs);
|
/base/telephony/sms_mms/test/gtest/ |
D | zero_branch_cb_test.cpp | 104 cbCodec->cbHeader_->dcs.codingScheme = DATA_CODING_7BIT; 106 cbCodec->cbHeader_->dcs.codingScheme = DATA_CODING_UCS2; 108 cbCodec->cbHeader_->dcs.codingScheme = DATA_CODING_AUTO; 254 cbMsg->cbHeader_->dcs.codingScheme = DataCodingScheme::DATA_CODING_7BIT; 257 cbMsg->cbHeader_->dcs.codingScheme = DataCodingScheme::DATA_CODING_8BIT; 260 cbMsg->cbHeader_->dcs.codingScheme = DataCodingScheme::DATA_CODING_UCS2; 263 cbMsg->cbHeader_->dcs.codingScheme = DataCodingScheme::DATA_CODING_ASCII7BIT;
|
D | cb_gtest.cpp | 819 message->dcs = ""; in ReceiveCellBroadCastTestFunc() 840 message->dcs = ""; in ReceiveCellBroadCastTestFunc2()
|
/base/telephony/ril_adapter/interfaces/innerkits/include/ |
D | hril_sms_parcel.h | 172 std::string dcs = ""; member
|
D | hril_vendor_sms_defs.h | 151 char *dcs; member
|
/base/telephony/ril_adapter/services/hril/src/ |
D | hril_sms.cpp | 661 result.dcs = std::string(""); in MakeCBConfigResult() 683 if (cellBroadcastReportInfo->dcs == nullptr) { in MakeCBConfigResult() 684 result.dcs = std::string(""); in MakeCBConfigResult() 687 TELEPHONY_LOGI("result.dcs :%{private}s", cellBroadcastReportInfo->dcs); in MakeCBConfigResult() 688 result.dcs = std::string(cellBroadcastReportInfo->dcs); in MakeCBConfigResult()
|
/base/telephony/core_service/services/tel_ril/src/ |
D | tel_ril_sms.cpp | 451 cellBroadConfigReportInfo->dcs = iCellBroadConfigReportInfo.dcs; in BuildCBConfigReportInfo()
|
/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_receive_handler.cpp | 226 want.SetParam(SmsCbData::DCS, static_cast<char>(sendData.dcs)); in SetCBBroadcastParam()
|