Lines Matching refs:helper
119 void SetDefaultSmsSlotIdTestFuc(SmsMmsTestHelper &helper) in SetDefaultSmsSlotIdTestFuc() argument
121 …ult = DelayedSingleton<SmsServiceManagerClient>::GetInstance()->SetDefaultSmsSlotId(helper.slotId); in SetDefaultSmsSlotIdTestFuc()
122 helper.SetIntResult(result); in SetDefaultSmsSlotIdTestFuc()
123 helper.NotifyAll(); in SetDefaultSmsSlotIdTestFuc()
140 SmsMmsTestHelper helper; variable
141 helper.slotId = DEFAULT_SIM_SLOT_ID;
142 if (!helper.Run(SetDefaultSmsSlotIdTestFuc, std::ref(helper))) {
147 ASSERT_EQ(helper.GetIntResult(), 0);
164 SmsMmsTestHelper helper; variable
165 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
166 if (!helper.Run(SetDefaultSmsSlotIdTestFuc, std::ref(helper))) {
171 EXPECT_EQ(helper.GetIntResult(), 0);
187 SmsMmsTestHelper helper; variable
188 helper.slotId = DEFAULT_SIM_SLOT_ID;
189 if (!helper.Run(SetDefaultSmsSlotIdTestFuc, std::ref(helper))) {
194 EXPECT_NE(helper.GetIntResult(), 0);
197 void GetDefaultSmsSlotIdTestFuc(SmsMmsTestHelper &helper) in GetDefaultSmsSlotIdTestFuc() argument
200 helper.SetIntResult(slotId); in GetDefaultSmsSlotIdTestFuc()
201 helper.NotifyAll(); in GetDefaultSmsSlotIdTestFuc()
217 SmsMmsTestHelper helper; variable
218 if (!helper.Run(GetDefaultSmsSlotIdTestFuc, std::ref(helper))) {
223 ASSERT_EQ(helper.GetIntResult(), 0);
226 void GetDefaultSmsSimIdTestFuc(SmsMmsTestHelper &helper) in GetDefaultSmsSimIdTestFuc() argument
230 helper.SetIntResult(simId); in GetDefaultSmsSimIdTestFuc()
231 helper.NotifyAll(); in GetDefaultSmsSimIdTestFuc()
247 SmsMmsTestHelper helper; variable
248 if (!helper.Run(GetDefaultSmsSimIdTestFuc, std::ref(helper))) {
253 ASSERT_GT(helper.GetIntResult(), 0);
269 SmsMmsTestHelper helper; variable
270 if (!helper.Run(GetDefaultSmsSimIdTestFuc, std::ref(helper))) {
275 ASSERT_GT(helper.GetIntResult(), 0);
278 void SetSmscAddrTestFuc(SmsMmsTestHelper &helper) in SetSmscAddrTestFuc() argument
283 helper.slotId, StringUtils::ToUtf16(scAddr)); in SetSmscAddrTestFuc()
284 helper.SetIntResult(result); in SetSmscAddrTestFuc()
285 helper.NotifyAll(); in SetSmscAddrTestFuc()
303 SmsMmsTestHelper helper; variable
304 helper.slotId = DEFAULT_SIM_SLOT_ID_REMOVE;
305 if (!helper.Run(SetSmscAddrTestFuc, std::ref(helper))) {
310 EXPECT_NE(helper.GetIntResult(), 0);
327 SmsMmsTestHelper helper; variable
328 helper.slotId = DEFAULT_SIM_SLOT_ID_REMOVE;
329 if (!helper.Run(SetSmscAddrTestFuc, std::ref(helper))) {
334 EXPECT_NE(helper.GetIntResult(), 0);
337 void DelAllSimMessagesTestFuc(SmsMmsTestHelper &helper) in DelAllSimMessagesTestFuc() argument
340 …DelayedSingleton<SmsServiceManagerClient>::GetInstance()->GetAllSimMessages(helper.slotId, message… in DelAllSimMessagesTestFuc()
343 …DelayedSingleton<SmsServiceManagerClient>::GetInstance()->DelSimMessage(helper.slotId, msg.GetInde… in DelAllSimMessagesTestFuc()
345 helper.SetBoolResult(message.size() >= 0); in DelAllSimMessagesTestFuc()
346 helper.NotifyAll(); in DelAllSimMessagesTestFuc()
363 SmsMmsTestHelper helper; variable
364 helper.slotId = DEFAULT_SIM_SLOT_ID;
365 if (!helper.Run(DelAllSimMessagesTestFuc, std::ref(helper), WAIT_TIME_LONG_SECOND)) {
370 EXPECT_TRUE(helper.GetBoolResult());
387 SmsMmsTestHelper helper; variable
388 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
389 if (!helper.Run(DelAllSimMessagesTestFuc, std::ref(helper), WAIT_TIME_LONG_SECOND)) {
394 EXPECT_TRUE(helper.GetBoolResult());
397 void AddSimMessageTestFuc(SmsMmsTestHelper &helper) in AddSimMessageTestFuc() argument
403 … helper.slotId, smscData, pduData, static_cast<ISmsServiceInterface::SimMessageStatus>(status)); in AddSimMessageTestFuc()
404 helper.SetIntResult(result); in AddSimMessageTestFuc()
405 helper.NotifyAll(); in AddSimMessageTestFuc()
422 SmsMmsTestHelper helper; variable
423 helper.slotId = DEFAULT_SIM_SLOT_ID;
425 if (!helper.Run(AddSimMessageTestFuc, std::ref(helper))) {
430 ASSERT_EQ(helper.GetIntResult(), 0);
447 SmsMmsTestHelper helper; variable
448 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
450 if (!helper.Run(AddSimMessageTestFuc, std::ref(helper))) {
455 ASSERT_EQ(helper.GetIntResult(), 0);
471 SmsMmsTestHelper helper; variable
472 helper.slotId = DEFAULT_SIM_SLOT_ID;
474 if (!helper.Run(AddSimMessageTestFuc, std::ref(helper))) {
479 EXPECT_NE(helper.GetIntResult(), 0);
482 void GetAllSimMessagesTestFuc(SmsMmsTestHelper &helper) in GetAllSimMessagesTestFuc() argument
485 …DelayedSingleton<SmsServiceManagerClient>::GetInstance()->GetAllSimMessages(helper.slotId, message… in GetAllSimMessagesTestFuc()
487 helper.SetBoolResult(empty); in GetAllSimMessagesTestFuc()
488 helper.NotifyAll(); in GetAllSimMessagesTestFuc()
505 SmsMmsTestHelper helper; variable
506 helper.slotId = DEFAULT_SIM_SLOT_ID;
507 if (!helper.Run(GetAllSimMessagesTestFuc, std::ref(helper))) {
512 EXPECT_FALSE(helper.GetBoolResult());
529 SmsMmsTestHelper helper; variable
530 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
531 if (!helper.Run(GetAllSimMessagesTestFuc, std::ref(helper))) {
536 EXPECT_FALSE(helper.GetBoolResult());
552 SmsMmsTestHelper helper; variable
553 helper.slotId = DEFAULT_SIM_SLOT_ID;
554 if (!helper.Run(GetAllSimMessagesTestFuc, std::ref(helper))) {
559 ASSERT_TRUE(helper.GetBoolResult());
562 void UpdateSimMessageTestFuc(SmsMmsTestHelper &helper) in UpdateSimMessageTestFuc() argument
570 …helper.slotId, msgIndex, static_cast<ISmsServiceInterface::SimMessageStatus>(status), pduData, sms… in UpdateSimMessageTestFuc()
571 helper.SetIntResult(result); in UpdateSimMessageTestFuc()
572 helper.NotifyAll(); in UpdateSimMessageTestFuc()
589 SmsMmsTestHelper helper; variable
590 helper.slotId = DEFAULT_SIM_SLOT_ID;
591 if (!helper.Run(UpdateSimMessageTestFuc, std::ref(helper))) {
596 ASSERT_GE(helper.GetIntResult(), 0);
614 SmsMmsTestHelper helper; variable
615 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
616 if (!helper.Run(UpdateSimMessageTestFuc, std::ref(helper))) {
621 ASSERT_GE(helper.GetIntResult(), 0);
637 SmsMmsTestHelper helper; variable
638 helper.slotId = DEFAULT_SIM_SLOT_ID;
639 if (!helper.Run(UpdateSimMessageTestFuc, std::ref(helper))) {
644 EXPECT_NE(helper.GetIntResult(), 0);
647 void DelSimMessageTestFuc(SmsMmsTestHelper &helper) in DelSimMessageTestFuc() argument
650 …int32_t result = DelayedSingleton<SmsServiceManagerClient>::GetInstance()->DelSimMessage(helper.sl… in DelSimMessageTestFuc()
651 helper.SetIntResult(result); in DelSimMessageTestFuc()
652 helper.NotifyAll(); in DelSimMessageTestFuc()
669 SmsMmsTestHelper helper; variable
670 helper.slotId = DEFAULT_SIM_SLOT_ID;
671 if (!helper.Run(DelSimMessageTestFuc, std::ref(helper))) {
676 ASSERT_GE(helper.GetIntResult(), 0);
693 SmsMmsTestHelper helper; variable
694 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
695 if (!helper.Run(DelSimMessageTestFuc, std::ref(helper))) {
700 ASSERT_GE(helper.GetIntResult(), 0);
716 SmsMmsTestHelper helper; variable
717 helper.slotId = DEFAULT_SIM_SLOT_ID;
718 if (!helper.Run(DelSimMessageTestFuc, std::ref(helper))) {
723 EXPECT_NE(helper.GetIntResult(), 0);
726 void SetImsSmsConfigTestFuc(SmsMmsTestHelper &helper) in SetImsSmsConfigTestFuc() argument
728 DelayedSingleton<SmsServiceManagerClient>::GetInstance()->SetImsSmsConfig(helper.slotId, 1); in SetImsSmsConfigTestFuc()
730 …DelayedSingleton<SmsServiceManagerClient>::GetInstance()->IsImsSmsSupported(helper.slotId, isSuppo… in SetImsSmsConfigTestFuc()
731 helper.SetBoolResult(isSupported); in SetImsSmsConfigTestFuc()
732 helper.NotifyAll(); in SetImsSmsConfigTestFuc()
750 SmsMmsTestHelper helper; variable
751 helper.slotId = DEFAULT_SIM_SLOT_ID;
752 if (!helper.Run(SetImsSmsConfigTestFuc, std::ref(helper))) {
757 ASSERT_TRUE(helper.GetBoolResult());
760 void SetImsSmsConfigTestFuc2(SmsMmsTestHelper &helper) in SetImsSmsConfigTestFuc2() argument
763 DelayedSingleton<SmsServiceManagerClient>::GetInstance()->SetImsSmsConfig(helper.slotId, 0); in SetImsSmsConfigTestFuc2()
764 …DelayedSingleton<SmsServiceManagerClient>::GetInstance()->IsImsSmsSupported(helper.slotId, isSuppo… in SetImsSmsConfigTestFuc2()
765 helper.SetBoolResult(isSupported); in SetImsSmsConfigTestFuc2()
766 helper.NotifyAll(); in SetImsSmsConfigTestFuc2()
784 SmsMmsTestHelper helper; variable
785 helper.slotId = DEFAULT_SIM_SLOT_ID;
786 if (!helper.Run(SetImsSmsConfigTestFuc2, std::ref(helper))) {
791 EXPECT_FALSE(helper.GetBoolResult());
809 SmsMmsTestHelper helper; variable
810 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
811 if (!helper.Run(SetImsSmsConfigTestFuc, std::ref(helper))) {
816 ASSERT_TRUE(helper.GetBoolResult());
833 SmsMmsTestHelper helper; variable
834 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
835 if (!helper.Run(SetImsSmsConfigTestFuc2, std::ref(helper))) {
840 EXPECT_FALSE(helper.GetBoolResult());
857 SmsMmsTestHelper helper; variable
858 helper.slotId = DEFAULT_SIM_SLOT_ID;
859 if (!helper.Run(SetImsSmsConfigTestFuc, std::ref(helper))) {
864 EXPECT_FALSE(helper.GetBoolResult());
867 void SendDataMessageTestFuc(SmsMmsTestHelper &helper) in SendDataMessageTestFuc() argument
871 if (!CoreServiceClient::GetInstance().GetSimTelephoneNumber(helper.slotId, simcardNumber) && in SendDataMessageTestFuc()
877 OHOS::sptr<SmsSendCallbackGTest> sendCallBackPtr(new SmsSendCallbackGTest(helper)); in SendDataMessageTestFuc()
878 OHOS::sptr<SmsDeliveryCallbackGTest> deliveryCallBackPtr(new SmsDeliveryCallbackGTest(helper)); in SendDataMessageTestFuc()
882 helper.NotifyAll(); in SendDataMessageTestFuc()
887 helper.NotifyAll(); in SendDataMessageTestFuc()
890 …DelayedSingleton<SmsServiceManagerClient>::GetInstance()->SendMessage(helper.slotId, StringUtils::… in SendDataMessageTestFuc()
895 void SendDataMessageTestFuc2(SmsMmsTestHelper &helper) in SendDataMessageTestFuc2() argument
899 if (!CoreServiceClient::GetInstance().GetSimTelephoneNumber(helper.slotId, simcardNumber) && in SendDataMessageTestFuc2()
905 OHOS::sptr<SmsSendCallbackGTest> sendCallBackPtr(new SmsSendCallbackGTest(helper)); in SendDataMessageTestFuc2()
906 OHOS::sptr<SmsDeliveryCallbackGTest> deliveryCallBackPtr(new SmsDeliveryCallbackGTest(helper)); in SendDataMessageTestFuc2()
910 helper.NotifyAll(); in SendDataMessageTestFuc2()
915 helper.NotifyAll(); in SendDataMessageTestFuc2()
918 …DelayedSingleton<SmsServiceManagerClient>::GetInstance()->SendMessage(helper.slotId, StringUtils::… in SendDataMessageTestFuc2()
938 SmsMmsTestHelper helper; variable
939 helper.slotId = slotId;
940 if (!helper.Run(SendDataMessageTestFuc, helper, WAIT_TIME_SHORT_SECOND)) {
944 ASSERT_TRUE(helper.GetSendSmsIntResult() == 0 || helper.GetDeliverySmsIntResult() == 0);
962 SmsMmsTestHelper helper; variable
963 helper.slotId = slotId;
964 if (!helper.Run(SendDataMessageTestFuc, helper, WAIT_TIME_SHORT_SECOND)) {
968 ASSERT_TRUE(helper.GetSendSmsIntResult() == 0 || helper.GetDeliverySmsIntResult() == 0);
985 SmsMmsTestHelper helper; variable
986 helper.slotId = slotId;
987 if (!helper.Run(SendDataMessageTestFuc2, helper)) {
993 EXPECT_NE(helper.GetSendSmsIntResult(), 0);
996 void SendTextMessageTestFuc(SmsMmsTestHelper &helper) in SendTextMessageTestFuc() argument
1000 if (!CoreServiceClient::GetInstance().GetSimTelephoneNumber(helper.slotId, simcardNumber) && in SendTextMessageTestFuc()
1006 OHOS::sptr<SmsSendCallbackGTest> sendCallBackPtr(new SmsSendCallbackGTest(helper)); in SendTextMessageTestFuc()
1007 OHOS::sptr<SmsDeliveryCallbackGTest> deliveryCallBackPtr(new SmsDeliveryCallbackGTest(helper)); in SendTextMessageTestFuc()
1011 helper.NotifyAll(); in SendTextMessageTestFuc()
1017 helper.NotifyAll(); in SendTextMessageTestFuc()
1021 …DelayedSingleton<SmsServiceManagerClient>::GetInstance()->SendMessage(helper.slotId, StringUtils::… in SendTextMessageTestFuc()
1025 void SendTextMessageTestFuc2(SmsMmsTestHelper &helper) in SendTextMessageTestFuc2() argument
1029 if (!CoreServiceClient::GetInstance().GetSimTelephoneNumber(helper.slotId, simcardNumber) && in SendTextMessageTestFuc2()
1035 OHOS::sptr<SmsSendCallbackGTest> sendCallBackPtr(new SmsSendCallbackGTest(helper)); in SendTextMessageTestFuc2()
1036 OHOS::sptr<SmsDeliveryCallbackGTest> deliveryCallBackPtr(new SmsDeliveryCallbackGTest(helper)); in SendTextMessageTestFuc2()
1040 helper.NotifyAll(); in SendTextMessageTestFuc2()
1046 helper.NotifyAll(); in SendTextMessageTestFuc2()
1050 …DelayedSingleton<SmsServiceManagerClient>::GetInstance()->SendMessage(helper.slotId, StringUtils::… in SendTextMessageTestFuc2()
1069 SmsMmsTestHelper helper; variable
1070 helper.slotId = slotId;
1071 if (!helper.Run(SendTextMessageTestFuc, helper, WAIT_TIME_SHORT_SECOND)) {
1075 ASSERT_TRUE(helper.GetSendSmsIntResult() == 0 || helper.GetDeliverySmsIntResult() == 0);
1093 SmsMmsTestHelper helper; variable
1094 helper.slotId = slotId;
1095 if (!helper.Run(SendTextMessageTestFuc, helper, WAIT_TIME_SHORT_SECOND)) {
1099 ASSERT_TRUE(helper.GetSendSmsIntResult() == 0 || helper.GetDeliverySmsIntResult() == 0);
1116 SmsMmsTestHelper helper; variable
1117 helper.slotId = slotId;
1118 if (!helper.Run(SendTextMessageTestFuc2, helper)) {
1124 EXPECT_NE(helper.GetSendSmsIntResult(), 0);
1127 void ReceiveSmsTestFunc(SmsMmsTestHelper &helper) in ReceiveSmsTestFunc() argument
1130 auto smsReceiveHandler = std::make_shared<GsmSmsReceiveHandler>(runner, helper.slotId); in ReceiveSmsTestFunc()
1156 SmsMmsTestHelper helper; variable
1157 helper.slotId = slotId;
1163 std::make_shared<SmsBroadcastSubscriberGtest>(subscriberInfo, helper);
1171 if (!helper.Run(ReceiveSmsTestFunc, helper)) {
1177 EXPECT_TRUE(helper.GetBoolResult());
1195 SmsMmsTestHelper helper; variable
1196 helper.slotId = slotId;
1202 std::make_shared<SmsBroadcastSubscriberGtest>(subscriberInfo, helper);
1210 if (!helper.Run(ReceiveSmsTestFunc, helper)) {
1216 EXPECT_TRUE(helper.GetBoolResult());
1219 void GetSmsSegmentsInfoTestFuc(SmsMmsTestHelper &helper) in GetSmsSegmentsInfoTestFuc() argument
1225 helper.slotId, message, force7BitCode, result); in GetSmsSegmentsInfoTestFuc()
1227 …DelayedSingleton<SmsServiceManagerClient>::GetInstance()->IsImsSmsSupported(helper.slotId, isSuppo… in GetSmsSegmentsInfoTestFuc()
1228 helper.SetBoolResult(isSupported); in GetSmsSegmentsInfoTestFuc()
1229 helper.NotifyAll(); in GetSmsSegmentsInfoTestFuc()
1232 void GetSmsSegmentsInfoTestFuc2(SmsMmsTestHelper &helper) in GetSmsSegmentsInfoTestFuc2() argument
1238 helper.slotId, message, force7BitCode, result); in GetSmsSegmentsInfoTestFuc2()
1240 …DelayedSingleton<SmsServiceManagerClient>::GetInstance()->IsImsSmsSupported(helper.slotId, isSuppo… in GetSmsSegmentsInfoTestFuc2()
1241 helper.SetBoolResult(isSupported); in GetSmsSegmentsInfoTestFuc2()
1242 helper.NotifyAll(); in GetSmsSegmentsInfoTestFuc2()
1259 SmsMmsTestHelper helper; variable
1260 helper.slotId = slotId;
1261 if (!helper.Run(GetSmsSegmentsInfoTestFuc, helper)) {
1266 EXPECT_FALSE(helper.GetBoolResult());
1283 SmsMmsTestHelper helper; variable
1284 helper.slotId = slotId;
1285 if (!helper.Run(GetSmsSegmentsInfoTestFuc2, helper)) {
1290 EXPECT_FALSE(helper.GetBoolResult());
1307 SmsMmsTestHelper helper; variable
1308 helper.slotId = slotId;
1309 if (!helper.Run(GetSmsSegmentsInfoTestFuc, helper)) {
1314 EXPECT_FALSE(helper.GetBoolResult());
1317 void Create7bitSubmitSmsTestFuc(SmsMmsTestHelper &helper) in Create7bitSubmitSmsTestFuc() argument
1322 helper.SetIntResult(1); in Create7bitSubmitSmsTestFuc()
1323 helper.NotifyAll(); in Create7bitSubmitSmsTestFuc()
1327 helper.SetIntResult(result); in Create7bitSubmitSmsTestFuc()
1328 helper.NotifyAll(); in Create7bitSubmitSmsTestFuc()
1345 SmsMmsTestHelper helper; variable
1346 helper.slotId = DEFAULT_SIM_SLOT_ID;
1347 if (!helper.Run(Create7bitSubmitSmsTestFuc, std::ref(helper))) {
1353 ASSERT_EQ(helper.GetIntResult(), 0);
1370 SmsMmsTestHelper helper; variable
1371 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
1372 if (!helper.Run(Create7bitSubmitSmsTestFuc, std::ref(helper))) {
1378 ASSERT_EQ(helper.GetIntResult(), 0);
1381 void CreateUcs2SubmitSmsTestFuc(SmsMmsTestHelper &helper) in CreateUcs2SubmitSmsTestFuc() argument
1386 helper.SetIntResult(1); in CreateUcs2SubmitSmsTestFuc()
1387 helper.NotifyAll(); in CreateUcs2SubmitSmsTestFuc()
1391 helper.SetIntResult(result); in CreateUcs2SubmitSmsTestFuc()
1392 helper.NotifyAll(); in CreateUcs2SubmitSmsTestFuc()
1409 SmsMmsTestHelper helper; variable
1410 helper.slotId = DEFAULT_SIM_SLOT_ID;
1411 if (!helper.Run(CreateUcs2SubmitSmsTestFuc, std::ref(helper))) {
1417 ASSERT_EQ(helper.GetIntResult(), 0);
1434 SmsMmsTestHelper helper; variable
1435 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
1436 if (!helper.Run(CreateUcs2SubmitSmsTestFuc, std::ref(helper))) {
1442 ASSERT_EQ(helper.GetIntResult(), 0);
1445 void Create7bitDeliverySmsTestFuc(SmsMmsTestHelper &helper) in Create7bitDeliverySmsTestFuc() argument
1451 helper.SetIntResult(1); in Create7bitDeliverySmsTestFuc()
1452 helper.NotifyAll(); in Create7bitDeliverySmsTestFuc()
1456 helper.SetIntResult(result); in Create7bitDeliverySmsTestFuc()
1457 helper.NotifyAll(); in Create7bitDeliverySmsTestFuc()
1474 SmsMmsTestHelper helper; variable
1475 helper.slotId = DEFAULT_SIM_SLOT_ID;
1476 if (!helper.Run(Create7bitDeliverySmsTestFuc, std::ref(helper))) {
1482 ASSERT_EQ(helper.GetIntResult(), 0);
1499 SmsMmsTestHelper helper; variable
1500 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
1501 if (!helper.Run(Create7bitDeliverySmsTestFuc, std::ref(helper))) {
1507 ASSERT_EQ(helper.GetIntResult(), 0);
1510 void CreateUcs2DeliverySmsTestFuc(SmsMmsTestHelper &helper) in CreateUcs2DeliverySmsTestFuc() argument
1516 helper.SetIntResult(1); in CreateUcs2DeliverySmsTestFuc()
1517 helper.NotifyAll(); in CreateUcs2DeliverySmsTestFuc()
1521 helper.SetIntResult(result); in CreateUcs2DeliverySmsTestFuc()
1522 helper.NotifyAll(); in CreateUcs2DeliverySmsTestFuc()
1539 SmsMmsTestHelper helper; variable
1540 helper.slotId = DEFAULT_SIM_SLOT_ID;
1541 if (!helper.Run(CreateUcs2DeliverySmsTestFuc, std::ref(helper))) {
1547 ASSERT_EQ(helper.GetIntResult(), 0);
1564 SmsMmsTestHelper helper; variable
1565 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
1566 if (!helper.Run(CreateUcs2DeliverySmsTestFuc, std::ref(helper))) {
1572 ASSERT_EQ(helper.GetIntResult(), 0);
1575 void CreateStatusReportSmsTestFuc(SmsMmsTestHelper &helper) in CreateStatusReportSmsTestFuc() argument
1581 helper.SetIntResult(1); in CreateStatusReportSmsTestFuc()
1582 helper.NotifyAll(); in CreateStatusReportSmsTestFuc()
1586 helper.SetIntResult(result); in CreateStatusReportSmsTestFuc()
1587 helper.NotifyAll(); in CreateStatusReportSmsTestFuc()
1604 SmsMmsTestHelper helper; variable
1605 helper.slotId = DEFAULT_SIM_SLOT_ID;
1606 if (!helper.Run(CreateStatusReportSmsTestFuc, std::ref(helper))) {
1612 ASSERT_EQ(helper.GetIntResult(), 0);
1629 SmsMmsTestHelper helper; variable
1630 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
1631 if (!helper.Run(CreateStatusReportSmsTestFuc, std::ref(helper))) {
1637 ASSERT_EQ(helper.GetIntResult(), 0);
1640 void CreateMultiPageSmsTestFuc(SmsMmsTestHelper &helper) in CreateMultiPageSmsTestFuc() argument
1650 helper.SetIntResult(1); in CreateMultiPageSmsTestFuc()
1651 helper.NotifyAll(); in CreateMultiPageSmsTestFuc()
1655 helper.SetIntResult(result); in CreateMultiPageSmsTestFuc()
1656 helper.NotifyAll(); in CreateMultiPageSmsTestFuc()
1673 SmsMmsTestHelper helper; variable
1674 helper.slotId = DEFAULT_SIM_SLOT_ID;
1675 if (!helper.Run(CreateMultiPageSmsTestFuc, std::ref(helper))) {
1681 ASSERT_EQ(helper.GetIntResult(), 0);
1698 SmsMmsTestHelper helper; variable
1699 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
1700 if (!helper.Run(CreateMultiPageSmsTestFuc, std::ref(helper))) {
1706 ASSERT_EQ(helper.GetIntResult(), 0);
1709 void CreateWapPushSmsTestFuc(SmsMmsTestHelper &helper) in CreateWapPushSmsTestFuc() argument
1714 helper.SetIntResult(1); in CreateWapPushSmsTestFuc()
1715 helper.NotifyAll(); in CreateWapPushSmsTestFuc()
1719 helper.SetIntResult(result); in CreateWapPushSmsTestFuc()
1720 helper.NotifyAll(); in CreateWapPushSmsTestFuc()
1737 SmsMmsTestHelper helper; variable
1738 helper.slotId = DEFAULT_SIM_SLOT_ID;
1739 if (!helper.Run(CreateWapPushSmsTestFuc, std::ref(helper))) {
1745 ASSERT_EQ(helper.GetIntResult(), 0);
1762 SmsMmsTestHelper helper; variable
1763 helper.slotId = DEFAULT_SIM_SLOT_ID_1;
1764 if (!helper.Run(CreateWapPushSmsTestFuc, std::ref(helper))) {
1770 ASSERT_EQ(helper.GetIntResult(), 0);