Searched refs:GenerateRandStr (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/security/dlp_permission_service/test/fuzztest/dlp_permission/fuzzer/dlpfile_fuzzer/ |
H A D | dlpfile_fuzzer.cpp | 41 static void GenerateRandStr(uint32_t len, const uint8_t *data, std::string& res) in GenerateRandStr() function 85 GenerateRandStr(ACCOUNT_LENGTH, data, account); in GenerateRandProperty() 94 GenerateRandStr(ACCOUNT_LENGTH, data + offset, testAccount); in GenerateRandProperty() 123 GenerateRandStr(TEXT_LENGTH, data, text); in FuzzTest() 126 GenerateRandStr(APPID_LENGTH, data + offset, appId); in FuzzTest()
|
/ohos5.0/base/security/dlp_permission_service/test/fuzztest/dlp_permission/stub_fuzzer/generatecertstub_fuzzer/ |
H A D | generatecertstub_fuzzer.cpp | 50 static void GenerateRandStr(uint32_t len, const uint8_t *data, std::string& res) in GenerateRandStr() function 63 GenerateRandStr(KEY_LEN, data, acount); in InitPolicy()
|
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_fuse/test/unittest/src/ |
H A D | dlp_file_test.cpp | 97 static void GenerateRandStr(uint32_t len, std::string& res) in GenerateRandStr() function 116 GenerateRandStr(RAND_STR_SIZE, accountName); in GenerateRandProperty() 124 GenerateRandStr(RAND_STR_SIZE, accountName); in GenerateRandProperty()
|
H A D | dlp_fuse_test.cpp | 149 static void GenerateRandStr(uint32_t len, std::string& res) in GenerateRandStr() function 166 GenerateRandStr(RAND_STR_SIZE, accountName); in GenerateRandProperty() 174 GenerateRandStr(RAND_STR_SIZE, accountName); in GenerateRandProperty()
|
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/ |
H A D | dlp_permission_service_test.cpp | 145 static void GenerateRandStr(uint32_t len, std::string& res) in GenerateRandStr() function 170 GenerateRandStr(param.ownerAccountLen, encPolicy.ownerAccount_); in GeneratePolicy() 194 GenerateRandStr(param.authAccountLen, accountName); in GeneratePolicy()
|
/ohos5.0/base/security/dlp_permission_service/interfaces/inner_api/dlp_permission/test/unittest/src/ |
H A D | dlp_permission_kit_test.cpp | 252 static void GenerateRandStr(uint32_t len, std::string& res) in GenerateRandStr() function 276 GenerateRandStr(param.ownerAccountLen, encPolicy.ownerAccount_); in GeneratePolicy() 293 GenerateRandStr(param.authAccountLen, accountName); in GeneratePolicy()
|