/base/telephony/sms_mms/test/fuzztest/textbasedsmsdelivery_fuzzer/ |
D | textbasedsmsdelivery_fuzzer.cpp | 51 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/ |
D | databasedsmsdelivery_fuzzer.cpp | 51 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/ |
D | cdma_sms_sender.h | 35 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/ |
D | gsm_sms_sender.h | 43 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/ |
D | sms_send_indexer.cpp | 23 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()
|
D | sms_send_manager.cpp | 121 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()
|
D | sms_interface_manager.cpp | 58 …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()
|
D | sms_interface_stub.cpp | 102 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()
|
D | sms_service.cpp | 136 …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/ |
D | sendmessage_fuzzer.cpp | 62 …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/ |
D | sendmessagedata_fuzzer.cpp | 61 …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/ |
D | cdma_sms_sender.cpp | 38 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/ |
D | gsm_sms_sender.cpp | 45 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/ |
D | sms_send_manager.h | 36 const sptr<IDeliveryShortMessageCallback> &deliveryCallback); 39 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
|
D | sms_interface_manager.h | 39 const sptr<IDeliveryShortMessageCallback> &deliveryCallback); 42 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
|
D | sms_send_indexer.h | 35 const sptr<IDeliveryShortMessageCallback> &deliveryCallback); 38 const sptr<IDeliveryShortMessageCallback> &deliveryCallback); 64 void SetDeliveryCallback(const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
|
D | sms_service.h | 53 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) override; 71 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) override;
|
D | sms_sender.h | 46 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) = 0; 50 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) = 0;
|
/base/telephony/sms_mms/test/fuzztest/smseventissue_fuzzer/ |
D | smseventissue_fuzzer.cpp | 43 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/ |
D | sms_service_manager_client.cpp | 89 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/ |
D | sms_service_manager_client.h | 39 const sptr<IDeliveryShortMessageCallback> &deliveryCallback); 42 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
|
/base/telephony/sms_mms/ |
D | README_zh.md | 87 | deliveryCallback | AsyncCallback\<IDeliveryShortMessageCallback> | 送达报告回调 | 是 | 169 1. 构造SendMessageOptions对象,传入必要的参数;若关注发送结果或送达报告,需要传入sendCallback或deliveryCallback对象。
|
D | README.md | 148 …><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/ |
D | napi_sms.cpp | 136 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.ts | 752 deliveryCallback?: AsyncCallback<IDeliveryShortMessageCallback>; property
|