/base/telephony/sms_mms/services/mms/ |
H A D | mms_network_client.cpp | 99 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 D | mms_network_client.h | 42 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 D | creds_manager_test.cpp | 59 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 D | mk_agree_test.cpp | 55 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 D | privacy_enhancement_test.cpp | 52 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 D | deviceauth_standard_member_test.cpp | 144 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 D | deviceauth_func_test.cpp | 1113 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 D | deviceauth_standard_auth_test.cpp | 213 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 D | deviceauth_standard_test.cpp | 140 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 D | cipher_module.cpp | 163 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 D | cipher_module.h | 31 static void ResetStrBuf(char *strBuf);
|
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/frameworks/os_account_adapter/ |
H A D | os_account_adapter_test.cpp | 268 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 D | unittest_fuzzer.cpp | 267 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 D | savetrustedinfo_fuzzer.cpp | 70 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 D | save_trusted_info_test.cpp | 74 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 D | devauthfunc_fuzzer.cpp | 214 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 D | credsmanager_fuzzer.cpp | 163 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 D | creds_manager_test.cpp | 166 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 D | zero_branch_mms_test.cpp | 1205 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()
|