Home
last modified time | relevance | path

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

/external/webrtc/rtc_base/
Dhelpers_unittest.cc41 std::string random = CreateRandomString(256); in TEST_F()
44 EXPECT_TRUE(CreateRandomString(256, &random2)); in TEST_F()
63 EXPECT_TRUE(CreateRandomString(256, kUnbiasedTable, &random)); in TEST_F()
67 EXPECT_FALSE(CreateRandomString(256, kBiasedTable, &random)); in TEST_F()
80 EXPECT_EQ("h0ISP4S5SJKH/9EY", CreateRandomString(16)); in TEST_F()
97 EXPECT_EQ("h0ISP4S5SJKH/9EY", CreateRandomString(16)); in TEST_F()
106 EXPECT_TRUE(CreateRandomString(16, "a", &str)); in TEST_F()
108 EXPECT_TRUE(CreateRandomString(16, "abcd", &str)); in TEST_F()
Dhelpers.cc116 std::string CreateRandomString(size_t len) { in CreateRandomString() function
118 RTC_CHECK(CreateRandomString(len, &str)); in CreateRandomString()
122 static bool CreateRandomString(size_t len, in CreateRandomString() function
144 bool CreateRandomString(size_t len, std::string* str) { in CreateRandomString() function
145 return CreateRandomString(len, kBase64, 64, str); in CreateRandomString()
148 bool CreateRandomString(size_t len, in CreateRandomString() function
151 return CreateRandomString(len, table.c_str(), static_cast<int>(table.size()), in CreateRandomString()
Dhelpers.h32 RTC_EXPORT std::string CreateRandomString(size_t length);
37 RTC_EXPORT bool CreateRandomString(size_t length, std::string* str);
44 RTC_EXPORT bool CreateRandomString(size_t length,
Dopenssl_certificate.cc132 actual_params.common_name = CreateRandomString(8); in Generate()
/external/webrtc/p2p/base/
Dice_credentials_iterator.cc25 return IceParameters(rtc::CreateRandomString(ICE_UFRAG_LENGTH), in CreateRandomIceCredentials()
26 rtc::CreateRandomString(ICE_PWD_LENGTH), false); in CreateRandomIceCredentials()
Dstun_port_unittest.cc81 rtc::CreateRandomString(16), rtc::CreateRandomString(22), stun_servers, in CreateStunPort()
108 rtc::CreateRandomString(16), rtc::CreateRandomString(22), std::string(), in CreateSharedUdpPort()
Dstun_request.cc182 msg_->SetTransactionID(rtc::CreateRandomString(kStunTransactionIdLength)); in StunRequest()
187 msg_->SetTransactionID(rtc::CreateRandomString(kStunTransactionIdLength)); in StunRequest()
Dtcp_port_unittest.cc65 username_(rtc::CreateRandomString(ICE_UFRAG_LENGTH)), in TCPPortTest()
66 password_(rtc::CreateRandomString(ICE_PWD_LENGTH)) {} in TCPPortTest()
Dport.cc178 ice_username_fragment_ = rtc::CreateRandomString(ICE_UFRAG_LENGTH); in Construct()
179 password_ = rtc::CreateRandomString(ICE_PWD_LENGTH); in Construct()
Dturn_server.cc126 nonce_key_(rtc::CreateRandomString(kNonceKeySize)), in TurnServer()
864 msg.SetTransactionID(rtc::CreateRandomString(kStunTransactionIdLength)); in OnExternalPacket()
Dconnection.cc1292 std::string id = rtc::CreateRandomString(8); in MaybeUpdateLocalCandidate()
Dturn_port.cc1798 msg.SetTransactionID(rtc::CreateRandomString(kStunTransactionIdLength)); in Send()
Dport_unittest.cc405 username_(rtc::CreateRandomString(ICE_UFRAG_LENGTH)), in PortTest()
406 password_(rtc::CreateRandomString(ICE_PWD_LENGTH)), in PortTest()
Dp2p_transport_channel_unittest.cc3207 msg.SetTransactionID(rtc::CreateRandomString(kStunTransactionIdLength)); in ReceivePingOnConnection()
/external/webrtc/api/
Dcandidate.cc20 : id_(rtc::CreateRandomString(8)), in Candidate()
39 : id_(rtc::CreateRandomString(8)), in Candidate()
/external/webrtc/test/peer_scenario/
Dscenario_connection.cc91 rtc::CreateRandomString(cricket::ICE_UFRAG_LENGTH),
92 rtc::CreateRandomString(cricket::ICE_PWD_LENGTH),
/external/webrtc/pc/
Djsep_transport_unittest.cc931 "inline:" + rtc::CreateRandomString(40), std::string())); in TEST_F()
940 "inline:" + rtc::CreateRandomString(40), std::string())); in TEST_F()
957 "inline:" + rtc::CreateRandomString(40), std::string())); in TEST_F()
981 "inline:" + rtc::CreateRandomString(40), std::string())); in TEST_F()
990 "inline:" + rtc::CreateRandomString(40), std::string())); in TEST_F()
1155 "inline:" + rtc::CreateRandomString(40), in TEST_P()
Dwebrtc_sdp.cc696 track_id = rtc::CreateRandomString(8); in CreateTracksFromSsrcInfos()
Dpeer_connection_integrationtest.cc3728 ASSERT_TRUE(rtc::CreateRandomString(length, &message)); in TEST_P()
Dpeer_connection.cc1009 if (!rtc::CreateRandomString(kRtcpCnameLength, &cname)) { in GenerateRtcpCname()
/external/webrtc/p2p/stunprober/
Dstun_prober.cc144 rtc::CreateRandomString(cricket::kStunTransactionIdLength)); in SendStunRequest()