Home
last modified time | relevance | path

Searched refs:kTimestamp (Results 1 – 25 of 29) sorted by relevance

12

/external/webrtc/modules/video_coding/codecs/test/
Dvideocodec_test_stats_impl_unittest.cc25 const size_t kTimestamp = 12345; variable
35 stats.AddFrame(FrameStatistics(0, kTimestamp, 0)); in TEST()
38 EXPECT_EQ(kTimestamp, frame_stat->rtp_timestamp); in TEST()
45 stats.AddFrame(FrameStatistics(i, kTimestamp + i, 0)); in TEST()
48 EXPECT_EQ(kTimestamp + i, frame_stat->rtp_timestamp); in TEST()
53 FrameStatistics* frame_stat = stats.GetFrameWithTimestamp(kTimestamp + i, 0); in TEST()
55 EXPECT_EQ(kTimestamp + i, frame_stat->rtp_timestamp); in TEST()
61 stats.AddFrame(FrameStatistics(0, kTimestamp + i, i)); in TEST()
64 EXPECT_EQ(kTimestamp, frame_stat->rtp_timestamp - i); in TEST()
72 stats.AddFrame(FrameStatistics(0, kTimestamp, 0)); in TEST()
[all …]
/external/webrtc/modules/audio_coding/neteq/tools/
Dpacket_unittest.cc48 const uint32_t kTimestamp = 47114711; in TEST() local
50 MakeRtpHeader(kPayloadType, kSequenceNumber, kTimestamp, kSsrc, in TEST()
57 EXPECT_EQ(kTimestamp, packet.header().timestamp); in TEST()
75 const uint32_t kTimestamp = 47114711; in TEST() local
77 MakeRtpHeader(kPayloadType, kSequenceNumber, kTimestamp, kSsrc, in TEST()
85 EXPECT_EQ(kTimestamp, packet.header().timestamp); in TEST()
103 const uint32_t kTimestamp = 47114711; in TEST() local
105 MakeRtpHeader(kPayloadType, kSequenceNumber, kTimestamp, kSsrc, in TEST()
114 EXPECT_EQ(kTimestamp, packet.header().timestamp); in TEST()
166 const uint32_t kTimestamp = 47114711; in TEST() local
[all …]
/external/perfetto/src/trace_processor/importers/proto/
Dheap_graph_tracker_unittest.cc61 constexpr int64_t kTimestamp = 1; in TEST() local
138 tracker.AddObject(kSeqId, kPid, kTimestamp, std::move(obj)); in TEST()
147 tracker.AddObject(kSeqId, kPid, kTimestamp, std::move(obj)); in TEST()
156 tracker.AddObject(kSeqId, kPid, kTimestamp, std::move(obj)); in TEST()
168 tracker.AddObject(kSeqId, kPid, kTimestamp, std::move(obj)); in TEST()
204 constexpr int64_t kTimestamp = 1; in TEST() local
265 tracker.AddObject(kSeqId, kPid, kTimestamp, std::move(obj)); in TEST()
276 tracker.AddObject(kSeqId, kPid, kTimestamp, std::move(obj)); in TEST()
284 tracker.AddObject(kSeqId, kPid, kTimestamp, std::move(obj)); in TEST()
295 tracker.AddObject(kSeqId, kPid, kTimestamp, std::move(obj)); in TEST()
[all …]
/external/webrtc/api/audio/test/
Daudio_frame_unittest.cc32 constexpr uint32_t kTimestamp = 27; variable
69 frame.UpdateFrame(kTimestamp, samples, kSamplesPerChannel, kSampleRateHz, in TEST()
72 EXPECT_EQ(kTimestamp, frame.timestamp_); in TEST()
83 frame.UpdateFrame(kTimestamp, nullptr /* data*/, kSamplesPerChannel, in TEST()
92 frame.UpdateFrame(kTimestamp, nullptr /* data */, kSamplesPerChannel, in TEST()
99 frame.UpdateFrame(kTimestamp, nullptr /* data */, kSamplesPerChannel, in TEST()
112 frame2.UpdateFrame(kTimestamp, samples, kSamplesPerChannel, kSampleRateHz, in TEST()
127 frame2.UpdateFrame(kTimestamp, nullptr /* data */, kSamplesPerChannel, in TEST()
/external/webrtc/modules/rtp_rtcp/source/
Drtp_sender_video_unittest.cc81 constexpr uint32_t kTimestamp = 10; variable
217 rtp_sender_video_->SendVideo(kPayload, kType, kTimestamp, 0, kFrame, hdr, in TEST_F()
243 rtp_sender_video_->SendVideo(kPayload, kType, kTimestamp, kCaptureTimestamp, in TEST_F()
263 rtp_sender_video_->SendVideo(kPayload, kType, kTimestamp, 0, kFrame, hdr, in TEST_F()
269 rtp_sender_video_->SendVideo(kPayload, kType, kTimestamp + 1, 0, kFrame, in TEST_F()
287 rtp_sender_video_->SendVideo(kPayload, kType, kTimestamp, 0, kFrame, hdr, in TEST_F()
292 rtp_sender_video_->SendVideo(kPayload, kType, kTimestamp + 1, 0, kFrame, in TEST_F()
531 rtp_sender_video_->SendVideo(kPayload, kType, kTimestamp, 0, kFrame, hdr, in TEST_F()
557 rtp_sender_video_->SendVideo(kPayload, kType, kTimestamp, 0, kFrame, hdr, in TEST_F()
606 rtp_sender_video_->SendVideo(kPayload, kType, kTimestamp, 0, kFrame, hdr, in TEST_F()
[all …]
Drtp_sequence_number_map_unittest.cc192 constexpr uint32_t kTimestamp = 98765; in TEST_F() local
193 uut.InsertFrame(kSequenceNumber, 1, kTimestamp); in TEST_F()
195 EXPECT_EQ(uut.Get(kSequenceNumber), Info(kTimestamp, true, true)); in TEST_F()
202 constexpr uint32_t kTimestamp = 98765; in TEST_F() local
203 uut.InsertFrame(kFirstSequenceNumber, 3, kTimestamp); in TEST_F()
205 EXPECT_EQ(uut.Get(kFirstSequenceNumber + 0), Info(kTimestamp, true, false)); in TEST_F()
206 EXPECT_EQ(uut.Get(kFirstSequenceNumber + 1), Info(kTimestamp, false, false)); in TEST_F()
207 EXPECT_EQ(uut.Get(kFirstSequenceNumber + 2), Info(kTimestamp, false, true)); in TEST_F()
214 constexpr uint32_t kTimestamp = 98765; in TEST_F() local
215 uut.InsertFrame(kFirstSequenceNumber, 3, kTimestamp); in TEST_F()
[all …]
Drtp_packet_unittest.cc32 constexpr uint32_t kTimestamp = 0x65431278; variable
209 packet.SetTimestamp(kTimestamp); in TEST()
220 packet.SetTimestamp(kTimestamp); in TEST()
233 packet.SetTimestamp(kTimestamp); in TEST()
249 packet.SetTimestamp(kTimestamp); in TEST()
269 packet.SetTimestamp(kTimestamp); in TEST()
288 packet.SetTimestamp(kTimestamp); in TEST()
406 packet.SetTimestamp(kTimestamp); in TEST()
420 packet.SetTimestamp(kTimestamp); in TEST()
470 EXPECT_EQ(kTimestamp, packet.Timestamp()); in TEST()
[all …]
Drtp_rtcp_impl2_unittest.cc928 const uint32_t kTimestamp = 123; in TEST_F() local
931 kTimestamp, /*capture_time_ms=*/0)); in TEST_F()
932 EXPECT_EQ(sender_.last_packet().Timestamp(), kTimestamp); in TEST_F()
944 EXPECT_EQ(sender_.last_packet().Timestamp(), kTimestamp); in TEST_F()
Drtp_sender_unittest.cc64 const uint32_t kTimestamp = 10; variable
339 auto packet = BuildRtpPacket(kPayload, kMarkerBit, kTimestamp, 0); in TEST_F()
354 auto packet = BuildRtpPacket(kPayload, kMarkerBit, kTimestamp, now_ms); in TEST_F()
/external/perfetto/src/trace_processor/
Dexport_json_unittest.cc121 const int64_t kTimestamp = 10000000; in TEST_F() local
138 {kTimestamp, kDuration, track, cat_id, name_id, 0, 0, 0, SliceId(0u), 0, in TEST_F()
153 EXPECT_EQ(event["ts"].asInt64(), kTimestamp / 1000); in TEST_F()
167 const int64_t kTimestamp = 10000000; in TEST_F() local
183 {kTimestamp, kDuration, track, cat_id, name_id, 0, 0, 0, SliceId(0u), 0, in TEST_F()
198 EXPECT_EQ(event["ts"].asInt64(), kTimestamp / 1000); in TEST_F()
739 const int64_t kTimestamp = 10000000; in TEST_F() local
752 {kTimestamp, 0, track, cat_id, name_id, 0, 0, 0}); in TEST_F()
779 EXPECT_EQ(event["ts"].asInt64(), kTimestamp / 1000); in TEST_F()
800 const int64_t kTimestamp = 10000000; in TEST_F() local
[all …]
/external/dynamic_depth/internal/dynamic_depth/
Dpose.cc23 const char kTimestamp[] = "Timestamp"; variable
132 serializer->WriteProperty(DynamicDepthConst::Pose(), kTimestamp, in Serialize()
172 deserializer.ParseLong(prefix, kTimestamp, &timestamp_); in ParsePoseFields()
Dearth_pose.cc23 const char kTimestamp[] = "Timestamp"; variable
139 serializer->WriteProperty(DynamicDepthConst::EarthPose(), kTimestamp, in Serialize()
185 deserializer.ParseLong(DynamicDepthConst::EarthPose(), kTimestamp, in ParseEarthPoseFields()
/external/perfetto/src/trace_processor/prelude/operators/
Dspan_join_operator.cc183 cols.emplace_back(Column::kTimestamp, kTsColumnName, SqlValue::Type::kLong); in Init()
207 std::vector<size_t> primary_keys = {Column::kTimestamp}; in Init()
244 ob.size() == 1 && ob[0].iColumn == Column::kTimestamp && !ob[0].desc; in BestIndex()
252 ob.size() >= 2 && ob[1].iColumn == Column::kTimestamp && !ob[1].desc; in BestIndex()
381 if (col_idx == Column::kTimestamp) in GetNameForGlobalColumnIndex()
556 case Column::kTimestamp: { in Column()
Dspan_join_operator.h366 kTimestamp = 0, enumerator
/external/perfetto/src/trace_processor/importers/common/
Dasync_track_set_tracker.cc133 return state.slice_type == TrackState::SliceType::kTimestamp && in Scoped()
142 state.slice_type = TrackState::SliceType::kTimestamp; in Scoped()
Dasync_track_set_tracker.h124 enum class SliceType { kCookie, kTimestamp }; enumerator
/external/pigweed/pw_protobuf/size_report/
Doneof_codegen_comparison.cc145 case static_cast<uint32_t>(ResponseInfo::Fields::kTimestamp): { in BasicDecode()
288 case ResponseInfo::Fields::kTimestamp: { in BasicDecode()
/external/webrtc/audio/utility/
Dchannel_mixer_unittest.cc26 constexpr uint32_t kTimestamp = 27; variable
172 frame_.UpdateFrame(kTimestamp, nullptr, kSamplesPerChannel, kSampleRateHz, in TEST_F()
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dtransport_feedback_unittest.cc270 constexpr Timestamp kTimestamp = in TEST()
272 tb.SetBase(/*base_sequence=*/0, /*ref_timestamp=*/kTimestamp); in TEST()
273 tb.AddReceivedPacket(/*base_sequence=*/0, /*ref_timestamp=*/kTimestamp); in TEST()
/external/cronet/net/ntlm/
Dntlm_constants.h87 kTimestamp = 0x0007, enumerator
Dntlm_buffer_reader.cc156 case TargetInfoAvId::kTimestamp: in ReadTargetInfo()
Dntlm_unittest.cc347 AvPair pair(TargetInfoAvId::kTimestamp, in TEST()
/external/pigweed/pw_log_rpc/public/pw_log_rpc/
Drpc_log_drain.h72 protobuf::SizeOfFieldInt64(log::pwpb::LogEntry::Fields::kTimestamp) +
/external/pigweed/pw_log_rpc/
Dtest_utils.cc81 static_cast<uint32_t>(log::pwpb::LogEntry::Fields::kTimestamp) || in VerifyLogEntry()
/external/pigweed/pw_log/
Dproto_utils_test.cc66 static_cast<uint32_t>(log::pwpb::LogEntry::Fields::kTimestamp) || in VerifyTokenizedLogEntry()
135 static_cast<uint32_t>(log::pwpb::LogEntry::Fields::kTimestamp) || in VerifyLogEntry()

12