Home
last modified time | relevance | path

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

12

/base/telephony/sms_mms/test/fuzztest/textbasedsmsdelivery_fuzzer/
Dtextbasedsmsdelivery_fuzzer.cpp57 const sptr<IDeliveryShortMessageCallback> deliveryCallback = in DoSomethingInterestingWithMyAPI() local
59 if (deliveryCallback == nullptr) { in DoSomethingInterestingWithMyAPI()
63 … smsInterfaceManager->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
70 smsSendManager->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
73 …anager->gsmSmsSender_->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
76 …nager->cdmaSmsSender_->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
/base/telephony/sms_mms/test/fuzztest/databasedsmsdelivery_fuzzer/
Ddatabasedsmsdelivery_fuzzer.cpp57 const sptr<IDeliveryShortMessageCallback> deliveryCallback = in DoSomethingInterestingWithMyAPI() local
59 if (deliveryCallback == nullptr) { in DoSomethingInterestingWithMyAPI()
63 …ceManager->DataBasedSmsDelivery(desAddr, scAddr, port, data, size, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
68 …ndManager->DataBasedSmsDelivery(desAddr, scAddr, port, data, size, sendCallback, deliveryCallback); 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/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/sms/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/sms/
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.cpp119 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in TextBasedSmsDelivery() argument
141 gsmSmsSender_->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in TextBasedSmsDelivery()
144 cdmaSmsSender_->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in TextBasedSmsDelivery()
155 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in DataBasedSmsDelivery() argument
176 …ender_->DataBasedSmsDelivery(desAddr, scAddr, port, data, dataLen, sendCallback, deliveryCallback); in DataBasedSmsDelivery()
179 …ender_->DataBasedSmsDelivery(desAddr, scAddr, port, data, dataLen, sendCallback, deliveryCallback); in DataBasedSmsDelivery()
Dsms_interface_manager.cpp73 …ndShortMessageCallback> &sendCallback, const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in TextBasedSmsDelivery() argument
89 smsSendManager_->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback); in TextBasedSmsDelivery()
95 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in DataBasedSmsDelivery() argument
111 …nager_->DataBasedSmsDelivery(desAddr, scAddr, port, data, dataLen, sendCallback, deliveryCallback); in DataBasedSmsDelivery()
Dsms_interface_stub.cpp148 sptr<IDeliveryShortMessageCallback> deliveryCallback = nullptr; in OnSendSmsTextRequest() local
164 deliveryCallback = iface_cast<IDeliveryShortMessageCallback>(remoteDeliveryCallback); in OnSendSmsTextRequest()
170 int32_t result = SendMessage(slotId, desAddr, scAddr, text, sendCallback, deliveryCallback); in OnSendSmsTextRequest()
181 sptr<IDeliveryShortMessageCallback> deliveryCallback = nullptr; in OnSendSmsDataRequest() local
197 deliveryCallback = iface_cast<IDeliveryShortMessageCallback>(remoteDeliveryCallback); in OnSendSmsDataRequest()
202 …sult = SendMessage(slotId, desAddr, scAddr, port, buffer, dataLen, sendCallback, deliveryCallback); in OnSendSmsDataRequest()
Dsms_service.cpp140 …ndShortMessageCallback> &sendCallback, const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in SendMessage() argument
166 StringUtils::ToUtf8(text), sendCallback, deliveryCallback); in SendMessage()
255 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in SendMessage() argument
281 …ToUtf8(desAddr), StringUtils::ToUtf8(scAddr), port, data, dataLen, sendCallback, deliveryCallback); in SendMessage()
/base/telephony/sms_mms/test/fuzztest/sendmessage_fuzzer/
Dsendmessage_fuzzer.cpp61 …std::unique_ptr<DeliverySendCallbackStub> deliveryCallback = std::make_unique<DeliverySendCallback… in SendSmsTextRequest() local
70 if (deliveryCallback != nullptr) { in SendSmsTextRequest()
71 dataParcel.WriteRemoteObject(deliveryCallback.release()->AsObject().GetRefPtr()); in SendSmsTextRequest()
/base/telephony/sms_mms/test/fuzztest/sendmessagedata_fuzzer/
Dsendmessagedata_fuzzer.cpp60 …std::unique_ptr<DeliverySendCallbackStub> deliveryCallback = std::make_unique<DeliverySendCallback… in SendSmsDataRequest() local
69 if (deliveryCallback != nullptr) { in SendSmsDataRequest()
70 dataParcel.WriteRemoteObject(deliveryCallback.release()->AsObject().GetRefPtr()); in SendSmsDataRequest()
/base/telephony/sms_mms/services/sms/cdma/
Dcdma_sms_sender.cpp41 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in TextBasedSmsDelivery() argument
44 TextBasedSmsDeliveryViaIms(desAddr, scAddr, text, sendCallback, deliveryCallback); in TextBasedSmsDelivery()
58 bool bStatusReport = (deliveryCallback == nullptr) ? false : true; in TextBasedSmsDelivery()
98 …ndexer = make_shared<SmsSendIndexer>(desAddr, scAddr, segmentText, sendCallback, deliveryCallback); in TextBasedSmsDelivery()
125 …ndShortMessageCallback> &sendCallback, const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in TextBasedSmsDeliveryViaIms() argument
131 bool isStatusReport = (deliveryCallback == nullptr) ? false : true; in TextBasedSmsDeliveryViaIms()
145 codingType, msgRef8bit, sendCallback, deliveryCallback); in TextBasedSmsDeliveryViaIms()
154 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in SendSmsForEveryIndexer() argument
159 make_shared<SmsSendIndexer>(desAddr, scAddr, segmentText, sendCallback, deliveryCallback); in SendSmsForEveryIndexer()
182 isStatusReport = (deliveryCallback == nullptr) ? false : true; in SendSmsForEveryIndexer()
[all …]
/base/telephony/sms_mms/test/gtest/
Dzero_branch_sms_test.cpp140 const sptr<IDeliveryShortMessageCallback> deliveryCallback = variable
142 if (deliveryCallback == nullptr) {
149 cdmaSmsSender->TextBasedSmsDelivery(desAddr, scAddr, text, sendCallback, deliveryCallback);
150 … cdmaSmsSender->TextBasedSmsDeliveryViaIms(desAddr, scAddr, text, sendCallback, deliveryCallback);
155 …sIndexer = std::make_shared<SmsSendIndexer>(desAddr, scAddr, text, sendCallback, deliveryCallback);
303 const sptr<IDeliveryShortMessageCallback> deliveryCallback = variable
308 …sIndexer = std::make_shared<SmsSendIndexer>(desAddr, scAddr, text, sendCallback, deliveryCallback);
358 const sptr<IDeliveryShortMessageCallback> deliveryCallback = variable
363 …sIndexer = std::make_shared<SmsSendIndexer>(desAddr, scAddr, text, sendCallback, deliveryCallback);
401 const sptr<IDeliveryShortMessageCallback> deliveryCallback = variable
[all …]
/base/telephony/sms_mms/services/sms/gsm/
Dgsm_sms_sender.cpp44 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in TextBasedSmsDelivery() argument
54 bool isStatusReport = (deliveryCallback == nullptr) ? false : true; in TextBasedSmsDelivery()
84 …ndexer = make_shared<SmsSendIndexer>(desAddr, scAddr, segmentText, sendCallback, deliveryCallback); in TextBasedSmsDelivery()
145 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in DataBasedSmsDelivery() argument
156 … desAddr, scAddr, port, data, dataLen, msgRef8bit, (deliveryCallback == nullptr) ? false : true); in DataBasedSmsDelivery()
163 …smSmsMessage, cellsInfos, tpdu, msgRef8bit, desAddr, scAddr, port, sendCallback, deliveryCallback); in DataBasedSmsDelivery()
169 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in DataBasedSmsDeliverySplitPage() argument
177 …ared<SmsSendIndexer>(desAddr, scAddr, port, dataItem, dataItemLen, sendCallback, deliveryCallback); in DataBasedSmsDeliverySplitPage()
197 deliveryCallback, indexer, cellsInfos); in DataBasedSmsDeliverySplitPage()
204 …const sptr<IDeliveryShortMessageCallback> &deliveryCallback, std::shared_ptr<SmsSendIndexer> index… in DataBasedSmsDeliveryPacketSplitPage() argument
[all …]
/base/telephony/sms_mms/test/fuzztest/smseventissue_fuzzer/
Dsmseventissue_fuzzer.cpp41 const sptr<IDeliveryShortMessageCallback> deliveryCallback = in DoSentIssueTest() local
43 if (deliveryCallback == nullptr) { in DoSentIssueTest()
47 std::make_shared<SmsSendIndexer>(desAddr, scAddr, text, sendCallback, deliveryCallback); in DoSentIssueTest()
/base/telephony/sms_mms/services/sms/include/
Dsms_send_manager.h36 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
39 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_interface_manager.h41 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
44 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
Dsms_sender.h46 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) = 0;
50 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) = 0;
Dsms_service.h54 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) override;
72 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) override;
/base/telephony/sms_mms/frameworks/native/sms/src/
Dsms_service_manager_client.cpp96 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in SendMessage() argument
99 …eturn smsServiceInterface_->SendMessage(slotId, desAddr, scAddr, text, callback, deliveryCallback); in SendMessage()
106 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) in SendMessage() argument
110 slotId, desAddr, scAddr, port, data, dataLen, callback, deliveryCallback); in SendMessage()
/base/telephony/sms_mms/interfaces/innerkits/
Dsms_service_manager_client.h80 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
98 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
/base/telephony/sms_mms/
DREADME_zh.md89 | deliveryCallback | AsyncCallback\<IDeliveryShortMessageCallback> | 送达报告回调 | 是 |
176 1. 构造SendMessageOptions对象,传入必要的参数;若关注发送结果或送达报告,需要传入sendCallback或deliveryCallback对象。
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_sms.cpp134 std::unique_ptr<DeliveryCallback> deliveryCallback) in ActuallySendTextMessage() argument
139 deliveryCallback.release()->OnSmsDeliveryResult(u""); in ActuallySendTextMessage()
144 deliveryCallback.release()); in ActuallySendTextMessage()
148 std::unique_ptr<DeliveryCallback> deliveryCallback) in ActuallySendDataMessage() argument
153 deliveryCallback.release()->OnSmsDeliveryResult(u""); in ActuallySendDataMessage()
160 arrayLength, sendCallback.release(), deliveryCallback.release()); in ActuallySendDataMessage()
175 std::unique_ptr<DeliveryCallback> deliveryCallback = std::make_unique<DeliveryCallback>( in ActuallySendMessage() local
177 if (deliveryCallback == nullptr) { in ActuallySendMessage()
182 … return ActuallySendTextMessage(parameter, std::move(sendCallback), std::move(deliveryCallback)); in ActuallySendMessage()
184 … return ActuallySendDataMessage(parameter, std::move(sendCallback), std::move(deliveryCallback)); in ActuallySendMessage()
/base/telephony/sms_mms/interfaces/kits/js/
D@ohos.telephony.sms.d.ts2774 deliveryCallback?: AsyncCallback<IDeliveryShortMessageCallback>; property

12