Home
last modified time | relevance | path

Searched refs:dbUrl (Results 1 – 8 of 8) sorted by relevance

/base/telephony/sms_mms/services/mms/include/
Dmms_persist_helper.h30 std::string GetMmsPdu(const std::string &dbUrl);
31 void DeleteMmsPdu(const std::string &dbUrl);
32 bool UpdateMmsPdu(const std::string &mmsPdu, const std::string &dbUrl);
38 bool QueryMmsPdu(const std::string &dbUrl);
Dmms_network_client.h61 void DeleteMmsPdu(const std::string &dbUrl);
63 bool GetMmsPduFromDataBase(const std::string &dbUrl, std::string &strBuf);
/base/telephony/sms_mms/services/mms/
Dmms_persist_helper.cpp53 void MmsPersistHelper::DeleteMmsPdu(const std::string &dbUrl) in DeleteMmsPdu() argument
64 predicates.EqualTo("id", dbUrl); in DeleteMmsPdu()
71 bool MmsPersistHelper::UpdateMmsPdu(const std::string &mmsPdu, const std::string &dbUrl) in UpdateMmsPdu() argument
88 predicates.EqualTo(ID, dbUrl); in UpdateMmsPdu()
95 std::string MmsPersistHelper::GetMmsPdu(const std::string &dbUrl) in GetMmsPdu() argument
97 if (!QueryMmsPdu(dbUrl)) { in GetMmsPdu()
108 bool MmsPersistHelper::QueryMmsPdu(const std::string &dbUrl) in QueryMmsPdu() argument
118 predicates.EqualTo(ID, dbUrl); in QueryMmsPdu()
Dmms_network_client.cpp160 bool MmsNetworkClient::GetMmsPduFromDataBase(const std::string &dbUrl, std::string &strBuf) in GetMmsPduFromDataBase() argument
162 if (dbUrl.empty()) { in GetMmsPduFromDataBase()
171 strBuf = mmsPdu->GetMmsPdu(dbUrl); in GetMmsPduFromDataBase()
179 void MmsNetworkClient::DeleteMmsPdu(const std::string &dbUrl) in DeleteMmsPdu() argument
186 mmsPdu->DeleteMmsPdu(dbUrl); in DeleteMmsPdu()
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_mms_pdu_helper.cpp62 void NapiMmsPduHelper::SetDbUrl(const std::string &dbUrl) in SetDbUrl() argument
64 dbUrl_ = dbUrl; in SetDbUrl()
Dnapi_mms_pdu.cpp71 std::string dbUrl = std::to_string(result); in InsertMmsPdu() local
72 …TELEPHONY_LOGI("insert db, dbUrl:%{public}s,pduLen:%{public}d,targetPduLen:%{public}d", dbUrl.c_st… in InsertMmsPdu()
74 pduHelper.SetDbUrl(dbUrl); in InsertMmsPdu()
Dnapi_mms.cpp1790 static bool StoreDownloadMmsPduToDataBase(MmsContext &context, std::string &dbUrl, std::string &sto… in StoreDownloadMmsPduToDataBase() argument
1809 dbUrl = helper.GetDbUrl(); in StoreDownloadMmsPduToDataBase()
1810 context.data = NapiUtil::ToUtf16(dbUrl); in StoreDownloadMmsPduToDataBase()
1831 std::string dbUrl; in NativeDownloadMms() local
1833 if (!StoreDownloadMmsPduToDataBase(*asyncContext, dbUrl, storeFileName, dbHelper)) { in NativeDownloadMms()
1847 helper.SetDbUrl(dbUrl); in NativeDownloadMms()
/base/telephony/sms_mms/frameworks/js/napi/include/
Dnapi_mms_pdu_helper.h33 void SetDbUrl(const std::string &dbUrl);