Home
last modified time | relevance | path

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

/base/telephony/sms_mms/test/fuzztest/textbasedsmsdelivery_fuzzer/
Dtextbasedsmsdelivery_fuzzer.cpp51 const sptr<IDeliveryShortMessageCallback> deliveryCallback = in DoSomethingInterestingWithMyAPI() local
53 if (deliveryCallback == nullptr) { in DoSomethingInterestingWithMyAPI()
57 … smsInterfaceManager->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
64 smsSendManager->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
67 …anager->gsmSmsSender_->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
70 …nager->cdmaSmsSender_->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
/base/telephony/sms_mms/test/fuzztest/databasedsmsdelivery_fuzzer/
Ddatabasedsmsdelivery_fuzzer.cpp51 const sptr<IDeliveryShortMessageCallback> deliveryCallback = in DoSomethingInterestingWithMyAPI() local
53 if (deliveryCallback == nullptr) { in DoSomethingInterestingWithMyAPI()
57 …ceManager->DataBasedSmsDelivery(desAddr, scAddr, port, data, size, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
62 …ndManager->DataBasedSmsDelivery(desAddr, scAddr, port, data, size, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
66 desAddr, scAddr, port, data, size, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
70 desAddr, scAddr, port, data, size, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
/base/telephony/sms_mms/services/include/cdma/
Dcdma_sms_sender.h35 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) override;
38 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
46 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
52 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) override;
55 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
/base/telephony/sms_mms/services/include/gsm/
Dgsm_sms_sender.h43 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) override;
46 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) override;
50 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
54 …const sptr<IDeliveryShortMessageCallback> &deliveryCallback, std::shared_ptr<SmsSendIndexer> index…
/base/telephony/sms_mms/services/
Dsms_send_indexer.cpp23 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in SmsSendIndexer() argument
25 deliveryCallback_(deliveryCallback), isText_(true) in SmsSendIndexer()
30 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in SmsSendIndexer() argument
32 sendCallback_(sendCallback), deliveryCallback_(deliveryCallback), isText_(false) in SmsSendIndexer()
162 …id SmsSendIndexer::SetDeliveryCallback(const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in SetDeliveryCallback() argument
164 deliveryCallback_ = deliveryCallback; in SetDeliveryCallback()
Dsms_send_manager.cpp121 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in TextBasedSmsDelivery() argument
143 gsmSmsSender_->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in TextBasedSmsDelivery()
146 cdmaSmsSender_->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in TextBasedSmsDelivery()
157 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in DataBasedSmsDelivery() argument
178 …ender_->DataBasedSmsDelivery(desAddr, scAddr, port, data, dataLen, sendCallback, deliveryCallback); in DataBasedSmsDelivery()
181 …ender_->DataBasedSmsDelivery(desAddr, scAddr, port, data, dataLen, sendCallback, deliveryCallback); in DataBasedSmsDelivery()
Dsms_interface_manager.cpp58 …ndShortMessageCallback> &sendCallback, const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in TextBasedSmsDelivery() argument
74 smsSendManager_->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in TextBasedSmsDelivery()
80 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in DataBasedSmsDelivery() argument
96 …nager_->DataBasedSmsDelivery(desAddr, scAddr, port, data, dataLen, sendCallback, deliveryCallback); in DataBasedSmsDelivery()
Dsms_interface_stub.cpp102 sptr<IDeliveryShortMessageCallback> deliveryCallback = nullptr; in OnSendSmsTextRequest() local
113 deliveryCallback = iface_cast<IDeliveryShortMessageCallback>(remoteDeliveryCallback); in OnSendSmsTextRequest()
117 int32_t result = SendMessage(slotId, desAddr, scAddr, text, sendCallback, deliveryCallback); in OnSendSmsTextRequest()
124 sptr<IDeliveryShortMessageCallback> deliveryCallback = nullptr; in OnSendSmsDataRequest() local
135 deliveryCallback = iface_cast<IDeliveryShortMessageCallback>(remoteDeliveryCallback); in OnSendSmsDataRequest()
140 …sult = SendMessage(slotId, desAddr, scAddr, port, buffer, dataLen, sendCallback, deliveryCallback); in OnSendSmsDataRequest()
Dsms_service.cpp136 …ndShortMessageCallback> &sendCallback, const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in SendMessage() argument
157 StringUtils::ToUtf8(text), sendCallback, deliveryCallback); in SendMessage()
162 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in SendMessage() argument
183 …ToUtf8(desAddr), StringUtils::ToUtf8(scAddr), port, data, dataLen, sendCallback, deliveryCallback); in SendMessage()
/base/telephony/sms_mms/test/fuzztest/sendmessage_fuzzer/
Dsendmessage_fuzzer.cpp62 …std::unique_ptr<DeliverySendCallbackStub> deliveryCallback = std::make_unique<DeliverySendCallback… in SendSmsTextRequest() local
71 if (deliveryCallback != nullptr) { in SendSmsTextRequest()
72 dataParcel.WriteRemoteObject(deliveryCallback.release()->AsObject().GetRefPtr()); in SendSmsTextRequest()
/base/telephony/sms_mms/test/fuzztest/sendmessagedata_fuzzer/
Dsendmessagedata_fuzzer.cpp61 …std::unique_ptr<DeliverySendCallbackStub> deliveryCallback = std::make_unique<DeliverySendCallback… in SendSmsDataRequest() local
70 if (deliveryCallback != nullptr) { in SendSmsDataRequest()
71 dataParcel.WriteRemoteObject(deliveryCallback.release()->AsObject().GetRefPtr()); in SendSmsDataRequest()
/base/telephony/sms_mms/services/cdma/
Dcdma_sms_sender.cpp38 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in TextBasedSmsDelivery() argument
41 TextBasedSmsDeliveryViaIms(desAddr, scAddr, text, sendCallback, deliveryCallback); in TextBasedSmsDelivery()
55 bool bStatusReport = (deliveryCallback == nullptr) ? false : true; in TextBasedSmsDelivery()
95 …ndexer = make_shared<SmsSendIndexer>(desAddr, scAddr, segmentText, sendCallback, deliveryCallback); in TextBasedSmsDelivery()
120 …ndShortMessageCallback> &sendCallback, const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in TextBasedSmsDeliveryViaIms() argument
126 bool isStatusReport = (deliveryCallback == nullptr) ? false : true; in TextBasedSmsDeliveryViaIms()
140 codingType, msgRef8bit, sendCallback, deliveryCallback); in TextBasedSmsDeliveryViaIms()
148 …ndShortMessageCallback> &sendCallback, const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in SendSmsForEveryIndexer() argument
153 make_shared<SmsSendIndexer>(desAddr, scAddr, segmentText, sendCallback, deliveryCallback); in SendSmsForEveryIndexer()
176 isStatusReport = (deliveryCallback == nullptr) ? false : true; in SendSmsForEveryIndexer()
[all …]
/base/telephony/sms_mms/services/gsm/
Dgsm_sms_sender.cpp45 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in TextBasedSmsDelivery() argument
55 bool isStatusReport = (deliveryCallback == nullptr) ? false : true; in TextBasedSmsDelivery()
85 …ndexer = make_shared<SmsSendIndexer>(desAddr, scAddr, segmentText, sendCallback, deliveryCallback); in TextBasedSmsDelivery()
146 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in DataBasedSmsDelivery() argument
157 … desAddr, scAddr, port, data, dataLen, msgRef8bit, (deliveryCallback == nullptr) ? false : true); in DataBasedSmsDelivery()
164 …smSmsMessage, cellsInfos, tpdu, msgRef8bit, desAddr, scAddr, port, sendCallback, deliveryCallback); in DataBasedSmsDelivery()
170 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in DataBasedSmsDeliverySplitPage() argument
178 …ared<SmsSendIndexer>(desAddr, scAddr, port, dataItem, dataItemLen, sendCallback, deliveryCallback); in DataBasedSmsDeliverySplitPage()
198 deliveryCallback, indexer, cellsInfos); in DataBasedSmsDeliverySplitPage()
205 …const sptr<IDeliveryShortMessageCallback> &deliveryCallback, std::shared_ptr<SmsSendIndexer> index… in DataBasedSmsDeliveryPacketSplitPage() argument
[all …]
/base/telephony/sms_mms/services/include/
Dsms_send_manager.h36 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
39 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
Dsms_interface_manager.h39 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
42 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
Dsms_send_indexer.h35 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
38 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
64 void SetDeliveryCallback(const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
Dsms_service.h53 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) override;
71 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) override;
Dsms_sender.h46 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) = 0;
50 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) = 0;
/base/telephony/sms_mms/test/fuzztest/smseventissue_fuzzer/
Dsmseventissue_fuzzer.cpp43 const sptr<IDeliveryShortMessageCallback> deliveryCallback = in DoSentIssueTest() local
45 if (deliveryCallback == nullptr) { in DoSentIssueTest()
49 std::make_shared<SmsSendIndexer>(desAddr, scAddr, text, sendCallback, deliveryCallback); in DoSentIssueTest()
/base/telephony/sms_mms/frameworks/native/sms/src/
Dsms_service_manager_client.cpp89 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in SendMessage() argument
92 …eturn smsServiceInterface_->SendMessage(slotId, desAddr, scAddr, text, callback, deliveryCallback); in SendMessage()
99 …<ISendShortMessageCallback> &callback, const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in SendMessage() argument
103 slotId, desAddr, scAddr, port, data, dataLen, callback, deliveryCallback); in SendMessage()
/base/telephony/sms_mms/interfaces/innerkits/
Dsms_service_manager_client.h39 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
42 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
/base/telephony/sms_mms/
DREADME_zh.md87 | deliveryCallback | AsyncCallback\<IDeliveryShortMessageCallback> | 送达报告回调 | 是 |
169 1. 构造SendMessageOptions对象,传入必要的参数;若关注发送结果或送达报告,需要传入sendCallback或deliveryCallback对象。
DREADME.md148 …><p id="p147781321142"><a name="p147781321142"></a><a name="p147781321142"></a>deliveryCallback</p>
292 …esult or delivery report is expected, pass the **sendCallback** or **deliveryCallback** object.
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_sms.cpp136 std::unique_ptr<DeliveryCallback> deliveryCallback) in ActuallySendTextMessage() argument
141 deliveryCallback.release()->OnSmsDeliveryResult(u""); in ActuallySendTextMessage()
146 deliveryCallback.release()); in ActuallySendTextMessage()
150 std::unique_ptr<DeliveryCallback> deliveryCallback) in ActuallySendDataMessage() argument
155 deliveryCallback.release()->OnSmsDeliveryResult(u""); in ActuallySendDataMessage()
162 arrayLength, sendCallback.release(), deliveryCallback.release()); in ActuallySendDataMessage()
177 std::unique_ptr<DeliveryCallback> deliveryCallback = std::make_unique<DeliveryCallback>( in ActuallySendMessage() local
179 if (deliveryCallback == nullptr) { in ActuallySendMessage()
184 … return ActuallySendTextMessage(parameter, std::move(sendCallback), std::move(deliveryCallback)); in ActuallySendMessage()
186 … return ActuallySendDataMessage(parameter, std::move(sendCallback), std::move(deliveryCallback)); in ActuallySendMessage()
/base/telephony/sms_mms/interfaces/kits/js/
D@ohos.telephony.sms.d.ts752 deliveryCallback?: AsyncCallback<IDeliveryShortMessageCallback>; property