Home
last modified time | relevance | path

Searched refs:GetByteString (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/api/transport/
Dstun_unittest.cc666 msg.GetByteString(STUN_ATTR_SOFTWARE); in TEST_F()
671 msg.GetByteString(STUN_ATTR_USERNAME); in TEST_F()
676 ASSERT_TRUE(msg.GetByteString(STUN_ATTR_MESSAGE_INTEGRITY) != NULL); in TEST_F()
693 msg.GetByteString(STUN_ATTR_SOFTWARE); in TEST_F()
703 ASSERT_TRUE(msg.GetByteString(STUN_ATTR_MESSAGE_INTEGRITY) != NULL); in TEST_F()
716 msg.GetByteString(STUN_ATTR_SOFTWARE); in TEST_F()
726 ASSERT_TRUE(msg.GetByteString(STUN_ATTR_MESSAGE_INTEGRITY) != NULL); in TEST_F()
739 msg.GetByteString(STUN_ATTR_USERNAME); in TEST_F()
743 const StunByteStringAttribute* nonce = msg.GetByteString(STUN_ATTR_NONCE); in TEST_F()
747 const StunByteStringAttribute* realm = msg.GetByteString(STUN_ATTR_REALM); in TEST_F()
[all …]
Dstun.h174 const StunByteStringAttribute* GetByteString(int type) const;
Dstun.cc181 const StunByteStringAttribute* StunMessage::GetByteString(int type) const { in GetByteString() function in cricket::StunMessage
/external/webrtc/p2p/base/
Dturn_server.cc283 msg.GetByteString(STUN_ATTR_USERNAME)->GetString() != in HandleStunMessage()
300 msg->GetByteString(STUN_ATTR_USERNAME); in GetKey()
318 msg->GetByteString(STUN_ATTR_MESSAGE_INTEGRITY); in CheckAuthorization()
320 msg->GetByteString(STUN_ATTR_USERNAME); in CheckAuthorization()
322 msg->GetByteString(STUN_ATTR_REALM); in CheckAuthorization()
324 msg->GetByteString(STUN_ATTR_NONCE); in CheckAuthorization()
673 msg->GetByteString(STUN_ATTR_USERNAME); in HandleAllocateRequest()
677 msg->GetByteString(STUN_ATTR_ORIGIN); in HandleAllocateRequest()
732 const StunByteStringAttribute* data_attr = msg->GetByteString(STUN_ATTR_DATA); in HandleSendIndication()
Dport_unittest.cc339 msg->GetByteString(STUN_ATTR_MESSAGE_INTEGRITY); in OnUnknownAddress()
1426 msg->GetByteString(STUN_ATTR_USERNAME); in TEST_F()
1720 msg->GetByteString(STUN_ATTR_USERNAME); in TEST_F()
1726 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_MESSAGE_INTEGRITY) != NULL); in TEST_F()
1734 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_ICE_CONTROLLED) == NULL); in TEST_F()
1735 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_USE_CANDIDATE) != NULL); in TEST_F()
1767 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_MESSAGE_INTEGRITY) != NULL); in TEST_F()
1775 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_USERNAME) == NULL); in TEST_F()
1776 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_PRIORITY) == NULL); in TEST_F()
1777 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_MAPPED_ADDRESS) == NULL); in TEST_F()
[all …]
Dturn_port.cc1009 const StunByteStringAttribute* data_attr = msg.GetByteString(STUN_ATTR_DATA); in HandleDataIndication()
1152 response->GetByteString(STUN_ATTR_REALM); in UpdateNonce()
1161 response->GetByteString(STUN_ATTR_NONCE); in UpdateNonce()
1466 response->GetByteString(STUN_ATTR_REALM); in OnAuthChallenge()
1476 response->GetByteString(STUN_ATTR_NONCE); in OnAuthChallenge()
1513 response->GetByteString(STUN_ATTR_REALM); in OnTryAlternate()
1522 response->GetByteString(STUN_ATTR_NONCE); in OnTryAlternate()
Dport.cc467 if (!stun_msg->GetByteString(STUN_ATTR_USERNAME) || in GetStunMessage()
468 !stun_msg->GetByteString(STUN_ATTR_MESSAGE_INTEGRITY)) { in GetStunMessage()
621 stun_msg->GetByteString(STUN_ATTR_USERNAME); in ParseStunUsername()
Dconnection.cc604 msg->GetByteString(STUN_ATTR_USE_CANDIDATE); in HandleStunBindingOrGoogPingRequest()
642 request->GetByteString(STUN_ATTR_USERNAME); in SendStunBindingResponse()
871 msg->GetByteString(STUN_ATTR_LAST_ICE_CHECK_RECEIVED); in HandlePiggybackCheckAcknowledgementIfAny()
Dturn_port_unittest.cc821 msg->GetByteString(cricket::STUN_ATTR_TURN_LOGGING_ID); in ReceivedMessage()
1653 msg->GetByteString(TestTurnCustomizer::STUN_ATTR_COUNTER); in ReceivedMessage()