Home
last modified time | relevance | path

Searched refs:dbIndexers (Results 1 – 5 of 5) sorted by relevance

/base/telephony/sms_mms/services/sms/
Dsms_receive_reliability_handler.cpp105 void SmsReceiveReliabilityHandler::RemoveBlockedSms(std::vector<SmsReceiveIndexer> &dbIndexers) in RemoveBlockedSms() argument
109 DelayedSingleton<SmsPersistHelper>::GetInstance()->Query(predicates, dbIndexers); in RemoveBlockedSms()
111 for (auto smsPage = dbIndexers.begin(); smsPage != dbIndexers.end();) { in RemoveBlockedSms()
114 smsPage = dbIndexers.erase(smsPage); in RemoveBlockedSms()
116 smsPage = dbIndexers.erase(smsPage); in RemoveBlockedSms()
123 void SmsReceiveReliabilityHandler::CheckUnReceiveWapPush(std::vector<SmsReceiveIndexer> &dbIndexers) in CheckUnReceiveWapPush() argument
125 for (auto place = dbIndexers.begin(); place != dbIndexers.end();) { in CheckUnReceiveWapPush()
136 int32_t pos = static_cast<int32_t>(std::distance(dbIndexers.begin(), place)); in CheckUnReceiveWapPush()
137 GetWapPushUserDataMultipage(smsPagesCount, dbIndexers, pos, userDataRaws); in CheckUnReceiveWapPush()
139 place = dbIndexers.erase(place); in CheckUnReceiveWapPush()
[all …]
Dsms_receive_handler.cpp104 std::vector<SmsReceiveIndexer> dbIndexers; in CombineMessagePart() local
111 DelayedSingleton<SmsPersistHelper>::GetInstance()->Query(predicates, dbIndexers); in CombineMessagePart()
113 for (const auto &v : dbIndexers) { in CombineMessagePart()
158 std::vector<SmsReceiveIndexer> dbIndexers; in IsRepeatedMessagePart() local
165 DelayedSingleton<SmsPersistHelper>::GetInstance()->Query(predicates, dbIndexers); in IsRepeatedMessagePart()
167 for (const auto &it : dbIndexers) { in IsRepeatedMessagePart()
/base/telephony/sms_mms/services/sms/include/
Dsms_receive_reliability_handler.h37 void RemoveBlockedSms(std::vector<SmsReceiveIndexer> &dbIndexers);
38 void CheckUnReceiveWapPush(std::vector<SmsReceiveIndexer> &dbIndexers);
42 …serDataMultipage(int32_t &smsPagesCount, std::vector<SmsReceiveIndexer> &dbIndexers, int32_t place,
45 …void GetSmsUserDataMultipage(int32_t &smsPagesCount, std::vector<SmsReceiveIndexer> &dbIndexers, i…
/base/telephony/sms_mms/test/fuzztest/smsrecvitem_fuzzer/
Dsmsrecvitem_fuzzer.cpp66 std::vector<SmsReceiveIndexer> dbIndexers; in DoRecvItemsTest() local
71 dbIndexers.push_back(indexer); in DoRecvItemsTest()
74 dbIndexers.push_back(indexer); in DoRecvItemsTest()
75 reliabilityHandler->CheckUnReceiveWapPush(dbIndexers); in DoRecvItemsTest()
82 reliabilityHandler->GetWapPushUserDataMultipage(pages, dbIndexers, size, userDataRaws); in DoRecvItemsTest()
84 reliabilityHandler->GetSmsUserDataMultipage(pages, dbIndexers, size, userDataRaws); in DoRecvItemsTest()
87 reliabilityHandler->RemoveBlockedSms(dbIndexers); in DoRecvItemsTest()
/base/telephony/sms_mms/test/gtest/
Dzero_branch_sms_test.cpp1171 std::vector<SmsReceiveIndexer> dbIndexers; variable
1176 dbIndexers.push_back(indexer);
1179 dbIndexers.push_back(indexer);
1180 reliabilityHandler->CheckUnReceiveWapPush(dbIndexers);
1188 reliabilityHandler->GetSmsUserDataMultipage(pages, dbIndexers, 0, userDataRaws);
1191 reliabilityHandler->RemoveBlockedSms(dbIndexers);