Home
last modified time | relevance | path

Searched refs:strBuf (Results 1 - 19 of 19) sorted by relevance

/base/telephony/sms_mms/services/mms/
H A Dmms_network_client.cpp99 int32_t MmsNetworkClient::GetMmsDataBuf(std::string &strBuf, const std::string &fileName) in GetMmsDataBuf() argument
102 if (!GetMmsPduFromFile(fileName, strBuf)) { in GetMmsDataBuf()
107 if (!GetMmsPduFromDataBase(fileName, strBuf)) { in GetMmsDataBuf()
152 std::string strBuf; in PostUrl() local
153 ret = GetMmsDataBuf(strBuf, fileName); in PostUrl()
159 ret = HttpRequest(METHOD_POST, mmsc, strBuf, ua, uaprof); in PostUrl()
371 bool MmsNetworkClient::GetMmsPduFromFile(const std::string &fileName, std::string &strBuf) in GetMmsPduFromFile() argument
407 strBuf += pduBuffer[i]; in GetMmsPduFromFile()
413 bool MmsNetworkClient::GetMmsPduFromDataBase(const std::string &dbUrl, std::string &strBuf) in GetMmsPduFromDataBase() argument
424 strBuf in GetMmsPduFromDataBase()
[all...]
/base/telephony/sms_mms/services/mms/include/
H A Dmms_network_client.h42 int32_t GetMmsDataBuf(std::string &strBuf, const std::string &fileName);
50 bool GetMmsPduFromFile(const std::string &fileName, std::string &strBuf);
51 bool GetMmsPduFromDataBase(const std::string &dbUrl, std::string &strBuf);
/base/security/device_auth/test/unittest/deviceauth/source/
H A Dcreds_manager_test.cpp59 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = { 0 }; in RemoveDir() local
63 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
66 system(strBuf); in RemoveDir()
H A Dmk_agree_test.cpp55 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = { 0 }; in RemoveDir() local
59 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
62 system(strBuf); in RemoveDir()
H A Dprivacy_enhancement_test.cpp52 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = { 0 }; in RemoveDir() local
56 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
59 system(strBuf); in RemoveDir()
H A Ddeviceauth_standard_member_test.cpp144 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = {0}; in RemoveDir() local
148 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
151 system(strBuf); in RemoveDir()
H A Ddeviceauth_func_test.cpp1113 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = {0}; in RemoveDir() local
1117 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
1120 system(strBuf); in RemoveDir()
H A Ddeviceauth_standard_auth_test.cpp213 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = {0}; in RemoveDir() local
217 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
220 system(strBuf); in RemoveDir()
H A Ddeviceauth_standard_test.cpp140 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = {0}; in RemoveDir() local
144 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
147 system(strBuf); in RemoveDir()
/base/security/huks/frameworks/crypto_lite/js/builtin/src/
H A Dcipher_module.cpp163 void CipherModule::ResetStrBuf(char *strBuf) in ResetStrBuf() argument
165 if (strBuf == nullptr) { in ResetStrBuf()
169 int ret = memset_s(strBuf, strlen(strBuf), 0, strlen(strBuf)); in ResetStrBuf()
/base/security/huks/frameworks/crypto_lite/js/builtin/include/
H A Dcipher_module.h31 static void ResetStrBuf(char *strBuf);
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/frameworks/os_account_adapter/
H A Dos_account_adapter_test.cpp268 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = { 0 }; in RemoveDir() local
272 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
275 system(strBuf); in RemoveDir()
/base/telephony/sms_mms/test/fuzztest/unittest_fuzzer/
H A Dunittest_fuzzer.cpp267 std::string strBuf = GetString(256); in TestGetMmsDataBuf() local
268 m_pMmsNetworkClient->GetMmsDataBuf(strBuf, fileName); in TestGetMmsDataBuf()
289 std::string strBuf = GetString(20); in TestGetMmsPduFromFile() local
290 m_pMmsNetworkClient->GetMmsPduFromFile(fileName, strBuf); in TestGetMmsPduFromFile()
295 std::string strBuf = GetString(20); in TestGetMmsPduFromDataBase() local
296 m_pMmsNetworkClient->GetMmsPduFromDataBase(dbUrl, strBuf); in TestGetMmsPduFromDataBase()
/base/security/device_auth/test/fuzztest/session_manager/session/v2/expand_sub_session/expand_process_lib/savetrustedinfo_fuzzer/
H A Dsavetrustedinfo_fuzzer.cpp70 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = {0}; in RemoveDir() local
74 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
77 system(strBuf); in RemoveDir()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/session_manager/session/v2/expand_sub_session/expand_process_lib/
H A Dsave_trusted_info_test.cpp74 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = {0}; in RemoveDir() local
78 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
81 system(strBuf); in RemoveDir()
/base/security/device_auth/test/fuzztest/devauthfunc_fuzzer/
H A Ddevauthfunc_fuzzer.cpp214 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = {0}; in RemoveDir() local
218 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
221 system(strBuf); in RemoveDir()
/base/security/device_auth/test/fuzztest/creds_manager/credsmanager_fuzzer/
H A Dcredsmanager_fuzzer.cpp163 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = { 0 }; in RemoveDir() local
167 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
170 system(strBuf); in RemoveDir()
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/
H A Dcreds_manager_test.cpp166 char strBuf[TEST_DEV_AUTH_BUFFER_SIZE] = { 0 }; in RemoveDir() local
170 if (sprintf_s(strBuf, sizeof(strBuf) - 1, "rm -rf %s", path) < 0) { in RemoveDir()
173 system(strBuf); in RemoveDir()
/base/telephony/sms_mms/test/gtest/
H A Dzero_branch_mms_test.cpp1205 std::string strBuf = TEST_DATA; in HWTEST_F() local
1206 EXPECT_EQ(client.GetMmsPduFromFile(storeDirName, strBuf), false); in HWTEST_F()
1207 EXPECT_EQ(client.GetMmsPduFromFile(TEST_PATH, strBuf), false); in HWTEST_F()

Completed in 28 milliseconds