Home
last modified time | relevance | path

Searched refs:sendCallBackPtr (Results 1 – 2 of 2) sorted by relevance

/base/telephony/sms_mms/test/unittest/
Dgsm_sms_sender_test.cpp166 OHOS::sptr<SmsSendCallbackTest> sendCallBackPtr(new SmsSendCallbackTest()); in TestGsmSendShortData() local
171 (sizeof(data) / sizeof(data[0]) - 1), sendCallBackPtr, deliveryCallBackPtr); in TestGsmSendShortData()
191 OHOS::sptr<SmsSendCallbackTest> sendCallBackPtr(new SmsSendCallbackTest()); in TestGsmSendLongData() local
203 sizeof(data) / sizeof(data[0]), sendCallBackPtr, deliveryCallBackPtr); in TestGsmSendLongData()
227 OHOS::sptr<SmsSendCallbackTest> sendCallBackPtr(new SmsSendCallbackTest()); in TestSendShortText() local
230 StringUtils::ToUtf16(text), sendCallBackPtr, deliveryCallBackPtr); in TestSendShortText()
257 OHOS::sptr<SmsSendCallbackTest> sendCallBackPtr(new SmsSendCallbackTest()); in TestSendLongText() local
260 StringUtils::ToUtf16(text), sendCallBackPtr, deliveryCallBackPtr); in TestSendLongText()
/base/telephony/sms_mms/test/gtest/
Dsms_mms_gtest.cpp1617 OHOS::sptr<SmsSendCallbackGTest> sendCallBackPtr(new SmsSendCallbackGTest(helper)); in SendDataMessageTestFuc() local
1620 if (sendCallBackPtr == nullptr) { in SendDataMessageTestFuc()
1629 sendCallBackPtr->HasDeliveryCallBack(true); in SendDataMessageTestFuc()
1631 …Utils::ToUtf16(sca), port, DATA_SMS, (sizeof(DATA_SMS) / sizeof(DATA_SMS[0]) - 1), sendCallBackPtr, in SendDataMessageTestFuc()
1639 OHOS::sptr<SmsSendCallbackGTest> sendCallBackPtr(new SmsSendCallbackGTest(helper)); in SendDataMessageTestFuc2() local
1642 if (sendCallBackPtr == nullptr) { in SendDataMessageTestFuc2()
1651 sendCallBackPtr->HasDeliveryCallBack(false); in SendDataMessageTestFuc2()
1653 …Utils::ToUtf16(sca), port, DATA_SMS, (sizeof(DATA_SMS) / sizeof(DATA_SMS[0]) - 1), sendCallBackPtr, in SendDataMessageTestFuc2()
1735 OHOS::sptr<SmsSendCallbackGTest> sendCallBackPtr(new SmsSendCallbackGTest(helper)); in SendTextMessageTestFuc() local
1738 if (sendCallBackPtr == nullptr) { in SendTextMessageTestFuc()
[all …]