Searched refs:GetRandomStr (Results 1 – 6 of 6) sorted by relevance
36 HWTEST_F(WifiGlobalFuncTest, GetRandomStr, TestSize.Level1)38 std::string str = GetRandomStr(0);40 str = GetRandomStr(1);42 str = GetRandomStr(MAX_PSK_LEN);44 str = GetRandomStr(MAX_PSK_LEN + 1);
26 "*GetRandomStr*";
46 std::string GetRandomStr(int len);
61 std::string GetRandomStr(int len) in GetRandomStr() function
836 config.SetSsid("OHOS_" + GetRandomStr(RANDOM_STR_LEN)); in ClearHotspotConfig()838 config.SetPreSharedKey(GetRandomStr(RANDOM_PASSWD_LEN)); in ClearHotspotConfig()1519 cfg.SetSsid("OHOS_" + GetRandomStr(RANDOM_STR_LEN)); in InitDefaultHotspotConfig()1521 cfg.SetPreSharedKey(GetRandomStr(RANDOM_PASSWD_LEN)); in InitDefaultHotspotConfig()
178 deviceName = std::string("OHOS_") + GetRandomStr(randomLen); in InitializeThisDevice()