Home
last modified time | relevance | path

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

/base/telephony/sms_mms/frameworks/native/mms/src/
Dmms_buffer.cpp100 bool MmsBuffer::WriteBufferFromFile(std::string &strPathName) in WriteBufferFromFile() argument
104 if (strPathName.empty() || realpath(strPathName.c_str(), realPath) == NULL) { in WriteBufferFromFile()
120 TELEPHONY_LOGE("Open File Error :%{public}s", strPathName.c_str()); in WriteBufferFromFile()
/base/telephony/sms_mms/frameworks/native/mms/include/
Dmms_buffer.h32 virtual bool WriteBufferFromFile(std::string &strPathName);
/base/telephony/sms_mms/test/unittest/
Dmms_msg_test.h53 …ferToFile(const std::unique_ptr<char[]> &buff, uint32_t len, const std::string &strPathName) const;
Dmms_msg_test.cpp785 std::string strPathName = "/data/app/enSrc/"; in MmsRetrieveConfDecodeTest() local
786 strPathName.append(it.GetFileName()); in MmsRetrieveConfDecodeTest()
787 std::cout << "======= strPathName:" << strPathName << std::endl; in MmsRetrieveConfDecodeTest()
788 if (!WriteBufferToFile(std::move(buff), len, strPathName)) { in MmsRetrieveConfDecodeTest()
877 const std::unique_ptr<char[]> &buff, uint32_t len, const std::string &strPathName) const in WriteBufferToFile()
880 pFile = fopen(strPathName.c_str(), "wb"); in WriteBufferToFile()
882 std::cout << "open file: " << strPathName << "fail!" << std::endl; in WriteBufferToFile()
887 std::cout << "write mms buffer to file success name:" << strPathName << std::endl; in WriteBufferToFile()
889 std::cout << "write mms buffer to file error name:" << strPathName << std::endl; in WriteBufferToFile()
/base/telephony/sms_mms/services/mms/include/
Dmms_network_client.h60 …ferToFile(const std::unique_ptr<char[]> &buff, uint32_t len, const std::string &strPathName) const;
/base/telephony/sms_mms/services/mms/
Dmms_network_client.cpp456 const std::unique_ptr<char[]> &buff, uint32_t len, const std::string &strPathName) const in WriteBufferToFile()
463 if (strPathName.empty() || realpath(strPathName.c_str(), realPath) == nullptr) { in WriteBufferToFile()
/base/telephony/sms_mms/test/gtest/
Dmms_gtest.cpp370 std::string strPathName = "/data/app/enSrc/618C0A89.smil"; variable
377 mmsBuffer.WriteBufferFromFile(strPathName);
/base/telephony/sms_mms/frameworks/js/napi/src/
Dnapi_mms.cpp1719 …riteBufferToFile(const std::unique_ptr<char[]> &buff, uint32_t len, const std::string &strPathName) in WriteBufferToFile() argument
1727 if (strPathName.empty() || realpath(strPathName.c_str(), realPath) == nullptr) { in WriteBufferToFile()