/base/telephony/sms_mms/test/fuzztest/updatesimmessage_fuzzer/ |
D | updatesimmessage_fuzzer.cpp | 51 std::string smsc(reinterpret_cast<const char *>(data), size); in UpdateSimMessage() 53 auto smscU16 = Str8ToStr16(smsc); in UpdateSimMessage() 73 interfaceManager->UpdateSimMessage(size, status, pdu, smsc); in UpdateSimMessage() 85 smsMiscManager->UpdateSimMessage(size, status, pdu, smsc); in UpdateSimMessage()
|
/base/telephony/core_service/services/sim/src/ |
D | sim_sms_manager.cpp | 71 int32_t SimSmsManager::AddSmsToIcc(int status, std::string &pdu, std::string &smsc) in AddSmsToIcc() argument 78 int32_t result = smsController_->AddSmsToIcc(status, pdu, smsc); in AddSmsToIcc() 83 int32_t SimSmsManager::UpdateSmsIcc(int index, int status, std::string &pduData, std::string &smsc) in UpdateSmsIcc() argument 90 int32_t result = smsController_->UpdateSmsIcc(index, status, pduData, smsc); in UpdateSmsIcc()
|
D | sim_sms_controller.cpp | 137 …32_t SimSmsController::UpdateSmsIcc(int index, int status, std::string &pduData, std::string &smsc) in UpdateSmsIcc() argument 145 SimMessageParam param { index, status, smsc, pduData }; in UpdateSmsIcc() 194 int32_t SimSmsController::AddSmsToIcc(int status, std::string &pdu, std::string &smsc) in AddSmsToIcc() argument 202 SimMessageParam param { 0, status, smsc, pdu }; in AddSmsToIcc()
|
/base/telephony/sms_mms/test/fuzztest/addsimmessage_fuzzer/ |
D | addsimmessage_fuzzer.cpp | 74 std::string smsc(reinterpret_cast<const char *>(data), size); in AddSimMessage() 76 auto smscU16 = Str8ToStr16(smsc); in AddSimMessage() 93 interfaceManager->AddSimMessage(smsc, pdu, status); in AddSimMessage() 105 smsMiscManager->AddSimMessage(smsc, pdu, status); in AddSimMessage()
|
/base/telephony/sms_mms/test/fuzztest/setgetsmsc_fuzzer/ |
D | setgetsmsc_fuzzer.cpp | 51 std::string smsc(reinterpret_cast<const char *>(data), size); in SetSmscFuzz() 52 auto smscU16 = Str8ToStr16(smsc); in SetSmscFuzz() 65 interfaceManager->SetSmscAddr(smsc); in SetSmscFuzz()
|
/base/telephony/core_service/services/sim/include/ |
D | sim_sms_manager.h | 33 int32_t AddSmsToIcc(int status, std::string &pdu, std::string &smsc); 34 int32_t UpdateSmsIcc(int index, int status, std::string &pduData, std::string &smsc);
|
D | sim_sms_controller.h | 46 int32_t AddSmsToIcc(int status, std::string &pdu, std::string &smsc); 47 int32_t UpdateSmsIcc(int index, int status, std::string &pduData, std::string &smsc);
|
D | sim_manager.h | 117 int32_t AddSmsToIcc(int32_t slotId, int status, std::string &pdu, std::string &smsc) override; 119 int32_t slotId, int index, int status, std::string &pduData, std::string &smsc) override;
|
/base/telephony/ril_adapter/services/vendor/src/ |
D | at_sms.c | 114 char *smsc = NULL; in ReqSendGsmSms() local 124 smsc = ((char **)data)[0]; in ReqSendGsmSms() 126 if (smsc == NULL) { in ReqSendGsmSms() 132 smsc = smscTemp; in ReqSendGsmSms() 141 err = GenerateCommand(smsPdu, MAX_CMD_LENGTH, "%s%s", smsc, pdu); in ReqSendGsmSms() 265 if (msg->smsc == NULL || (strcmp(msg->smsc, "") == 0)) { in WriteSimMessage() 266 msg->smsc = (char *)malloc(strlen("00") + 1); in WriteSimMessage() 267 if (strcpy_s(msg->smsc, strlen("00") + 1, "00") != EOK) { in WriteSimMessage() 281 int32_t tmp = GenerateCommand(smsPdu, MAX_CMD_LENGTH, "%s%s", msg->smsc, msg->pdu); in WriteSimMessage() 324 err = GenerateCommand(smsPdu, MAX_CMD_LENGTH, "%s%s", msg->smsc, msg->pdu); in UpdateSimMessage() [all …]
|
/base/telephony/sms_mms/frameworks/native/sms/src/ |
D | sms_service_manager_client.cpp | 131 int32_t SmsServiceManagerClient::AddSimMessage(int32_t slotId, const std::u16string &smsc, const st… in AddSimMessage() argument 135 return smsServiceInterface_->AddSimMessage(slotId, smsc, pdu, status); in AddSimMessage() 149 …erviceInterface::SimMessageStatus newStatus, const std::u16string &pdu, const std::u16string &smsc) in UpdateSimMessage() argument 152 return smsServiceInterface_->UpdateSimMessage(slotId, msgIndex, newStatus, pdu, smsc); in UpdateSimMessage()
|
D | sms_service_proxy.cpp | 155 int32_t slotId, const std::u16string &smsc, const std::u16string &pdu, SimMessageStatus status) in AddSimMessage() argument 166 dataParcel.WriteString16(smsc); in AddSimMessage() 202 const std::u16string &pdu, const std::u16string &smsc) in UpdateSimMessage() argument 216 dataParcel.WriteString16(smsc); in UpdateSimMessage()
|
/base/telephony/sms_mms/services/sms/ |
D | sms_interface_manager.cpp | 116 const std::string &smsc, const std::string &pdu, ISmsServiceInterface::SimMessageStatus status) in AddSimMessage() argument 122 return smsMiscManager_->AddSimMessage(smsc, pdu, status); in AddSimMessage() 135 const std::string &pdu, const std::string &smsc) in UpdateSimMessage() argument 141 return smsMiscManager_->UpdateSimMessage(msgIndex, newStatus, pdu, smsc); in UpdateSimMessage()
|
D | sms_misc_manager.cpp | 319 const std::string &smsc, const std::string &pdu, ISmsServiceInterface::SimMessageStatus status) in AddSimMessage() argument 333 …TELEPHONY_LOGI("smscLen = %{public}zu pudLen = %{public}zu status = %{public}d", smsc.size(), pdu.… in AddSimMessage() 334 std::string smscAddr(smsc); in AddSimMessage() 335 if (smsc.length() <= MIN_SMSC_LEN) { in AddSimMessage() 351 const std::string &pdu, const std::string &smsc) in UpdateSimMessage() argument 353 std::string smscAddr(smsc); in UpdateSimMessage() 354 if (smsc.length() <= MIN_SMSC_LEN) { in UpdateSimMessage()
|
D | sms_interface_stub.cpp | 261 std::u16string smsc = data.ReadString16(); in OnAddSimMessage() local 264 int32_t result = AddSimMessage(slotId, smsc, pdu, static_cast<SimMessageStatus>(status)); in OnAddSimMessage() 284 std::u16string smsc = data.ReadString16(); in OnUpdateSimMessage() local 285 …t result = UpdateSimMessage(slotId, msgIndex, static_cast<SimMessageStatus>(newStatus), pdu, smsc); in OnUpdateSimMessage()
|
/base/telephony/sms_mms/services/sms/include/ |
D | sms_interface_manager.h | 46 … const std::string &smsc, const std::string &pdu, ISmsServiceInterface::SimMessageStatus status); 49 const std::string &pdu, const std::string &smsc);
|
D | sms_misc_manager.h | 58 … const std::string &smsc, const std::string &pdu, ISmsServiceInterface::SimMessageStatus status); 61 const std::string &pdu, const std::string &smsc);
|
D | sms_service.h | 106 …int32_t slotId, const std::u16string &smsc, const std::u16string &pdu, SimMessageStatus status) ov… 130 const std::u16string &smsc) override;
|
/base/telephony/sms_mms/frameworks/js/napi/include/ |
D | napi_sms.h | 150 std::string smsc = ""; member 168 std::string smsc = ""; member
|
/base/telephony/sms_mms/interfaces/innerkits/ |
D | sms_service_manager_client.h | 129 int32_t AddSimMessage(int32_t slotId, const std::u16string &smsc, const std::u16string &pdu, 154 const std::u16string &pdu, const std::u16string &smsc);
|
D | sms_service_proxy.h | 92 …int32_t slotId, const std::u16string &smsc, const std::u16string &pdu, SimMessageStatus status) ov… 114 const std::u16string &smsc) override;
|
D | i_sms_service_interface.h | 187 …int32_t slotId, const std::u16string &smsc, const std::u16string &pdu, SimMessageStatus status) = … 211 const std::u16string &pdu, const std::u16string &smsc) = 0;
|
/base/telephony/ril_adapter/interfaces/innerkits/include/ |
D | hril_vendor_sms_defs.h | 62 char *smsc; member
|
/base/telephony/sms_mms/interfaces/kits/js/ |
D | @ohos.telephony.sms.d.ts | 2369 smsc: string; property 2449 smsc: string; property
|
/base/telephony/sms_mms/test/unittest/ |
D | gsm_sms_sender_test.cpp | 233 std::string smsc; in TestAddSimMessage() local 235 std::cin >> smsc; in TestAddSimMessage() 243 … result = smsService->AddSimMessage(slotId, StringUtils::ToUtf16(smsc), StringUtils::ToUtf16(pdu), in TestAddSimMessage() 299 std::string smsc; in TestUpdateSimMessage() local 301 std::cin >> smsc; in TestUpdateSimMessage() 306 std::u16string smscData = StringUtils::ToUtf16(smsc); in TestUpdateSimMessage()
|
/base/telephony/core_service/interfaces/innerkits/include/ |
D | i_sim_manager.h | 113 … virtual int32_t AddSmsToIcc(int32_t slotId, int status, std::string &pdu, std::string &smsc) = 0; 114 …t UpdateSmsIcc(int32_t slotId, int index, int status, std::string &pduData, std::string &smsc) = 0;
|