Lines Matching defs:text
140 int32_t SmsService::SendMessage(int32_t slotId, const u16string desAddr, const u16string scAddr, const u16string text,
158 SmsMmsErrorCode::SMS_ERROR_NULL_POINTER, "text sms interfaceManager is nullptr");
170 InsertSessionAndDetail(slotId, StringUtils::ToUtf8(desAddr), StringUtils::ToUtf8(text), dataId);
177 predicates.EqualTo(SmsMmsInfo::MSG_CONTENT, StringUtils::ToUtf8(text));
183 StringUtils::ToUtf8(text), sendCallback, deliveryCallback, dataId, isMmsApp);
189 const u16string text, const sptr<ISendShortMessageCallback> &sendCallback,
192 return SendMessage(slotId, desAddr, scAddr, text, sendCallback, deliveryCallback);
195 void SmsService::InsertSessionAndDetail(int32_t slotId, const std::string &telephone, const std::string &text,
202 InsertSmsMmsInfo(slotId, sessionId, telephone, text, dataBaseId);
204 InsertSession(false, messageCount, telephone, text);
206 ret = InsertSession(true, 0, telephone, text);
209 InsertSmsMmsInfo(slotId, sessionId, telephone, text, dataBaseId);
222 int32_t slotId, uint16_t sessionId, const std::string &number, const std::string &text, uint16_t &dataBaseId)
238 smsMmsInfoBucket.Put(SmsMmsInfo::MSG_TITLE, text);
239 smsMmsInfoBucket.Put(SmsMmsInfo::MSG_CONTENT, text);
255 bool isNewSession, uint16_t messageCount, const std::string &number, const std::string &text)
262 sessionBucket.Put(Session::CONTENT, text);