Home
last modified time | relevance | path

Searched refs:strPathName (Results 1 - 9 of 9) sorted by relevance

/base/telephony/sms_mms/frameworks/native/mms/src/
H A Dmms_buffer.cpp101 bool MmsBuffer::WriteBufferFromFile(std::string &strPathName) in WriteBufferFromFile() argument
105 if (strPathName.empty() || realpath(strPathName.c_str(), realPath) == NULL) { in WriteBufferFromFile()
/base/telephony/sms_mms/frameworks/native/mms/include/
H A Dmms_buffer.h32 virtual bool WriteBufferFromFile(std::string &strPathName);
/base/telephony/sms_mms/test/unittest/
H A Dmms_msg_test.h53 bool WriteBufferToFile(const std::unique_ptr<char[]> &buff, uint32_t len, const std::string &strPathName) const;
H A Dmms_msg_test.cpp799 std::string strPathName = "/data/app/enSrc/"; in MmsRetrieveConfDecodeTest() local
800 strPathName.append(it.GetFileName()); in MmsRetrieveConfDecodeTest()
801 std::cout << "======= strPathName:" << strPathName << std::endl; in MmsRetrieveConfDecodeTest()
802 if (!WriteBufferToFile(std::move(buff), len, strPathName)) { in MmsRetrieveConfDecodeTest()
891 const std::unique_ptr<char[]> &buff, uint32_t len, const std::string &strPathName) const in WriteBufferToFile()
894 pFile = fopen(strPathName.c_str(), "wb"); in WriteBufferToFile()
896 std::cout << "open file: " << strPathName << "fail!" << std::endl; in WriteBufferToFile()
901 std::cout << "write mms buffer to file success name:" << strPathName << std::endl; in WriteBufferToFile()
903 std::cout << "write mms buffer to file error name:" << strPathName << st in WriteBufferToFile()
[all...]
/base/telephony/sms_mms/services/mms/include/
H A Dmms_network_client.h48 bool WriteBufferToFile(const std::unique_ptr<char[]> &buff, uint32_t len, std::string &strPathName) const;
/base/telephony/sms_mms/services/mms/
H A Dmms_network_client.cpp482 const std::unique_ptr<char[]> &buff, uint32_t len, std::string &strPathName) const in WriteBufferToFile()
489 if (strPathName.empty() || realpath(strPathName.c_str(), realPath) == nullptr) { in WriteBufferToFile()
/base/telephony/sms_mms/frameworks/js/napi/src/
H A Dnapi_send_recv_mms.cpp323 bool WriteBufferToFile(const std::unique_ptr<char[]> &buff, uint32_t len, const std::string &strPathName) in WriteBufferToFile() argument
331 if (strPathName.empty() || realpath(strPathName.c_str(), realPath) == nullptr) { in WriteBufferToFile()
/base/telephony/sms_mms/test/gtest/
H A Dmms_gtest.cpp213 bool WriteBufferToFile(const std::unique_ptr<char[]> &buff, uint32_t len, const std::string &strPathName) in WriteBufferToFile() argument
216 pFile = fopen(strPathName.c_str(), "wb"); in WriteBufferToFile()
650 std::string strPathName = "/data/app/enSrc/618C0A89.smil"; in HWTEST_F() local
657 mmsBuffer.WriteBufferFromFile(strPathName); in HWTEST_F()
/base/telephony/sms_mms/test/fuzztest/unittest_fuzzer/
H A Dunittest_fuzzer.cpp306 std::string strPathName = GetString(20); in TestWriteBufferToFile() local
307 m_pMmsNetworkClient->WriteBufferToFile(bufp, g_size, strPathName); in TestWriteBufferToFile()

Completed in 8 milliseconds