Home
last modified time | relevance | path

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 Ddlpfile_fuzzer.cpp41 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 Dgeneratecertstub_fuzzer.cpp50 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 Ddlp_file_test.cpp97 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 Ddlp_fuse_test.cpp149 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 Ddlp_permission_service_test.cpp145 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 Ddlp_permission_kit_test.cpp252 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()