Home
last modified time | relevance | path

Searched refs:smsc (Results 1 – 25 of 35) sorted by relevance

12

/base/telephony/sms_mms/test/fuzztest/updatesimmessage_fuzzer/
Dupdatesimmessage_fuzzer.cpp51 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/
Dsim_sms_manager.cpp71 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()
Dsim_sms_controller.cpp137 …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/
Daddsimmessage_fuzzer.cpp74 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/
Dsetgetsmsc_fuzzer.cpp51 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/
Dsim_sms_manager.h33 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);
Dsim_sms_controller.h46 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);
Dsim_manager.h117 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/
Dat_sms.c114 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/
Dsms_service_manager_client.cpp131 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()
Dsms_service_proxy.cpp155 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/
Dsms_interface_manager.cpp116 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()
Dsms_misc_manager.cpp319 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()
Dsms_interface_stub.cpp261 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/
Dsms_interface_manager.h46 … const std::string &smsc, const std::string &pdu, ISmsServiceInterface::SimMessageStatus status);
49 const std::string &pdu, const std::string &smsc);
Dsms_misc_manager.h58 … const std::string &smsc, const std::string &pdu, ISmsServiceInterface::SimMessageStatus status);
61 const std::string &pdu, const std::string &smsc);
Dsms_service.h106 …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/
Dnapi_sms.h150 std::string smsc = ""; member
168 std::string smsc = ""; member
/base/telephony/sms_mms/interfaces/innerkits/
Dsms_service_manager_client.h129 int32_t AddSimMessage(int32_t slotId, const std::u16string &smsc, const std::u16string &pdu,
154 const std::u16string &pdu, const std::u16string &smsc);
Dsms_service_proxy.h92 …int32_t slotId, const std::u16string &smsc, const std::u16string &pdu, SimMessageStatus status) ov…
114 const std::u16string &smsc) override;
Di_sms_service_interface.h187 …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/
Dhril_vendor_sms_defs.h62 char *smsc; member
/base/telephony/sms_mms/interfaces/kits/js/
D@ohos.telephony.sms.d.ts2369 smsc: string; property
2449 smsc: string; property
/base/telephony/sms_mms/test/unittest/
Dgsm_sms_sender_test.cpp233 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/
Di_sim_manager.h113 … 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;

12