/base/telephony/sms_mms/test/fuzztest/textbasedsmsdelivery_fuzzer/ |
D | textbasedsmsdelivery_fuzzer.cpp | 57 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/ |
D | databasedsmsdelivery_fuzzer.cpp | 57 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/ |
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/sms/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/sms/ |
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 | 119 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()
|
D | sms_interface_manager.cpp | 73 …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()
|
D | sms_interface_stub.cpp | 148 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()
|
D | sms_service.cpp | 140 …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/ |
D | sendmessage_fuzzer.cpp | 61 …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/ |
D | sendmessagedata_fuzzer.cpp | 60 …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/ |
D | cdma_sms_sender.cpp | 41 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/ |
D | zero_branch_sms_test.cpp | 140 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/ |
D | gsm_sms_sender.cpp | 44 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/ |
D | smseventissue_fuzzer.cpp | 41 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/ |
D | sms_send_manager.h | 36 const sptr<IDeliveryShortMessageCallback> &deliveryCallback); 39 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_interface_manager.h | 41 const sptr<IDeliveryShortMessageCallback> &deliveryCallback); 44 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
|
D | sms_sender.h | 46 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) = 0; 50 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) = 0;
|
D | sms_service.h | 54 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) override; 72 const sptr<IDeliveryShortMessageCallback> &deliveryCallback) override;
|
/base/telephony/sms_mms/frameworks/native/sms/src/ |
D | sms_service_manager_client.cpp | 96 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/ |
D | sms_service_manager_client.h | 80 const sptr<IDeliveryShortMessageCallback> &deliveryCallback); 98 const sptr<IDeliveryShortMessageCallback> &deliveryCallback);
|
/base/telephony/sms_mms/ |
D | README_zh.md | 89 | deliveryCallback | AsyncCallback\<IDeliveryShortMessageCallback> | 送达报告回调 | 是 | 176 1. 构造SendMessageOptions对象,传入必要的参数;若关注发送结果或送达报告,需要传入sendCallback或deliveryCallback对象。
|
/base/telephony/sms_mms/frameworks/js/napi/src/ |
D | napi_sms.cpp | 134 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.ts | 2774 deliveryCallback?: AsyncCallback<IDeliveryShortMessageCallback>; property
|