Home
last modified time | relevance | path

Searched refs:test_packet (Results 1 – 4 of 4) sorted by relevance

/external/libsrtp2/test/
Ddtls_srtp_driver.c126 srtp_hdr_t *test_packet; in test_dtls_srtp() local
147 test_packet = srtp_create_test_packet(80, 0xa5a5a5a5); in test_dtls_srtp()
148 if (test_packet == NULL) in test_dtls_srtp()
151 err = srtp_protect(s, test_packet, &test_packet_len); in test_dtls_srtp()
157 err = srtp_unprotect(s, test_packet, &test_packet_len); in test_dtls_srtp()
163 err = srtp_protect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
170 err = srtp_unprotect_rtcp(s, test_packet, &test_packet_len); in test_dtls_srtp()
209 free(test_packet); in test_dtls_srtp()
/external/webrtc/rtc_base/
Dsocket_unittest.cc965 std::unique_ptr<char[]> test_packet(new char[test_packet_size]); in UdpReadyToSend() local
967 memset(test_packet.get(), 0, test_packet_size); in UdpReadyToSend()
981 int ret = client->SendTo(test_packet.get(), test_packet_size, test_addr); in UdpReadyToSend()
/external/webrtc/p2p/base/
Dturn_port_unittest.cc1112 std::string test_packet = "Test packet"; in TEST_F() local
1114 socket_.get(), test_packet.data(), test_packet.size(), in TEST_F()
/external/webrtc/modules/audio_coding/neteq/
Dneteq_impl_unittest.cc404 const Packet* test_packet = packet_buffer_->PeekNextPacket(); in TEST_F() local
405 EXPECT_EQ(rtp_header.timestamp, test_packet->timestamp); in TEST_F()
406 EXPECT_EQ(rtp_header.sequenceNumber, test_packet->sequence_number); in TEST_F()