/external/webrtc/webrtc/modules/audio_processing/transient/ |
D | wpd_node_unittest.cc | 20 static const size_t kDataLength = 5; variable 23 static const size_t kParentDataLength = kDataLength * 2; 32 WPDNode node(kDataLength, kCoefficients, kCoefficientsLength); in TEST() 33 EXPECT_EQ(0, node.set_data(kParentData, kDataLength)); in TEST() 36 kDataLength * sizeof(node.data()[0]))); in TEST() 41 WPDNode node(kDataLength, &kIndentyCoefficient, 1); in TEST() 43 for (size_t i = 0; i < kDataLength; ++i) { in TEST() 49 WPDNode node(kDataLength, kCoefficients, kCoefficientsLength); in TEST() 59 WPDNode node(kDataLength, kCoefficients, kCoefficientsLength); in TEST() 62 EXPECT_EQ(-1, node.set_data(kParentData, kDataLength - 1)); in TEST() [all …]
|
/external/webrtc/webrtc/modules/audio_processing/vad/ |
D | vad_audio_proc_unittest.cc | 43 const size_t kDataLength = kLength10Ms; in TEST() local 44 int16_t data[kDataLength] = {0}; in TEST() 47 while (fread(data, sizeof(int16_t), kDataLength, pcm_file) == kDataLength) { in TEST() 48 audioproc.ExtractFeatures(data, kDataLength, &features); in TEST()
|
D | standalone_vad_unittest.cc | 63 const size_t kDataLength = kLength10Ms; in TEST() local 64 int16_t data[kDataLength] = {0}; in TEST() 82 while (fread(data, sizeof(int16_t), kDataLength, pcm_file) == kDataLength) { in TEST() 83 vad->AddAudio(data, kDataLength); in TEST()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | app_unittest.cc | 68 const size_t kDataLength = sizeof(kData) / sizeof(kData[0]); in TEST_F() local 69 app.WithData(kData, kDataLength); in TEST_F() 76 EXPECT_EQ(kDataLength, parsed().data_size()); in TEST_F() 77 EXPECT_EQ(0, memcmp(kData, parsed().data(), kDataLength)); in TEST_F()
|
/external/webrtc/webrtc/modules/video_coding/codecs/test/ |
D | packet_manipulator_unittest.cc | 118 const size_t kDataLength = kPacketSizeInBytes * kNbrPackets; in TEST_F() local 119 uint8_t data[kDataLength]; in TEST_F() 127 image_._length = kDataLength; in TEST_F() 128 image_._size = kDataLength; in TEST_F()
|
/external/webrtc/webrtc/common_audio/ |
D | swap_queue_unittest.cc | 177 const size_t kDataLength = kQueueSize * kFrameLength; in TEST() local 182 std::vector<int16_t> samples(kDataLength); in TEST() 184 for (size_t k = 0; k < kDataLength; k++) { in TEST()
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
D | rtcp_packet_unittest.cc | 147 const size_t kDataLength = sizeof(kData) / sizeof(kData[0]); in TEST() local 148 app.WithData((const uint8_t*)kData, kDataLength); in TEST() 157 EXPECT_EQ(kDataLength, parser.app_item()->DataLength()); in TEST()
|
D | rtcp_sender_unittest.cc | 377 const uint16_t kDataLength = sizeof(kData) / sizeof(kData[0]); in TEST_F() local 379 kDataLength)); in TEST_F() 386 EXPECT_EQ(kDataLength, parser()->app_item()->DataLength()); in TEST_F()
|
D | rtcp_receiver_unittest.cc | 435 const size_t kDataLength = sizeof(kData) / sizeof(kData[0]); in TEST_F() local 436 app.WithData((const uint8_t*)kData, kDataLength); in TEST_F() 443 EXPECT_EQ(kDataLength, rtcp_packet_info_.applicationLength); in TEST_F()
|
/external/webrtc/talk/media/webrtc/ |
D | webrtcvideoengine2_unittest.cc | 2801 const size_t kDataLength = 12; in TEST_F() local 2802 uint8_t data[kDataLength]; in TEST_F() 2805 rtc::Buffer packet(data, kDataLength); in TEST_F() 2952 const size_t kDataLength = 12; in TestReceiveUnsignalledSsrcPacket() local 2953 uint8_t data[kDataLength]; in TestReceiveUnsignalledSsrcPacket() 2958 rtc::Buffer packet(data, kDataLength); in TestReceiveUnsignalledSsrcPacket()
|