Home
last modified time | relevance | path

Searched refs:oldIter (Results 1 – 3 of 3) sorted by relevance

/base/telephony/sms_mms/services/sms/
Dsms_misc_manager.cpp70 …uint32_t fromMsgId, uint32_t toMsgId, const std::list<gsmCBRangeInfo>::iterator &oldIter, infoData… in ExpandMsgId() argument
72 if (static_cast<int32_t>(toMsgId) < static_cast<int32_t>((*oldIter).fromMsgId) - 1) { in ExpandMsgId()
74 } else if (static_cast<int32_t>(toMsgId) == static_cast<int32_t>((*oldIter).fromMsgId) - 1) { in ExpandMsgId()
75 data.endPos = (*oldIter).toMsgId; in ExpandMsgId()
76 rangeList_.erase(oldIter); in ExpandMsgId()
78 } else if (toMsgId > (*oldIter).fromMsgId) { in ExpandMsgId()
79 data.endPos = (*oldIter).toMsgId; in ExpandMsgId()
80 rangeList_.erase(oldIter); in ExpandMsgId()
82 } else if ((static_cast<int32_t>(toMsgId) == static_cast<int32_t>((*oldIter).fromMsgId) - 1) || in ExpandMsgId()
83 (toMsgId == (*oldIter).fromMsgId)) { in ExpandMsgId()
[all …]
/base/telephony/sms_mms/services/sms/include/
Dsms_misc_manager.h96 …uint32_t fromMsgId, uint32_t toMsgId, const std::list<gsmCBRangeInfo>::iterator &oldIter, infoData…
98 …uint32_t fromMsgId, uint32_t toMsgId, const std::list<gsmCBRangeInfo>::iterator &oldIter, infoData…
/base/telephony/sms_mms/test/gtest/
Dzero_branch_sms_test.cpp1073 auto oldIter = smsMiscManager->rangeList_.begin(); variable
1075 EXPECT_TRUE(smsMiscManager->ExpandMsgId(1, 1, oldIter, data));
1076 EXPECT_TRUE(smsMiscManager->ExpandMsgId(1, 0, oldIter, data));