/external/webrtc/talk/session/media/ |
mediasession.cc | 123 void AddMediaCryptos(const CryptoParamsVec& cryptos, 125 for (CryptoParamsVec::const_iterator crypto = cryptos.begin(); 126 crypto != cryptos.end(); ++crypto) { 133 CryptoParamsVec cryptos; local 136 if (!AddCryptoParams(*it, &cryptos)) { 140 AddMediaCryptos(cryptos, media); 149 return &media->cryptos(); 152 bool FindMatchingCrypto(const CryptoParamsVec& cryptos, 155 for (CryptoParamsVec::const_iterator it = cryptos.begin(); 156 it != cryptos.end(); ++it) 217 const CryptoParamsVec& cryptos = offer->cryptos(); local 694 CryptoParamsVec cryptos; local [all...] |
mediasession_unittest.cc | 46 ASSERT_EQ(s, cd->cryptos().size()); \ 47 ASSERT_EQ(std::string(cs), cd->cryptos()[0].cipher_suite) 51 ASSERT_EQ(0U, cd->cryptos().size()); 407 EXPECT_TRUE(CompareCryptoParams(audio_media_desc->cryptos(), 408 video_media_desc->cryptos())); 409 EXPECT_EQ(1u, audio_media_desc->cryptos().size()); 411 audio_media_desc->cryptos()[0].cipher_suite); 419 for (size_t i = 0; i < ref_audio_media_desc->cryptos().size(); ++i) { 420 if (ref_audio_media_desc->cryptos()[i].Matches( 421 audio_media_desc->cryptos()[0])) [all...] |
mediasession.h | 202 const std::vector<CryptoParams>& cryptos() const { return cryptos_; } function in class:cricket::MediaContentDescription 206 void set_cryptos(const std::vector<CryptoParams>& cryptos) { 207 cryptos_ = cryptos;
|
channel.cc | [all...] |
channel.h | 279 bool CheckSrtpConfig(const std::vector<CryptoParams>& cryptos,
|
/external/webrtc/talk/app/webrtc/ |
webrtcsdp_unittest.cc | 756 // cryptos 757 EXPECT_EQ(cd1->cryptos().size(), cd2->cryptos().size()); 758 if (cd1->cryptos().size() != cd2->cryptos().size()) { 762 for (size_t i = 0; i< cd1->cryptos().size(); ++i) { 763 const CryptoParams c1 = cd1->cryptos().at(i); 764 const CryptoParams c2 = cd2->cryptos().at(i); [all...] |
webrtcsession_unittest.cc | 661 ASSERT_EQ(1U, audio_content->cryptos().size()); 662 ASSERT_EQ(47U, audio_content->cryptos()[0].key_params.size()); 664 audio_content->cryptos()[0].cipher_suite); 674 ASSERT_EQ(1U, video_content->cryptos().size()); 676 video_content->cryptos()[0].cipher_suite); 677 ASSERT_EQ(47U, video_content->cryptos()[0].key_params.size()); 689 ASSERT_EQ(0U, audio_content->cryptos().size()); 697 ASSERT_EQ(0U, video_content->cryptos().size()); [all...] |
webrtcsession.cc | 211 if (media->cryptos().empty()) { [all...] |
webrtcsdp.cc | [all...] |
/external/libweave/src/privet/ |
privet_handler.cc | 593 std::set<CryptoType> cryptos = security_->GetCryptoTypes(); local 595 cryptos.find(crypto) == cryptos.end()) { [all...] |