/external/webrtc/rtc_base/ |
D | helpers_unittest.cc | 41 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()
|
D | helpers.cc | 116 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()
|
D | helpers.h | 32 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,
|
D | openssl_certificate.cc | 132 actual_params.common_name = CreateRandomString(8); in Generate()
|
/external/webrtc/p2p/base/ |
D | ice_credentials_iterator.cc | 25 return IceParameters(rtc::CreateRandomString(ICE_UFRAG_LENGTH), in CreateRandomIceCredentials() 26 rtc::CreateRandomString(ICE_PWD_LENGTH), false); in CreateRandomIceCredentials()
|
D | stun_port_unittest.cc | 81 rtc::CreateRandomString(16), rtc::CreateRandomString(22), stun_servers, in CreateStunPort() 108 rtc::CreateRandomString(16), rtc::CreateRandomString(22), std::string(), in CreateSharedUdpPort()
|
D | stun_request.cc | 182 msg_->SetTransactionID(rtc::CreateRandomString(kStunTransactionIdLength)); in StunRequest() 187 msg_->SetTransactionID(rtc::CreateRandomString(kStunTransactionIdLength)); in StunRequest()
|
D | tcp_port_unittest.cc | 65 username_(rtc::CreateRandomString(ICE_UFRAG_LENGTH)), in TCPPortTest() 66 password_(rtc::CreateRandomString(ICE_PWD_LENGTH)) {} in TCPPortTest()
|
D | port.cc | 178 ice_username_fragment_ = rtc::CreateRandomString(ICE_UFRAG_LENGTH); in Construct() 179 password_ = rtc::CreateRandomString(ICE_PWD_LENGTH); in Construct()
|
D | turn_server.cc | 126 nonce_key_(rtc::CreateRandomString(kNonceKeySize)), in TurnServer() 864 msg.SetTransactionID(rtc::CreateRandomString(kStunTransactionIdLength)); in OnExternalPacket()
|
D | connection.cc | 1292 std::string id = rtc::CreateRandomString(8); in MaybeUpdateLocalCandidate()
|
D | turn_port.cc | 1798 msg.SetTransactionID(rtc::CreateRandomString(kStunTransactionIdLength)); in Send()
|
D | port_unittest.cc | 405 username_(rtc::CreateRandomString(ICE_UFRAG_LENGTH)), in PortTest() 406 password_(rtc::CreateRandomString(ICE_PWD_LENGTH)), in PortTest()
|
D | p2p_transport_channel_unittest.cc | 3207 msg.SetTransactionID(rtc::CreateRandomString(kStunTransactionIdLength)); in ReceivePingOnConnection()
|
/external/webrtc/api/ |
D | candidate.cc | 20 : id_(rtc::CreateRandomString(8)), in Candidate() 39 : id_(rtc::CreateRandomString(8)), in Candidate()
|
/external/webrtc/test/peer_scenario/ |
D | scenario_connection.cc | 91 rtc::CreateRandomString(cricket::ICE_UFRAG_LENGTH), 92 rtc::CreateRandomString(cricket::ICE_PWD_LENGTH),
|
/external/webrtc/pc/ |
D | jsep_transport_unittest.cc | 931 "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()
|
D | webrtc_sdp.cc | 696 track_id = rtc::CreateRandomString(8); in CreateTracksFromSsrcInfos()
|
D | peer_connection_integrationtest.cc | 3728 ASSERT_TRUE(rtc::CreateRandomString(length, &message)); in TEST_P()
|
D | peer_connection.cc | 1009 if (!rtc::CreateRandomString(kRtcpCnameLength, &cname)) { in GenerateRtcpCname()
|
/external/webrtc/p2p/stunprober/ |
D | stun_prober.cc | 144 rtc::CreateRandomString(cricket::kStunTransactionIdLength)); in SendStunRequest()
|