Searched refs:kPayloadSize (Results 1 – 6 of 6) sorted by relevance
/external/webrtc/webrtc/modules/media_file/ |
D | media_file_unittest.cc | 63 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/ |
D | InteropTests.m | 202 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);
|
D | GRPCClientTests.m | 424 const int32_t kPayloadSize = 100; 426 request.responseSize = kPayloadSize;
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
D | send_time_history_unittest.cc | 92 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/ |
D | proto_decoder_unittest.cc | 60 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/ |
D | bwe_test_framework.cc | 669 const int kPayloadSize = 1200; in ProceedToNextSlot() local 670 rate_counter_->UpdateRates(local_time_us_, kPayloadSize); in ProceedToNextSlot()
|