Home
last modified time | relevance | path

Searched refs:error_attr (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dport.cc602 StunErrorCodeAttribute* error_attr = StunAttribute::CreateErrorCode(); in SendBindingErrorResponse() local
603 error_attr->SetCode(error_code); in SendBindingErrorResponse()
604 error_attr->SetReason(reason); in SendBindingErrorResponse()
605 response.AddAttribute(error_attr); in SendBindingErrorResponse()
1234 const StunErrorCodeAttribute* error_attr = response->GetErrorCode(); in OnConnectionRequestErrorResponse() local
1236 if (error_attr) { in OnConnectionRequestErrorResponse()
1237 error_code = error_attr->code(); in OnConnectionRequestErrorResponse()
Dport_unittest.cc130 const StunErrorCodeAttribute* error_attr = last_stun_msg_->GetErrorCode(); in last_stun_error_code() local
131 if (error_attr) { in last_stun_error_code()
132 code = error_attr->code(); in last_stun_error_code()
1684 const StunErrorCodeAttribute* error_attr = msg->GetErrorCode(); in TEST_F() local
1685 ASSERT_TRUE(error_attr != NULL); in TEST_F()
1686 EXPECT_EQ(STUN_ERROR_SERVER_ERROR, error_attr->code()); in TEST_F()
1687 EXPECT_EQ(std::string(STUN_ERROR_REASON_SERVER_ERROR), error_attr->reason()); in TEST_F()