Home
last modified time | relevance | path

Searched refs:kPayloadSize (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/modules/media_file/
Dmedia_file_unittest.cc63 static const size_t kPayloadSize = 320; in TEST_F() local
65 0, "L16", 16000, static_cast<int>(kPayloadSize), 1 in TEST_F()
71 static const int8_t kFakeData[kPayloadSize] = {0}; in TEST_F()
72 ASSERT_EQ(0, media_file_->IncomingAudioData(kFakeData, kPayloadSize)); in TEST_F()
93 EXPECT_EQ(kHeaderSize + kPayloadSize, webrtc::test::GetFileSize(outfile)); in TEST_F()
101 uint8_t payload[kPayloadSize]; in TEST_F()
102 ASSERT_EQ(1u, fread(payload, kPayloadSize, 1, f)); in TEST_F()
103 EXPECT_EQ(0, memcmp(kFakeData, payload, kPayloadSize)); in TEST_F()
/external/grpc-grpc/src/objective-c/tests/
DInteropTests.m202 const int32_t kPayloadSize = 4 * 1024 * 1024 - self.encodingOverhead; // 4MB - encoding overhead
203 request.responseSize = kPayloadSize;
208 XCTAssertEqual(response.payload.body.length, kPayloadSize);
220 const int32_t kPayloadSize = 4 * 1024 * 1024 - self.encodingOverhead + 1; // 1B over max size
221 request.responseSize = kPayloadSize;
247 const size_t kPayloadSize = 5 * 1024 * 1024; // 5MB
248 request.responseSize = kPayloadSize;
255 XCTAssertEqual(response.payload.body.length, kPayloadSize);
DGRPCClientTests.m424 const int32_t kPayloadSize = 100;
426 request.responseSize = kPayloadSize;
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dsend_time_history_unittest.cc92 const size_t kPayloadSize = 42; in TEST_F() local
95 AddPacketWithSendTime(kSeqNo, kPayloadSize, kPaced, kSendTime); in TEST_F()
102 EXPECT_EQ(kPayloadSize, info.payload_size); in TEST_F()
/external/perfetto/src/protozero/
Dproto_decoder_unittest.cc60 const size_t kPayloadSize = 257 * 1024 * 1024; in TEST() local
61 const uint64_t data_size = 4096 + kPayloadSize; in TEST()
77 wptr = WriteVarInt(kPayloadSize, wptr); in TEST()
80 for (size_t i = 0; i < kPayloadSize / sizeof(padding); i++) in TEST()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_framework.cc669 const int kPayloadSize = 1200; in ProceedToNextSlot() local
670 rate_counter_->UpdateRates(local_time_us_, kPayloadSize); in ProceedToNextSlot()