Home
last modified time | relevance | path

Searched refs:telephone (Results 1 - 3 of 3) sorted by relevance

/base/telephony/sms_mms/services/sms/include/
H A Dsms_service.h38 void InsertSessionAndDetail(int32_t slotId, const std::string &telephone, const std::string &text,
360 bool QuerySessionByTelephone(const std::string &telephone, uint16_t &sessionId, uint16_t &messageCount);
/base/telephony/sms_mms/services/sms/
H A Dsms_service.cpp195 void SmsService::InsertSessionAndDetail(int32_t slotId, const std::string &telephone, const std::string &text, in InsertSessionAndDetail() argument
200 bool ret = QuerySessionByTelephone(telephone, sessionId, messageCount); in InsertSessionAndDetail()
202 InsertSmsMmsInfo(slotId, sessionId, telephone, text, dataBaseId); in InsertSessionAndDetail()
204 InsertSession(false, messageCount, telephone, text); in InsertSessionAndDetail()
206 ret = InsertSession(true, 0, telephone, text); in InsertSessionAndDetail()
208 QuerySessionByTelephone(telephone, sessionId, messageCount); in InsertSessionAndDetail()
209 InsertSmsMmsInfo(slotId, sessionId, telephone, text, dataBaseId); in InsertSessionAndDetail()
214 bool SmsService::QuerySessionByTelephone(const std::string &telephone, uint16_t &sessionId, uint16_t &messageCount) in QuerySessionByTelephone() argument
217 predicates.EqualTo(Session::TELEPHONE, telephone); in QuerySessionByTelephone()
/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_sms_test.cpp2292 std::string telephone = "13888888888"; in HWTEST_F() local
2294 smsService->InsertSessionAndDetail(slotId, telephone, telephone, dataBaseId); in HWTEST_F()

Completed in 6 milliseconds