/external/webrtc/system_wrappers/source/ |
D | rtp_to_ntp_estimator_unittest.cc | 30 uint32_t timestamp = 0; in TEST() local 32 estimator.UpdateMeasurements(ntp_sec, ntp_frac, timestamp, &new_sr)); in TEST() 34 timestamp -= kTimestampTicksPerMs; in TEST() 39 estimator.UpdateMeasurements(ntp_sec, ntp_frac, timestamp, &new_sr)); in TEST() 47 uint32_t timestamp = 0xFFFFFFFE; in TEST() local 49 estimator.UpdateMeasurements(ntp_sec, ntp_frac, timestamp, &new_sr)); in TEST() 51 timestamp += 2 * kTimestampTicksPerMs; in TEST() 53 estimator.UpdateMeasurements(ntp_sec, ntp_frac, timestamp, &new_sr)); in TEST() 55 timestamp -= kTimestampTicksPerMs; in TEST() 59 estimator.UpdateMeasurements(ntp_sec, ntp_frac, timestamp, &new_sr)); in TEST() [all …]
|
/external/perfetto/src/trace_processor/importers/ftrace/ |
D | ftrace_parser.h | 41 void ParseGenericFtrace(int64_t timestamp, 46 int64_t timestamp, 51 void ParseSchedSwitch(uint32_t cpu, int64_t timestamp, protozero::ConstBytes); 52 void ParseSchedWakeup(int64_t timestamp, protozero::ConstBytes); 53 void ParseSchedWaking(int64_t timestamp, protozero::ConstBytes); 54 void ParseSchedProcessFree(int64_t timestamp, protozero::ConstBytes); 55 void ParseCpuFreq(int64_t timestamp, protozero::ConstBytes); 56 void ParseGpuFreq(int64_t timestamp, protozero::ConstBytes); 57 void ParseCpuIdle(int64_t timestamp, protozero::ConstBytes); 58 void ParsePrint(int64_t timestamp, uint32_t pid, protozero::ConstBytes); [all …]
|
D | ftrace_parser.cc | 272 int64_t ts = ttp.timestamp; in ParseFtraceEvent() 600 int64_t timestamp, in ParseTypedFtraceToRaw() argument 620 ->Insert({timestamp, message_strings.message_name_id, cpu, utid}) in ParseTypedFtraceToRaw() 710 int64_t timestamp, in ParseSchedSwitch() argument 716 cpu, timestamp, prev_pid, ss.prev_comm(), ss.prev_prio(), ss.prev_state(), in ParseSchedSwitch() 720 void FtraceParser::ParseSchedWakeup(int64_t timestamp, ConstBytes blob) { in ParseSchedWakeup() argument 726 context_->event_tracker->PushInstant(timestamp, sched_wakeup_name_id_, utid, in ParseSchedWakeup() 730 void FtraceParser::ParseSchedWaking(int64_t timestamp, ConstBytes blob) { in ParseSchedWaking() argument 736 context_->event_tracker->PushInstant(timestamp, sched_waking_name_id_, utid, in ParseSchedWaking() 740 void FtraceParser::ParseSchedProcessFree(int64_t timestamp, ConstBytes blob) { in ParseSchedProcessFree() argument [all …]
|
/external/webrtc/modules/video_coding/codecs/vp8/ |
D | default_temporal_layers_unittest.cc | 151 uint32_t timestamp = 0; variable 156 Vp8FrameConfig tl_config = tl.NextFrameConfig(0, timestamp); 160 tl.OnEncodeDone(0, timestamp, kDefaultBytesPerFrame, is_keyframe, 169 timestamp += 3000; 208 unsigned int timestamp = 0; variable 212 Vp8FrameConfig tl_config = tl.NextFrameConfig(0, timestamp); 216 tl.OnEncodeDone(0, timestamp, kDefaultBytesPerFrame, is_keyframe, 225 timestamp += 3000; 253 unsigned int timestamp = 0; in TEST_F() local 257 Vp8FrameConfig tl_config = tl.NextFrameConfig(0, timestamp); in TEST_F() [all …]
|
/external/webrtc/modules/video_coding/ |
D | timing_unittest.cc | 26 uint32_t timestamp = 0; in TEST() local 27 timing.UpdateCurrentDelay(timestamp); in TEST() 31 timing.IncomingTimestamp(timestamp, clock.TimeInMilliseconds()); in TEST() 34 timing.UpdateCurrentDelay(timestamp); in TEST() 37 timing.RenderTimeMs(timestamp, clock.TimeInMilliseconds()), in TEST() 44 timestamp += 90000; in TEST() 47 timing.UpdateCurrentDelay(timestamp); in TEST() 49 timing.RenderTimeMs(timestamp, clock.TimeInMilliseconds()), in TEST() 54 timestamp += 90000; in TEST() 56 timing.UpdateCurrentDelay(timestamp); in TEST() [all …]
|
D | inter_frame_delay.cc | 30 bool VCMInterFrameDelay::CalculateDelay(uint32_t timestamp, in CalculateDelay() argument 36 _prevTimestamp = timestamp; in CalculateDelay() 42 CheckForWrapArounds(timestamp); in CalculateDelay() 50 if ((wrapAroundsSincePrev == 0 && timestamp < _prevTimestamp) || in CalculateDelay() 59 (timestamp + wrapAroundsSincePrev * (static_cast<int64_t>(1) << 32) - in CalculateDelay() 69 _prevTimestamp = timestamp; in CalculateDelay() 77 void VCMInterFrameDelay::CheckForWrapArounds(uint32_t timestamp) { in CheckForWrapArounds() argument 78 if (timestamp < _prevTimestamp) { in CheckForWrapArounds() 82 if (static_cast<int32_t>(timestamp - _prevTimestamp) > 0) { in CheckForWrapArounds() 89 } else if (static_cast<int32_t>(_prevTimestamp - timestamp) > 0) { in CheckForWrapArounds()
|
/external/webrtc/modules/remote_bitrate_estimator/ |
D | inter_arrival.cc | 33 bool InterArrival::ComputeDeltas(uint32_t timestamp, in ComputeDeltas() argument 47 current_timestamp_group_.timestamp = timestamp; in ComputeDeltas() 48 current_timestamp_group_.first_timestamp = timestamp; in ComputeDeltas() 50 } else if (!PacketInOrder(timestamp)) { in ComputeDeltas() 52 } else if (NewTimestampGroup(arrival_time_ms, timestamp)) { in ComputeDeltas() 56 current_timestamp_group_.timestamp - prev_timestamp_group_.timestamp; in ComputeDeltas() 95 current_timestamp_group_.first_timestamp = timestamp; in ComputeDeltas() 96 current_timestamp_group_.timestamp = timestamp; in ComputeDeltas() 100 current_timestamp_group_.timestamp = in ComputeDeltas() 101 LatestTimestamp(current_timestamp_group_.timestamp, timestamp); in ComputeDeltas() [all …]
|
D | inter_arrival_unittest.cc | 167 uint32_t timestamp, in InternalExpectFalse() argument 174 timestamp, arrival_time_ms, arrival_time_ms, packet_size, in InternalExpectFalse() 183 uint32_t timestamp, in InternalExpectTrue() argument 194 timestamp, arrival_time_ms, arrival_time_ms, packet_size, in InternalExpectTrue() 265 int64_t timestamp = kTriggerNewGroupUs; in TEST_F() local 269 timestamp += kMinStep; in TEST_F() 270 ExpectFalse(timestamp, arrival_time, 1); in TEST_F() 273 int64_t g2_timestamp = timestamp; in TEST_F() 286 int64_t timestamp = 0; in TEST_F() local 287 ExpectFalse(timestamp, arrival_time, 1); in TEST_F() [all …]
|
/external/openscreen/cast/streaming/ |
D | ntp_time_unittest.cc | 17 NtpTimestamp timestamp = UINT64_C(0x0000000000000000); in TEST() local 18 EXPECT_EQ(NtpSeconds::zero(), NtpSecondsPart(timestamp)); in TEST() 19 EXPECT_EQ(NtpFraction::zero(), NtpFractionPart(timestamp)); in TEST() 22 timestamp = UINT64_C(0x00000000028f5c29); in TEST() 23 EXPECT_EQ(NtpSeconds::zero(), NtpSecondsPart(timestamp)); in TEST() 24 EXPECT_EQ(milliseconds(10), to_milliseconds(NtpFractionPart(timestamp))); in TEST() 27 timestamp = UINT64_C(0x83aa7e80ffffffff); in TEST() 28 EXPECT_EQ(NtpSeconds(INT64_C(2208988800)), NtpSecondsPart(timestamp)); in TEST() 29 EXPECT_EQ(NtpFraction(0xffffffff), NtpFractionPart(timestamp)); in TEST() 32 timestamp = UINT64_C(0xe0414d0e80000000); in TEST() [all …]
|
/external/perfetto/test/trace_processor/dynamic/ |
D | relationship_tables.textproto | 4 timestamp: 0 24 timestamp: 0 44 timestamp: 0 56 timestamp: 0 80 timestamp: 1000 89 timestamp: 4000 99 timestamp: 2000 108 timestamp: 3000 118 timestamp: 1000 128 timestamp: 5000 [all …]
|
/external/opencensus-java/api/src/test/java/io/opencensus/common/ |
D | TimestampTest.java | 116 Timestamp timestamp = Timestamp.create(1234, 223); in timestampAddNanos() local 117 assertThat(timestamp.addNanos(0)).isEqualTo(timestamp); in timestampAddNanos() 118 assertThat(timestamp.addNanos(999999777)).isEqualTo(Timestamp.create(1235, 0)); in timestampAddNanos() 119 assertThat(timestamp.addNanos(1300200500)).isEqualTo(Timestamp.create(1235, 300200723)); in timestampAddNanos() 120 assertThat(timestamp.addNanos(1999999777)).isEqualTo(Timestamp.create(1236, 0)); in timestampAddNanos() 121 assertThat(timestamp.addNanos(9876543789L)).isEqualTo(Timestamp.create(1243, 876544012)); in timestampAddNanos() 122 assertThat(timestamp.addNanos(Long.MAX_VALUE)) in timestampAddNanos() 128 Timestamp timestamp = Timestamp.create(1234, 223); in timestampAddNanos_Negative() local 129 assertThat(timestamp.addNanos(-223)).isEqualTo(Timestamp.create(1234, 0)); in timestampAddNanos_Negative() 130 assertThat(timestamp.addNanos(-1000000223)).isEqualTo(Timestamp.create(1233, 0)); in timestampAddNanos_Negative() [all …]
|
/external/webrtc/modules/audio_coding/neteq/ |
D | dtmf_buffer_unittest.cc | 49 a.event_no == b.event_no && a.timestamp == b.timestamp && in EqualEvents() 64 uint32_t timestamp = 0x12345678; in TEST() local 68 EXPECT_EQ(DtmfBuffer::kOK, DtmfBuffer::ParseEvent(timestamp, payload_ptr, in TEST() 73 EXPECT_EQ(timestamp, event.timestamp); in TEST() 77 DtmfBuffer::ParseEvent(timestamp, payload_ptr, 3, &event)); in TEST() 85 uint32_t timestamp = 0x12345678; in TEST() local 86 DtmfEvent event(timestamp, event_no, volume, duration, end_bit); in TEST() 93 EXPECT_FALSE(buffer.GetEvent(timestamp - 10, &out_event)); in TEST() 97 EXPECT_TRUE(buffer.GetEvent(timestamp, &out_event)); in TEST() 102 EXPECT_TRUE(buffer.GetEvent(timestamp + duration / 2, &out_event)); in TEST() [all …]
|
D | nack_tracker_unittest.cc | 61 uint32_t timestamp = 0; in TEST() local 65 nack->UpdateLastReceivedPacket(seq_num, timestamp); in TEST() 68 timestamp += kTimestampIncrement; in TEST() 79 uint32_t timestamp = 0; in TEST() local 82 nack->UpdateLastReceivedPacket(seq_num, timestamp); in TEST() 91 timestamp + num_late_packets * kTimestampIncrement); in TEST() 115 uint32_t timestamp = 0; in TEST() local 118 nack->UpdateLastReceivedPacket(seq_num, timestamp); in TEST() 123 timestamp += kTimestampIncrement * (kNumAllLostPackets + 1); in TEST() 127 nack->UpdateLastReceivedPacket(seq_num, timestamp); in TEST() [all …]
|
D | timestamp_scaler_unittest.cc | 37 for (uint32_t timestamp = 0xFFFFFFFF - 5; timestamp != 5; ++timestamp) { in TEST() local 39 EXPECT_EQ(timestamp, scaler.ToInternal(timestamp, kRtpPayloadType)); in TEST() 41 EXPECT_EQ(timestamp, scaler.ToExternal(timestamp)); in TEST() 63 for (uint32_t timestamp = start_timestamp; timestamp != 5 * kStep; in TEST() local 64 timestamp += kStep) { in TEST() 66 EXPECT_EQ(timestamp, scaler.ToInternal(timestamp, kRtpPayloadType)); in TEST() 68 EXPECT_EQ(timestamp, scaler.ToExternal(timestamp)); in TEST() 191 packet.timestamp = external_timestamp; in TEST() 194 EXPECT_EQ(internal_timestamp, packet.timestamp); in TEST() 222 packet1.timestamp = external_timestamp; in TEST() [all …]
|
/external/perfetto/src/trace_processor/ |
D | trace_sorter.h | 70 inline void PushTracePacket(int64_t timestamp, in PushTracePacket() argument 75 queue->Append(TimestampedTracePiece(timestamp, packet_idx_++, in PushTracePacket() 81 inline void PushJsonValue(int64_t timestamp, std::string json_value) { in PushJsonValue() argument 84 TimestampedTracePiece(timestamp, packet_idx_++, std::move(json_value))); in PushJsonValue() 88 inline void PushFuchsiaRecord(int64_t timestamp, in PushFuchsiaRecord() argument 93 TimestampedTracePiece(timestamp, packet_idx_++, std::move(record))); in PushFuchsiaRecord() 100 int64_t timestamp = systrace_line->ts; in PushSystraceLine() local 101 queue->Append(TimestampedTracePiece(timestamp, packet_idx_++, in PushSystraceLine() 107 int64_t timestamp, in PushFtraceEvent() argument 112 timestamp, packet_idx_++, in PushFtraceEvent() [all …]
|
/external/perfetto/test/trace_processor/track_event/ |
D | track_event_counters.textproto | 4 timestamp: 0 26 timestamp: 0 39 timestamp: 0 54 timestamp: 0 69 timestamp: 1000 82 timestamp: 1100 92 timestamp: 2000 114 timestamp: 2000 127 timestamp: 2000 143 timestamp: 2000 [all …]
|
D | track_event_tracks.textproto | 4 timestamp: 0 24 timestamp: 0 44 timestamp: 0 59 timestamp: 0 68 timestamp: 100 77 timestamp: 200 88 timestamp: 1000 98 timestamp: 2000 108 timestamp: 3000 119 timestamp: 4000 [all …]
|
D | flow_events_track_event.textproto | 3 timestamp: 0 15 timestamp: 0 26 timestamp: 10000 40 timestamp: 30000 54 timestamp: 50000 69 timestamp: 55000 84 timestamp: 58000 97 timestamp: 59000 112 timestamp: 0 119 timestamp: 60000 [all …]
|
D | flow_events_proto_v1.textproto | 3 timestamp: 0 15 timestamp: 0 26 timestamp: 10000 39 timestamp: 10000 52 timestamp: 29999 65 timestamp: 30000 78 timestamp: 30001 91 timestamp: 50000 104 timestamp: 50100 117 timestamp: 55000 [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/ |
D | handler_tracking.ipp | 83 handler_tracking_timestamp timestamp; 91 timestamp.seconds, timestamp.microseconds, 107 handler_tracking_timestamp timestamp; 111 timestamp.seconds, timestamp.microseconds, 120 handler_tracking_timestamp timestamp; 124 timestamp.seconds, timestamp.microseconds, id_); 132 handler_tracking_timestamp timestamp; 136 timestamp.seconds, timestamp.microseconds, 145 handler_tracking_timestamp timestamp; 149 timestamp.seconds, timestamp.microseconds, [all …]
|
/external/perfetto/test/trace_processor/graphics/ |
D | g2d_metrics.textproto | 5 timestamp: 1000 15 timestamp: 1003 25 timestamp: 1005 35 timestamp: 1010 45 timestamp: 1020 55 timestamp: 1030 65 timestamp: 1040 75 timestamp: 1050 85 timestamp: 1060 95 timestamp: 1070 [all …]
|
/external/libchrome/base/trace_event/common/ |
D | trace_event_common.h | 261 timestamp) \ argument 263 TRACE_EVENT_PHASE_INSTANT, category_group, name, timestamp, \ 267 timestamp, arg_name, arg_val) \ argument 269 TRACE_EVENT_PHASE_INSTANT, category_group, name, timestamp, \ 307 thread_id, timestamp) \ argument 310 timestamp, TRACE_EVENT_FLAG_NONE) 312 category_group, name, id, thread_id, timestamp) \ argument 315 timestamp, TRACE_EVENT_FLAG_COPY) 317 category_group, name, id, thread_id, timestamp, arg1_name, arg1_val) \ argument 320 timestamp, TRACE_EVENT_FLAG_COPY, arg1_name, arg1_val) [all …]
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/util/ |
D | TimedValueQueue.java | 47 public synchronized void add(long timestamp, V value) { in add() argument 48 clearBufferOnTimeDiscontinuity(timestamp); in add() 50 addUnchecked(timestamp, value); in add() 74 public synchronized @Nullable V pollFloor(long timestamp) { in pollFloor() argument 75 return poll(timestamp, /* onlyOlder= */ true); in pollFloor() 86 public synchronized @Nullable V poll(long timestamp) { in poll() argument 87 return poll(timestamp, /* onlyOlder= */ false); in poll() 101 private V poll(long timestamp, boolean onlyOlder) { in poll() argument 105 long timeDiff = timestamp - timestamps[first]; in poll() 118 private void clearBufferOnTimeDiscontinuity(long timestamp) { in clearBufferOnTimeDiscontinuity() argument [all …]
|
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/ |
D | Timestamps.java | 142 public static boolean isValid(Timestamp timestamp) { in isValid() argument 143 return isValid(timestamp.getSeconds(), timestamp.getNanos()); in isValid() 168 public static Timestamp checkValid(Timestamp timestamp) { in checkValid() argument 169 long seconds = timestamp.getSeconds(); in checkValid() 170 int nanos = timestamp.getNanos(); in checkValid() 179 return timestamp; in checkValid() 203 public static String toString(Timestamp timestamp) { in toString() argument 204 checkValid(timestamp); in toString() 206 long seconds = timestamp.getSeconds(); in toString() 207 int nanos = timestamp.getNanos(); in toString() [all …]
|
/external/libdrm/freedreno/kgsl/ |
D | kgsl_pipe.c | 60 static int kgsl_pipe_wait(struct fd_pipe *pipe, uint32_t timestamp, in kgsl_pipe_wait() argument 65 .timestamp = timestamp, in kgsl_pipe_wait() 76 kgsl_pipe_process_pending(kgsl_pipe, timestamp); in kgsl_pipe_wait() 81 uint32_t *timestamp) in kgsl_pipe_timestamp() argument 92 *timestamp = req.timestamp; in kgsl_pipe_timestamp() 149 uint32_t timestamp = kgsl_bo_get_timestamp(kgsl_bo); in kgsl_pipe_pre_submit() local 150 if (timestamp) in kgsl_pipe_pre_submit() 151 fd_pipe_wait(kgsl_pipe->p3d, timestamp); in kgsl_pipe_pre_submit() 157 uint32_t timestamp) in kgsl_pipe_post_submit() argument 165 kgsl_bo->timestamp[pipe->id] = timestamp; in kgsl_pipe_post_submit() [all …]
|