/external/webrtc/modules/rtp_rtcp/source/ |
D | rtp_format_video_generic_unittest.cc | 47 const uint8_t kPayload[kPayloadSize] = {}; in TEST() local 51 RtpPacketizerGeneric packetizer(kPayload, limits, RTPVideoHeader()); in TEST() 60 const uint8_t kPayload[kPayloadSize] = {}; in TEST() local 64 RtpPacketizerGeneric packetizer(kPayload, limits, RTPVideoHeader()); in TEST() 75 const uint8_t kPayload[kPayloadSize] = {}; in TEST() local 81 RtpPacketizerGeneric packetizer(kPayload, kNoSizeLimits, rtp_video_header); in TEST() 96 const uint8_t kPayload[kPayloadSize] = {}; in TEST() local 103 RtpPacketizerGeneric packetizer(kPayload, limits, rtp_video_header); in TEST() 112 const uint8_t kPayload[kPayloadSize] = {}; in TEST() local 119 RtpPacketizerGeneric packetizer(kPayload, limits, rtp_video_header); in TEST() [all …]
|
D | video_rtp_depacketizer_generic_unittest.cc | 27 const uint8_t kPayload[kRtpPayloadSize] = {0x01}; in TEST() local 28 rtc::CopyOnWriteBuffer rtp_payload(kPayload); in TEST() 41 const uint8_t kPayload[kRtpPayloadSize] = {0x05, 0x13, 0x37}; in TEST() local 42 rtc::CopyOnWriteBuffer rtp_payload(kPayload); in TEST() 57 const uint8_t kPayload[] = {0x01, 0x25, 0x52}; in TEST() local 58 rtc::CopyOnWriteBuffer rtp_payload(kPayload); in TEST()
|
D | video_rtp_depacketizer_raw_unittest.cc | 23 const uint8_t kPayload[] = {0x05, 0x25, 0x52}; in TEST() local 24 rtc::CopyOnWriteBuffer rtp_payload(kPayload); in TEST() 38 const uint8_t kPayload[] = {0x05, 0x25, 0x52}; in TEST() local 39 rtc::CopyOnWriteBuffer rtp_payload(kPayload); in TEST()
|
D | rtp_sender_video_unittest.cc | 72 constexpr int kPayload = 100; variable 207 rtp_sender_video_.SendVideo(kPayload, kType, kTimestamp, 0, kFrame, hdr, in TEST_P() 233 rtp_sender_video_.SendVideo(kPayload, kType, kTimestamp, kCaptureTimestamp, in TEST_P() 253 rtp_sender_video_.SendVideo(kPayload, kType, kTimestamp, 0, kFrame, hdr, in TEST_P() 259 rtp_sender_video_.SendVideo(kPayload, kType, kTimestamp + 1, 0, kFrame, in TEST_P() 277 rtp_sender_video_.SendVideo(kPayload, kType, kTimestamp, 0, kFrame, hdr, in TEST_P() 282 rtp_sender_video_.SendVideo(kPayload, kType, kTimestamp + 1, 0, kFrame, in TEST_P() 517 rtp_sender_video_.SendVideo(kPayload, kType, kTimestamp, 0, kFrame, hdr, in TEST_P() 543 rtp_sender_video_.SendVideo(kPayload, kType, kTimestamp, 0, kFrame, hdr, in TEST_P() 583 rtp_sender_video_.SendVideo(kPayload, kType, kTimestamp, 0, kFrame, hdr, in TEST_P() [all …]
|
D | video_rtp_depacketizer_h264_unittest.cc | 382 const uint8_t kPayload[] = {0x9c}; in TEST() local 384 EXPECT_FALSE(depacketizer.Parse(rtc::CopyOnWriteBuffer(kPayload))); in TEST() 388 const uint8_t kPayload[] = {0xd8, 0x27}; in TEST() local 390 EXPECT_FALSE(depacketizer.Parse(rtc::CopyOnWriteBuffer(kPayload))); in TEST() 394 const uint8_t kPayload[] = {0x58, 0xCB, 0xED, 0xDF}; in TEST() local 396 EXPECT_FALSE(depacketizer.Parse(rtc::CopyOnWriteBuffer(kPayload))); in TEST() 400 const uint8_t kPayload[] = {0x38, 0x27, 0x27}; in TEST() local 402 EXPECT_FALSE(depacketizer.Parse(rtc::CopyOnWriteBuffer(kPayload))); in TEST() 406 const uint8_t kPayload[] = {0x27, 0x80, 0x00}; in TEST() local 408 EXPECT_TRUE(depacketizer.Parse(rtc::CopyOnWriteBuffer(kPayload))); in TEST() [all …]
|
D | rtp_sender_unittest.cc | 63 const int kPayload = 100; variable 413 BuildRtpPacket(kPayload, kMarkerBit, timestamp, capture_time_ms); in SendPacket() 448 rtp_sender()->SetRtxPayloadType(kRtxPayload, kPayload); in EnableRtx() 573 audio_packet->SetPayloadType(kPayload); in TEST_P() 885 packet->SetPayloadType(kPayload); in TEST_P() 920 packet->SetPayloadType(kPayload); in TEST_P() 990 BuildRtpPacket(kPayload, kMarkerBit, kTimestamp, capture_time_ms); in TEST_P() 1035 BuildRtpPacket(kPayload, kMarkerBit, kTimestamp, capture_time_ms); in TEST_P() 1112 BuildRtpPacket(kPayload, kMarkerBit, timestamp, capture_time_ms); in TEST_P() 1170 packet = BuildRtpPacket(kPayload, kMarkerBit, timestamp, capture_time_ms); in TEST_P() [all …]
|
D | rtp_packet_unittest.cc | 123 constexpr uint8_t kPayload[] = {'p', 'a', 'y', 'l', 'o', 'a', 'd'}; variable 540 EXPECT_THAT(packet.payload(), ElementsAreArray(kPayload)); in TEST() 637 EXPECT_THAT(packet.payload(), ElementsAreArray(kPayload)); in TEST()
|
/external/pigweed/pw_rpc/ |
D | packet_test.cc | 27 constexpr auto kPayload = bytes::Array<0x82, 0x02, 0xff, 0xff>(); variable 76 Packet packet(PacketType::RESPONSE, 1, 42, 100, kPayload); in TEST() 87 Packet packet(PacketType::RESPONSE, 1, 42, 100, kPayload); in TEST() 102 ASSERT_EQ(sizeof(kPayload), packet.payload().size()); in TEST() 105 std::memcmp(packet.payload().data(), kPayload.data(), kPayload.size())); in TEST()
|
/external/webrtc/modules/video_coding/ |
D | video_receiver_unittest.cc | 132 const uint8_t kPayload[kPaddingSize] = {0}; in TEST_F() local 138 InsertAndVerifyPaddingFrame(kPayload, &header, video_header); in TEST_F() 147 const uint8_t kPayload[kFrameSize] = {0}; in TEST_F() local 157 InsertAndVerifyDecodableFrame(kPayload, kFrameSize, &header, video_header); in TEST_F() 181 InsertAndVerifyPaddingFrame(kPayload, &header, video_header); in TEST_F() 191 const uint8_t kPayload[kFrameSize] = {0}; in TEST_F() local 210 InsertAndVerifyDecodableFrame(kPayload, kFrameSize, &header, in TEST_F()
|
/external/webrtc/call/ |
D | rtp_video_sender_unittest.cc | 208 constexpr uint8_t kPayload = 'a'; in TEST() local 213 encoded_image.SetEncodedData(EncodedImageBuffer::Create(&kPayload, 1)); in TEST() 237 constexpr uint8_t kPayload = 'a'; in TEST() local 242 encoded_image_1.SetEncodedData(EncodedImageBuffer::Create(&kPayload, 1)); in TEST() 280 constexpr uint8_t kPayload = 'a'; in TEST() local 285 encoded_image_1.SetEncodedData(EncodedImageBuffer::Create(&kPayload, 1)); in TEST() 373 constexpr uint8_t kPayload = 'a'; in TEST() local 378 encoded_image.SetEncodedData(EncodedImageBuffer::Create(&kPayload, 1)); in TEST() 422 constexpr uint8_t kPayload = 'a'; in TEST() local 427 encoded_image.SetEncodedData(EncodedImageBuffer::Create(&kPayload, 1)); in TEST() [all …]
|
/external/openscreen/cast/streaming/ |
D | frame_crypto_unittest.cc | 23 const char kPayload[] = "The quick brown fox jumps over the lazy dog."; in TEST() local 25 reinterpret_cast<const uint8_t*>(kPayload), in TEST() 26 reinterpret_cast<const uint8_t*>(kPayload) + sizeof(kPayload)); in TEST()
|
/external/perfetto/src/tracing/ |
D | traced_proto_unittest.cc | 98 protos::pbzero::TestEvent::kPayload, Foo()); in TEST_F()
|
/external/webrtc/modules/audio_coding/acm2/ |
D | acm_receiver_unittest.cc | 427 const uint8_t kPayload[kPayloadSizeBytes] = {0}; in TEST_F() local 428 ASSERT_EQ(0, receiver_->InsertPacket(rtp_header, kPayload)); in TEST_F()
|
D | audio_coding_module_unittest.cc | 214 const uint8_t kPayload[kPayloadSizeBytes] = {0}; in InsertPacket() local 216 acm_->IncomingPacket(kPayload, kPayloadSizeBytes, rtp_header_)); in InsertPacket()
|
/external/perfetto/src/tracing/core/ |
D | tracing_service_impl_unittest.cc | 1058 static const char kPayload[] = "1234567890abcdef-"; in TEST_F() local 1077 std::string payload(kPayload); in TEST_F() 1099 std::string payload = kPayload; in TEST_F() 1639 static const char kPayload[] = "1234567890abcdef-"; in TEST_F() local 1648 std::string payload(kPayload); in TEST_F() 1677 ASSERT_EQ(kPayload + std::to_string(i++), tp.for_testing().str()); in TEST_F()
|