/base/telephony/sms_mms/test/fuzztest/textbasedsmsdelivery_fuzzer/ |
D | textbasedsmsdelivery_fuzzer.cpp | 51 const sptr<ISendShortMessageCallback> sendCallback = in DoSomethingInterestingWithMyAPI() local 53 if (sendCallback == nullptr) { in DoSomethingInterestingWithMyAPI() 63 … smsInterfaceManager->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI() 70 smsSendManager->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI() 73 …smsSendManager->gsmSmsSender_->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryC… in DoSomethingInterestingWithMyAPI() 76 …smsSendManager->cdmaSmsSender_->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, delivery… in DoSomethingInterestingWithMyAPI()
|
/base/telephony/sms_mms/test/fuzztest/databasedsmsdelivery_fuzzer/ |
D | databasedsmsdelivery_fuzzer.cpp | 52 const sptr<ISendShortMessageCallback> sendCallback = in DoSomethingInterestingWithMyAPI() local 54 if (sendCallback == nullptr) { in DoSomethingInterestingWithMyAPI() 63 …smsInterfaceManager->DataBasedSmsDelivery(desAddr, scAddr, port, data, size, sendCallback, deliver… in DoSomethingInterestingWithMyAPI() 68 …smsSendManager->DataBasedSmsDelivery(desAddr, scAddr, port, data, size, sendCallback, deliveryCall… in DoSomethingInterestingWithMyAPI() 72 desAddr, scAddr, port, data, size, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI() 76 desAddr, scAddr, port, data, size, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
|
/base/telephony/sms_mms/services/sms/ |
D | sms_send_manager.cpp | 118 const sptr<ISendShortMessageCallback> &sendCallback, in TextBasedSmsDelivery() argument 122 … SmsSender::SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in TextBasedSmsDelivery() 127 … SmsSender::SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in TextBasedSmsDelivery() 132 … SmsSender::SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in TextBasedSmsDelivery() 141 gsmSmsSender_->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in TextBasedSmsDelivery() 144 cdmaSmsSender_->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in TextBasedSmsDelivery() 146 …SmsSender::SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_SERVICE_UN… in TextBasedSmsDelivery() 154 const uint8_t *data, uint16_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback, in DataBasedSmsDelivery() argument 158 … SmsSender::SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in DataBasedSmsDelivery() 163 … SmsSender::SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in DataBasedSmsDelivery() [all …]
|
D | sms_interface_manager.cpp | 73 …const sptr<ISendShortMessageCallback> &sendCallback, const sptr<IDeliveryShortMessageCallback> &de… in TextBasedSmsDelivery() argument 76 … SmsSender::SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in TextBasedSmsDelivery() 84 … SmsSender::SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in TextBasedSmsDelivery() 89 smsSendManager_->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in TextBasedSmsDelivery() 94 const uint8_t *data, uint16_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback, in DataBasedSmsDelivery() argument 98 … SmsSender::SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in DataBasedSmsDelivery() 106 … SmsSender::SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in DataBasedSmsDelivery() 111 …smsSendManager_->DataBasedSmsDelivery(desAddr, scAddr, port, data, dataLen, sendCallback, delivery… in DataBasedSmsDelivery()
|
D | sms_send_indexer.cpp | 22 const sptr<ISendShortMessageCallback> &sendCallback, in SmsSendIndexer() argument 24 : text_(text), scAddr_(scAddr), destAddr_(desAddr), sendCallback_(sendCallback), in SmsSendIndexer() 29 uint32_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback, in SmsSendIndexer() argument 32 sendCallback_(sendCallback), deliveryCallback_(deliveryCallback), isText_(false) in SmsSendIndexer() 172 void SmsSendIndexer::SetSendCallback(const sptr<ISendShortMessageCallback> &sendCallback) in SetSendCallback() argument 174 sendCallback_ = sendCallback; in SetSendCallback()
|
D | sms_sender.cpp | 163 sptr<ISendShortMessageCallback> sendCallback = smsIndexer->GetSendCallback(); in SendMessageFailed() local 164 SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in SendMessageFailed() 177 …const sptr<ISendShortMessageCallback> &sendCallback, ISendShortMessageCallback::SmsSendResult resu… in SendResultCallBack() argument 179 if (sendCallback != nullptr) { in SendResultCallBack() 180 sendCallback->OnSmsSendResult(result); in SendResultCallBack() 200 bool SmsSender::SendCacheMapLimitCheck(const sptr<ISendShortMessageCallback> &sendCallback) in SendCacheMapLimitCheck() argument 204 SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in SendCacheMapLimitCheck()
|
D | sms_service.cpp | 140 …const sptr<ISendShortMessageCallback> &sendCallback, const sptr<IDeliveryShortMessageCallback> &de… in SendMessage() argument 142 if (!CheckSmsPermission(sendCallback)) { in SendMessage() 148 … SmsSender::SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in SendMessage() 154 … SmsSender::SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in SendMessage() 161 … SmsSender::SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in SendMessage() 166 StringUtils::ToUtf8(text), sendCallback, deliveryCallback); in SendMessage() 254 const uint8_t *data, uint16_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback, in SendMessage() argument 257 if (!CheckSmsPermission(sendCallback)) { in SendMessage() 263 … SmsSender::SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in SendMessage() 269 … SmsSender::SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in SendMessage() [all …]
|
D | sms_interface_stub.cpp | 147 sptr<ISendShortMessageCallback> sendCallback = nullptr; in OnSendSmsTextRequest() local 161 sendCallback = iface_cast<ISendShortMessageCallback>(remoteSendCallback); in OnSendSmsTextRequest() 170 int32_t result = SendMessage(slotId, desAddr, scAddr, text, sendCallback, deliveryCallback); in OnSendSmsTextRequest() 180 sptr<ISendShortMessageCallback> sendCallback = nullptr; in OnSendSmsDataRequest() local 194 sendCallback = iface_cast<ISendShortMessageCallback>(remoteSendCallback); in OnSendSmsDataRequest() 202 …int32_t result = SendMessage(slotId, desAddr, scAddr, port, buffer, dataLen, sendCallback, deliver… in OnSendSmsDataRequest()
|
/base/telephony/sms_mms/services/sms/include/gsm/ |
D | gsm_sms_sender.h | 42 const sptr<ISendShortMessageCallback> &sendCallback, 45 const uint8_t *data, uint32_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback, 49 int32_t port, const sptr<ISendShortMessageCallback> &sendCallback, 53 const sptr<ISendShortMessageCallback> &sendCallback, 57 … const sptr<ISendShortMessageCallback> &sendCallback, std::shared_ptr<SmsSendIndexer> indexer, 60 …void SendCallbackBecauseTpduNull(const sptr<ISendShortMessageCallback> &sendCallback, std::string …
|
/base/telephony/sms_mms/services/sms/include/cdma/ |
D | cdma_sms_sender.h | 34 const sptr<ISendShortMessageCallback> &sendCallback, 37 const sptr<ISendShortMessageCallback> &sendCallback, 41 std::shared_ptr<bool> hasCellFailed, const sptr<ISendShortMessageCallback> &sendCallback); 45 uint8_t msgRef8bit, const sptr<ISendShortMessageCallback> &sendCallback, 51 uint32_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback, 54 const uint8_t *data, uint32_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback, 84 uint8_t msgRef8bit, const sptr<ISendShortMessageCallback> &sendCallback);
|
/base/telephony/sms_mms/services/sms/cdma/ |
D | cdma_sms_sender.cpp | 40 const sptr<ISendShortMessageCallback> &sendCallback, in TextBasedSmsDelivery() argument 44 TextBasedSmsDeliveryViaIms(desAddr, scAddr, text, sendCallback, deliveryCallback); in TextBasedSmsDelivery() 52 SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in TextBasedSmsDelivery() 62 SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in TextBasedSmsDelivery() 75 SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in TextBasedSmsDelivery() 92 SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in TextBasedSmsDelivery() 98 …indexer = make_shared<SmsSendIndexer>(desAddr, scAddr, segmentText, sendCallback, deliveryCallback… in TextBasedSmsDelivery() 100 SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in TextBasedSmsDelivery() 110 SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in TextBasedSmsDelivery() 125 …const sptr<ISendShortMessageCallback> &sendCallback, const sptr<IDeliveryShortMessageCallback> &de… in TextBasedSmsDeliveryViaIms() argument [all …]
|
/base/telephony/sms_mms/test/fuzztest/sendmessage_fuzzer/ |
D | sendmessage_fuzzer.cpp | 60 std::unique_ptr<SendCallbackStub> sendCallback = std::make_unique<SendCallbackStub>(); in SendSmsTextRequest() local 67 if (sendCallback != nullptr) { in SendSmsTextRequest() 68 dataParcel.WriteRemoteObject(sendCallback.release()->AsObject().GetRefPtr()); in SendSmsTextRequest()
|
/base/telephony/sms_mms/test/fuzztest/sendmessagedata_fuzzer/ |
D | sendmessagedata_fuzzer.cpp | 59 std::unique_ptr<SendCallbackStub> sendCallback = std::make_unique<SendCallbackStub>(); in SendSmsDataRequest() local 66 if (sendCallback != nullptr) { in SendSmsDataRequest() 67 dataParcel.WriteRemoteObject(sendCallback.release()->AsObject().GetRefPtr()); in SendSmsDataRequest()
|
/base/telephony/sms_mms/services/sms/gsm/ |
D | gsm_sms_sender.cpp | 43 const sptr<ISendShortMessageCallback> &sendCallback, in TextBasedSmsDelivery() argument 58 SendCallbackBecauseTpduNull(sendCallback, "TextBasedSmsDelivery"); in TextBasedSmsDelivery() 63 SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in TextBasedSmsDelivery() 76 SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in TextBasedSmsDelivery() 84 …indexer = make_shared<SmsSendIndexer>(desAddr, scAddr, segmentText, sendCallback, deliveryCallback… in TextBasedSmsDelivery() 86 SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); in TextBasedSmsDelivery() 144 const uint8_t *data, uint32_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback, in DataBasedSmsDelivery() argument 158 SendCallbackBecauseTpduNull(sendCallback, "DataBasedSmsDelivery"); in DataBasedSmsDelivery() 163 …gsmSmsMessage, cellsInfos, tpdu, msgRef8bit, desAddr, scAddr, port, sendCallback, deliveryCallback… in DataBasedSmsDelivery() 168 int32_t port, const sptr<ISendShortMessageCallback> &sendCallback, in DataBasedSmsDeliverySplitPage() argument [all …]
|
/base/telephony/sms_mms/services/sms/include/ |
D | sms_sender.h | 45 const std::string &text, const sptr<ISendShortMessageCallback> &sendCallback, 49 const uint8_t *data, uint32_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback, 66 …const sptr<ISendShortMessageCallback> &sendCallback, ISendShortMessageCallback::SmsSendResult resu… 81 bool SendCacheMapLimitCheck(const sptr<ISendShortMessageCallback> &sendCallback);
|
D | sms_send_manager.h | 35 const sptr<ISendShortMessageCallback> &sendCallback, 38 const uint8_t *data, uint16_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback,
|
D | sms_send_indexer.h | 34 const sptr<ISendShortMessageCallback> &sendCallback, 37 uint32_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback, 62 void SetSendCallback(const sptr<ISendShortMessageCallback> &sendCallback);
|
D | sms_service.h | 53 const std::u16string text, const sptr<ISendShortMessageCallback> &sendCallback, 71 const uint8_t *data, uint16_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback, 321 bool CheckSmsPermission(const sptr<ISendShortMessageCallback> &sendCallback);
|
D | sms_interface_manager.h | 40 const sptr<ISendShortMessageCallback> &sendCallback, 43 const uint8_t *data, uint16_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback,
|
/base/telephony/sms_mms/test/gtest/ |
D | zero_branch_sms_test.cpp | 135 const sptr<ISendShortMessageCallback> sendCallback = variable 137 if (sendCallback == nullptr) { 149 cdmaSmsSender->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); 150 … cdmaSmsSender->TextBasedSmsDeliveryViaIms(desAddr, scAddr, text, sendCallback, deliveryCallback); 155 …smsIndexer = std::make_shared<SmsSendIndexer>(desAddr, scAddr, text, sendCallback, deliveryCallbac… 301 const sptr<ISendShortMessageCallback> sendCallback = variable 308 …auto smsIndexer = std::make_shared<SmsSendIndexer>(desAddr, scAddr, text, sendCallback, deliveryCa… 356 const sptr<ISendShortMessageCallback> sendCallback = variable 363 …auto smsIndexer = std::make_shared<SmsSendIndexer>(desAddr, scAddr, text, sendCallback, deliveryCa… 374 … smsSender->SendResultCallBack(sendCallback, ISendShortMessageCallback::SEND_SMS_FAILURE_UNKNOWN); [all …]
|
/base/telephony/sms_mms/test/fuzztest/smseventissue_fuzzer/ |
D | smseventissue_fuzzer.cpp | 36 const sptr<ISendShortMessageCallback> sendCallback = in DoSentIssueTest() local 38 if (sendCallback == nullptr) { in DoSentIssueTest() 47 std::make_shared<SmsSendIndexer>(desAddr, scAddr, text, sendCallback, deliveryCallback); in DoSentIssueTest()
|
/base/telephony/sms_mms/interfaces/innerkits/ |
D | sms_service_proxy.h | 44 const std::u16string text, const sptr<ISendShortMessageCallback> &sendCallback, 61 const uint8_t *data, uint16_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback,
|
D | i_sms_service_interface.h | 135 const std::u16string text, const sptr<ISendShortMessageCallback> &sendCallback, 153 …t port, const uint8_t *data, uint16_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback,
|
/base/telephony/sms_mms/ |
D | README_zh.md | 88 | sendCallback | AsyncCallback\<ISendShortMessageCallback> | 发送结果回调 | 是 | 176 1. 构造SendMessageOptions对象,传入必要的参数;若关注发送结果或送达报告,需要传入sendCallback或deliveryCallback对象。 187 sendCallback: (err, data) => {
|
/base/telephony/sms_mms/frameworks/native/sms/src/ |
D | sms_service_proxy.cpp | 31 const std::u16string text, const sptr<ISendShortMessageCallback> &sendCallback, in SendMessage() argument 47 if (sendCallback != nullptr) { in SendMessage() 48 dataParcel.WriteRemoteObject(sendCallback->AsObject().GetRefPtr()); in SendMessage() 68 …t port, const uint8_t *data, uint16_t dataLen, const sptr<ISendShortMessageCallback> &sendCallback, in SendMessage() argument 84 if (sendCallback == nullptr) { in SendMessage() 88 dataParcel.WriteRemoteObject(sendCallback->AsObject().GetRefPtr()); in SendMessage()
|