Home
last modified time | relevance | path

Searched refs:CreateRandomString (Results 1 – 20 of 20) sorted by relevance

/external/webrtc/webrtc/base/
Dhelpers_unittest.cc38 std::string random = CreateRandomString(256); in TEST_F()
41 EXPECT_TRUE(CreateRandomString(256, &random2)); in TEST_F()
55 EXPECT_EQ("h0ISP4S5SJKH/9EY", CreateRandomString(16)); in TEST_F()
61 EXPECT_EQ("h0ISP4S5SJKH/9EY", CreateRandomString(16)); in TEST_F()
67 EXPECT_TRUE(CreateRandomString(16, "a", &str)); in TEST_F()
69 EXPECT_TRUE(CreateRandomString(16, "abc", &str)); in TEST_F()
Dhelpers.cc216 std::string CreateRandomString(size_t len) { in CreateRandomString() function
218 CreateRandomString(len, &str); in CreateRandomString()
222 bool CreateRandomString(size_t len, in CreateRandomString() function
238 bool CreateRandomString(size_t len, std::string* str) { in CreateRandomString() function
239 return CreateRandomString(len, kBase64, 64, str); in CreateRandomString()
242 bool CreateRandomString(size_t len, const std::string& table, in CreateRandomString() function
244 return CreateRandomString(len, table.c_str(), in CreateRandomString()
Dhelpers.h29 std::string CreateRandomString(size_t length);
34 bool CreateRandomString(size_t length, std::string* str);
39 bool CreateRandomString(size_t length, const std::string& table,
Dopensslidentity.cc212 actual_params.common_name = CreateRandomString(8); in Generate()
/external/webrtc/webrtc/p2p/base/
Dtransportdescriptionfactory.cc32 desc->ice_ufrag = rtc::CreateRandomString(ICE_UFRAG_LENGTH); in CreateOffer()
33 desc->ice_pwd = rtc::CreateRandomString(ICE_PWD_LENGTH); in CreateOffer()
66 desc->ice_ufrag = rtc::CreateRandomString(ICE_UFRAG_LENGTH); in CreateAnswer()
67 desc->ice_pwd = rtc::CreateRandomString(ICE_PWD_LENGTH); in CreateAnswer()
Dstunport_unittest.cc67 kLocalAddr.ipaddr(), 0, 0, rtc::CreateRandomString(16), in CreateStunPort()
68 rtc::CreateRandomString(22), stun_servers, std::string())); in CreateStunPort()
84 rtc::CreateRandomString(16), rtc::CreateRandomString(22), in CreateSharedStunPort()
Dstunrequest.cc145 rtc::CreateRandomString(kStunTransactionIdLength)); in StunRequest()
152 rtc::CreateRandomString(kStunTransactionIdLength)); in StunRequest()
Dcandidate.h37 : id_(rtc::CreateRandomString(8)), in Candidate()
52 : id_(rtc::CreateRandomString(8)), in Candidate()
Drelayport_unittest.cc54 username_(rtc::CreateRandomString(16)), in RelayPortTest()
55 password_(rtc::CreateRandomString(16)), in RelayPortTest()
Dtransport.cc240 std::vector<std::string>(), rtc::CreateRandomString(ICE_UFRAG_LENGTH), in ConnectChannels()
241 rtc::CreateRandomString(ICE_PWD_LENGTH), ICEMODE_FULL, in ConnectChannels()
Drelayserver_unittest.cc44 username_(rtc::CreateRandomString(12)), in RelayServerTest()
45 password_(rtc::CreateRandomString(12)) {} in RelayServerTest()
145 rtc::CreateRandomString(kStunTransactionIdLength)); in CreateStunMessage()
Dport.cc195 ice_username_fragment_ = rtc::CreateRandomString(ICE_UFRAG_LENGTH); in Construct()
196 password_ = rtc::CreateRandomString(ICE_PWD_LENGTH); in Construct()
240 c.set_id(rtc::CreateRandomString(8)); in AddAddress()
1378 std::string id = rtc::CreateRandomString(8); in MaybeAddPrflxCandidate()
Dturnserver.cc120 nonce_key_(rtc::CreateRandomString(kNonceKeySize)), in TurnServer()
801 rtc::CreateRandomString(kStunTransactionIdLength)); in OnExternalPacket()
Dturnport.cc1422 rtc::CreateRandomString(kStunTransactionIdLength)); in Send()
Dport_unittest.cc376 username_(rtc::CreateRandomString(ICE_UFRAG_LENGTH)), in PortTest()
377 password_(rtc::CreateRandomString(ICE_PWD_LENGTH)), in PortTest()
/external/webrtc/webrtc/p2p/stunprober/
Dstunprober.cc140 rtc::CreateRandomString(cricket::kStunTransactionIdLength)); in SendStunRequest()
/external/webrtc/talk/session/media/
Dmediasession.cc104 if (!rtc::CreateRandomString(SRTP_MASTER_KEY_BASE64_LEN, &key)) { in CreateCryptoParams()
270 if (!rtc::CreateRandomString(16, cname)) { in GenerateCname()
Dchannel_unittest.cc1821 "inline:" + rtc::CreateRandomString(40), std::string())); in CreateContent()
1893 "inline:" + rtc::CreateRandomString(40), std::string())); in CreateContent()
2609 "inline:" + rtc::CreateRandomString(40), std::string())); in CreateContent()
/external/webrtc/webrtc/p2p/client/
Dbasicportallocator.cc31 using rtc::CreateRandomString;
/external/webrtc/talk/app/webrtc/
Dwebrtcsdp.cc234 msid_appdata(rtc::CreateRandomString(8)) { in SsrcInfo()