Home
last modified time | relevance | path

Searched full:timestamp (Results 1 – 25 of 16814) sorted by relevance

12345678910>>...673

/aosp_15_r20/external/webrtc/logging/rtc_event_log/events/
H A Dlogged_rtp_rtcp.h19 #include "api/units/timestamp.h"
34 LoggedRtpPacket(Timestamp timestamp, in LoggedRtpPacket()
38 : timestamp(timestamp), in LoggedRtpPacket()
43 int64_t log_time_us() const { return timestamp.us(); } in log_time_us()
44 int64_t log_time_ms() const { return timestamp.ms(); } in log_time_ms()
45 Timestamp log_time() const { return timestamp; } in log_time()
47 Timestamp timestamp; member
55 LoggedRtpPacketIncoming(Timestamp timestamp, in LoggedRtpPacketIncoming()
59 : rtp(timestamp, header, header_length, total_length) {} in LoggedRtpPacketIncoming()
60 int64_t log_time_us() const { return rtp.timestamp.us(); } in log_time_us()
[all …]
/aosp_15_r20/external/opencensus-java/api/src/test/java/io/opencensus/common/
H A DTimestampTest.java27 /** Unit tests for {@link Timestamp}. */
34 assertThat(Timestamp.create(24, 42).getSeconds()).isEqualTo(24); in timestampCreate()
35 assertThat(Timestamp.create(24, 42).getNanos()).isEqualTo(42); in timestampCreate()
36 assertThat(Timestamp.create(-24, 42).getSeconds()).isEqualTo(-24); in timestampCreate()
37 assertThat(Timestamp.create(-24, 42).getNanos()).isEqualTo(42); in timestampCreate()
38 assertThat(Timestamp.create(315576000000L, 999999999).getSeconds()).isEqualTo(315576000000L); in timestampCreate()
39 assertThat(Timestamp.create(315576000000L, 999999999).getNanos()).isEqualTo(999999999); in timestampCreate()
40 assertThat(Timestamp.create(-315576000000L, 999999999).getSeconds()).isEqualTo(-315576000000L); in timestampCreate()
41 assertThat(Timestamp.create(-315576000000L, 999999999).getNanos()).isEqualTo(999999999); in timestampCreate()
48 Timestamp.create(-315576000001L, 0); in create_SecondsTooLow()
[all …]
/aosp_15_r20/external/sdk-platform-java/java-core/google-cloud-core/src/test/java/com/google/cloud/
H A DTimestampTest.java35 /** Unit tests for {@link com.google.cloud.Timestamp}. */
50 assertThat(Timestamp.MIN_VALUE.getSeconds()).isEqualTo(-62135596800L); in minValue()
51 assertThat(Timestamp.MIN_VALUE.getNanos()).isEqualTo(0); in minValue()
59 java.sql.Timestamp expectedMin = new java.sql.Timestamp(calendar.getTimeInMillis()); in maxValue()
62 assertThat(Timestamp.MAX_VALUE.getSeconds()).isEqualTo(calendar.getTimeInMillis() / 1000L); in maxValue()
63 assertThat(Timestamp.MAX_VALUE.getNanos()).isEqualTo(999999999); in maxValue()
68 Timestamp timestamp = Timestamp.ofTimeMicroseconds(TEST_TIME_MICROSECONDS); in ofMicroseconds() local
69 assertThat(timestamp.getSeconds()).isEqualTo(TEST_TIME_MICROSECONDS / 1000000L); in ofMicroseconds()
70 assertThat(timestamp.getNanos()).isEqualTo(TEST_TIME_MICROSECONDS % 1000000L * 1000); in ofMicroseconds()
75 Timestamp timestamp = Timestamp.of(TEST_DATE); in ofDate() local
[all …]
/aosp_15_r20/external/android_onboarding/java/com/android/onboarding/nodes/
H A DOnboardingEvent.kt13 override val timestamp: Instant constant
54 * At [timestamp], a target [android.app.Activity] with id [nodeId] has been launched from
72 override val timestamp: Instant = Instant.now(), constant in com.android.onboarding.nodes.OnboardingEvent.ActivityNodeExecutedDirectly
79 timestamp: Instant = Instant.now(),
86 timestamp = timestamp,
98 .setTimestamp(timestamp.toEpochMilli()) in serialize()
107 timestamp: Instant?, in fromProto()
114 timestamp = timestamp ?: Instant.ofEpochMilli(proto.timestamp), in fromProto()
121 * At [timestamp], an [android.app.Activity] with id [nodeId] is using the [nodeName] contract to in fromProto()
131 override val timestamp: Instant = Instant.now(), in fromProto() constant in com.android.onboarding.nodes.OnboardingEvent.ActivityNodeValidating
[all …]
/aosp_15_r20/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
H A DTimestampsTest.java39 import com.google.protobuf.Timestamp;
67 private static final Timestamp TIMESTAMP = timestamp(1409130915, 111000000); field in TimestampsTest
68 private static final Timestamp ZERO_TIMESTAMP = timestamp(0, 0);
69 private static final Timestamp ONE_OF_TIMESTAMP = timestamp(-1, 999000000);
71 private static final Timestamp INVALID_MAX =
72 Timestamp.newBuilder().setSeconds(Long.MAX_VALUE).setNanos(Integer.MAX_VALUE).build();
73 private static final Timestamp INVALID_MIN =
74 Timestamp.newBuilder().setSeconds(Long.MIN_VALUE).setNanos(Integer.MIN_VALUE).build();
109 Timestamp start = Timestamps.parse("0001-01-01T00:00:00Z"); in testTimestampStringFormat()
110 Timestamp end = Timestamps.parse("9999-12-31T23:59:59.999999999Z"); in testTimestampStringFormat()
[all …]
/aosp_15_r20/external/cronet/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/
H A DTimestampsTest.java39 import com.google.protobuf.Timestamp;
67 private static final Timestamp TIMESTAMP = timestamp(1409130915, 111000000); field in TimestampsTest
68 private static final Timestamp ZERO_TIMESTAMP = timestamp(0, 0);
69 private static final Timestamp ONE_OF_TIMESTAMP = timestamp(-1, 999000000);
71 private static final Timestamp INVALID_MAX =
72 Timestamp.newBuilder().setSeconds(Long.MAX_VALUE).setNanos(Integer.MAX_VALUE).build();
73 private static final Timestamp INVALID_MIN =
74 Timestamp.newBuilder().setSeconds(Long.MIN_VALUE).setNanos(Integer.MIN_VALUE).build();
109 Timestamp start = Timestamps.parse("0001-01-01T00:00:00Z"); in testTimestampStringFormat()
110 Timestamp end = Timestamps.parse("9999-12-31T23:59:59.999999999Z"); in testTimestampStringFormat()
[all …]
/aosp_15_r20/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
H A DTimestampTest.java20 import java.sql.Timestamp;
29 * JUnit Testcase for the java.sql.Timestamp class
34 static class MockTimestamp extends Timestamp {
153 Timestamp theTimestamp = new Timestamp(TIME_TEST1); in testTimestamplong()
154 // The Timestamp should have been created in testTimestamplong()
157 Timestamp mockTimestamp = new MockTimestamp(TIME_TEST1); in testTimestamplong()
190 Timestamp theTimestamp = new Timestamp(element[0], element[1], in testTimestampintintintintintintint()
192 assertNotNull("Timestamp not generated: ", theTimestamp); in testTimestampintintintintintintint()
199 new Timestamp(element[0], element[1], element[2], element[3], in testTimestampintintintintintintint()
216 Timestamp theTimestamp = new Timestamp(TIME_TEST1); in testSetTimelong()
[all …]
/aosp_15_r20/packages/services/Car/tests/vehiclehal_test/assets/
Dcar_hvac_test.json3 "timestamp": 15260639037576360, number
9 "timestamp": 15260639049591139, number
15 "timestamp": 15260639051595289, number
21 "timestamp": 15260639053599360, number
27 "timestamp": 15260639055603768, number
33 "timestamp": 15260639057608371, number
39 "timestamp": 15260639059613009, number
45 "timestamp": 15260639063620060, number
51 "timestamp": 15260639065624360, number
57 "timestamp": 15260639067628579, number
[all …]
/aosp_15_r20/external/cronet/third_party/protobuf/java/util/src/main/java/com/google/protobuf/util/
H A DTimestamps.java43 import com.google.protobuf.Timestamp;
54 * Utilities to help create/manipulate {@code protobuf/timestamp.proto}. All operations throw an
55 * {@link IllegalArgumentException} if the input(s) are not {@linkplain #isValid(Timestamp) valid}.
59 // Timestamp for "0001-01-01T00:00:00Z"
62 // Timestamp for "9999-12-31T23:59:59Z"
71 /** A constant holding the minimum valid {@link Timestamp}, {@code 0001-01-01T00:00:00Z}. */
72 public static final Timestamp MIN_VALUE =
73 Timestamp.newBuilder().setSeconds(TIMESTAMP_SECONDS_MIN).setNanos(0).build();
76 * A constant holding the maximum valid {@link Timestamp}, {@code 9999-12-31T23:59:59.999999999Z}.
78 public static final Timestamp MAX_VALUE =
[all …]
/aosp_15_r20/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
H A DTimestamps.java43 import com.google.protobuf.Timestamp;
54 * Utilities to help create/manipulate {@code protobuf/timestamp.proto}. All operations throw an
55 * {@link IllegalArgumentException} if the input(s) are not {@linkplain #isValid(Timestamp) valid}.
59 // Timestamp for "0001-01-01T00:00:00Z"
62 // Timestamp for "9999-12-31T23:59:59Z"
71 /** A constant holding the minimum valid {@link Timestamp}, {@code 0001-01-01T00:00:00Z}. */
72 public static final Timestamp MIN_VALUE =
73 Timestamp.newBuilder().setSeconds(TIMESTAMP_SECONDS_MIN).setNanos(0).build();
76 * A constant holding the maximum valid {@link Timestamp}, {@code 9999-12-31T23:59:59.999999999Z}.
78 public static final Timestamp MAX_VALUE =
[all …]
/aosp_15_r20/external/webrtc/api/units/
H A Dtimestamp_unittest.cc13 #include "api/units/timestamp.h"
20 constexpr Timestamp kTimestampInf = Timestamp::PlusInfinity(); in TEST()
24 constexpr Timestamp kTimestampSeconds = Timestamp::Seconds(kValue); in TEST()
25 constexpr Timestamp kTimestampMs = Timestamp::Millis(kValue); in TEST()
26 constexpr Timestamp kTimestampUs = Timestamp::Micros(kValue); in TEST()
41 EXPECT_EQ(Timestamp::Millis(kValue).ms(), kValue); in TEST()
42 EXPECT_EQ(Timestamp::Micros(kValue).us(), kValue); in TEST()
43 EXPECT_EQ(Timestamp::Seconds(kValue).seconds(), kValue); in TEST()
48 EXPECT_EQ(Timestamp::Micros(kValue).seconds(), kValue / 1000000); in TEST()
49 EXPECT_EQ(Timestamp::Millis(kValue).seconds(), kValue / 1000); in TEST()
[all …]
/aosp_15_r20/external/perfetto/src/trace_processor/importers/ftrace/
H A Dftrace_parser.h70 void ParseGenericFtrace(int64_t timestamp,
75 int64_t timestamp,
80 void ParseSchedSwitch(uint32_t cpu, int64_t timestamp, protozero::ConstBytes);
81 void ParseKprobe(int64_t timestamp, uint32_t pid, protozero::ConstBytes);
82 void ParseSchedWaking(int64_t timestamp, uint32_t pid, protozero::ConstBytes);
83 void ParseSchedProcessFree(int64_t timestamp, protozero::ConstBytes);
84 void ParseCpuFreq(int64_t timestamp, protozero::ConstBytes);
85 void ParseCpuFreqThrottle(int64_t timestamp, protozero::ConstBytes);
86 void ParseGpuFreq(int64_t timestamp, protozero::ConstBytes);
87 void ParseKgslGpuFreq(int64_t timestamp, protozero::ConstBytes);
[all …]
/aosp_15_r20/external/google-cloud-java/java-datacatalog/proto-google-cloud-datacatalog-v1/src/main/java/com/google/cloud/datacatalog/v1/
H A DSystemTimestamps.java69 private com.google.protobuf.Timestamp createTime_;
74 * Creation timestamp of the resource within the given system.
77 * <code>.google.protobuf.Timestamp create_time = 1;</code>
89 * Creation timestamp of the resource within the given system.
92 * <code>.google.protobuf.Timestamp create_time = 1;</code>
97 public com.google.protobuf.Timestamp getCreateTime() { in getCreateTime()
98 return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; in getCreateTime()
104 * Creation timestamp of the resource within the given system.
107 * <code>.google.protobuf.Timestamp create_time = 1;</code>
111 return createTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : createTime_; in getCreateTimeOrBuilder()
[all …]
/aosp_15_r20/external/webrtc/modules/video_coding/codecs/vp8/
H A Ddefault_temporal_layers_unittest.cc151 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 …]
/aosp_15_r20/external/sdk-platform-java/java-core/google-cloud-core/src/main/java/com/google/cloud/
H A DTimestamp.java35 * Represents a timestamp with nanosecond precision. Timestamps cover the range [0001-01-01,
38 * <p>{@code Timestamp} instances are immutable.
40 public final class Timestamp implements Comparable<Timestamp>, Serializable { class
44 /** The smallest legal timestamp ("0001-01-01T00:00:00Z"). */
45 public static final Timestamp MIN_VALUE = new Timestamp(-62135596800L, 0);
47 /** The largest legal timestamp ("9999-12-31T23:59:59Z"). */
48 public static final Timestamp MAX_VALUE =
49 new Timestamp(253402300799L, (int) TimeUnit.SECONDS.toNanos(1) - 1);
65 private Timestamp(long seconds, int nanos) { in Timestamp() method in Timestamp
77 * @throws IllegalArgumentException if the timestamp is outside the representable range
[all …]
/aosp_15_r20/external/cronet/third_party/protobuf/src/google/protobuf/util/
H A Dtime_util.h31 // Defines utilities for the Timestamp and Duration well known types.
54 #include <google/protobuf/timestamp.pb.h>
63 // Utility functions for Timestamp and Duration.
65 typedef google::protobuf::Timestamp Timestamp; typedef
69 // The min/max Timestamp/Duration values we support.
78 // Converts Timestamp to/from RFC 3339 date string format.
83 // Note that Timestamp can only represent time from
85 // a Timestamp outside of this range is undefined behavior.
93 static std::string ToString(const Timestamp& timestamp);
94 static bool FromString(const std::string& value, Timestamp* timestamp);
[all …]
/aosp_15_r20/external/protobuf/src/google/protobuf/util/
H A Dtime_util.h31 // Defines utilities for the Timestamp and Duration well known types.
54 #include <google/protobuf/timestamp.pb.h>
63 // Utility functions for Timestamp and Duration.
65 typedef google::protobuf::Timestamp Timestamp; typedef
69 // The min/max Timestamp/Duration values we support.
78 // Converts Timestamp to/from RFC 3339 date string format.
83 // Note that Timestamp can only represent time from
85 // a Timestamp outside of this range is undefined behavior.
93 static std::string ToString(const Timestamp& timestamp);
94 static bool FromString(const std::string& value, Timestamp* timestamp);
[all …]
/aosp_15_r20/external/perfetto/test/trace_processor/diff_tests/metrics/network/
H A Dnetperf_metric.textproto5 timestamp: 99999900
13 timestamp: 99999920
20 timestamp: 99999930
28 timestamp: 99999940
35 timestamp: 99999945
42 timestamp: 100000000
50 timestamp: 100000000
57 timestamp: 100000000
65 timestamp: 100090000
77 timestamp: 100100000
[all …]
/aosp_15_r20/libcore/ojluni/src/main/java/java/sql/
H A DTimestamp.java32 * the JDBC API to identify this as an SQL <code>TIMESTAMP</code> value.
34 * to hold the SQL <code>TIMESTAMP</code> fractional seconds value, by allowing
36 * A Timestamp also provides formatting and
37 * parsing operations to support the JDBC escape syntax for timestamp values.
39 * <p>The precision of a Timestamp object is calculated to be either:
43 …n the yyyy-mm-dd hh:mm:ss.[fff...] and <code>s</code> represents the scale of the given Timestamp,
50 * separate. The <code>Timestamp.equals(Object)</code> method never returns
52 * that isn't an instance of <code>java.sql.Timestamp</code>,
54 * As a result, the <code>Timestamp.equals(Object)</code>
61 * Due to the differences between the <code>Timestamp</code> class
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/gensrcs/libcore/ojluni/src/main/java/java/sql/
DTimestamp.java32 * the JDBC API to identify this as an SQL <code>TIMESTAMP</code> value.
34 * to hold the SQL <code>TIMESTAMP</code> fractional seconds value, by allowing
36 * A Timestamp also provides formatting and
37 * parsing operations to support the JDBC escape syntax for timestamp values.
39 * <p>The precision of a Timestamp object is calculated to be either:
43 …n the yyyy-mm-dd hh:mm:ss.[fff...] and <code>s</code> represents the scale of the given Timestamp,
50 * separate. The <code>Timestamp.equals(Object)</code> method never returns
52 * that isn't an instance of <code>java.sql.Timestamp</code>,
54 * As a result, the <code>Timestamp.equals(Object)</code>
61 * Due to the differences between the <code>Timestamp</code> class
[all …]
/aosp_15_r20/out/soong/.intermediates/libcore/core_oj_api_files/gen/15/libcore/ojluni/src/main/java/java/sql/
DTimestamp.java32 * the JDBC API to identify this as an SQL <code>TIMESTAMP</code> value.
34 * to hold the SQL <code>TIMESTAMP</code> fractional seconds value, by allowing
36 * A Timestamp also provides formatting and
37 * parsing operations to support the JDBC escape syntax for timestamp values.
39 * <p>The precision of a Timestamp object is calculated to be either:
43 …n the yyyy-mm-dd hh:mm:ss.[fff...] and <code>s</code> represents the scale of the given Timestamp,
50 * separate. The <code>Timestamp.equals(Object)</code> method never returns
52 * that isn't an instance of <code>java.sql.Timestamp</code>,
54 * As a result, the <code>Timestamp.equals(Object)</code>
61 * Due to the differences between the <code>Timestamp</code> class
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/internal/trace/
Dparser.go29 EvBatch = 1 // start of per-P batch of events [pid, timestamp]
32 EvGomaxprocs = 4 // current value of GOMAXPROCS [timestamp, GOMAXPROCS, stack id]
33 EvProcStart = 5 // start of P [timestamp, thread id]
34 EvProcStop = 6 // stop of P [timestamp]
35 EvGCStart = 7 // GC start [timestamp, seq, stack id]
36 EvGCDone = 8 // GC done [timestamp]
37 EvSTWStart = 9 // GC mark termination start [timestamp, kind]
38 EvSTWDone = 10 // GC mark termination done [timestamp]
39 EvGCSweepStart = 11 // GC sweep start [timestamp, stack id]
40 EvGCSweepDone = 12 // GC sweep done [timestamp, swept, reclaimed]
[all …]
/aosp_15_r20/packages/services/Car/tools/emulator/
Ddiagjson.example3 "timestamp": 72375175786629,
47 "timestamp": 72377177593287,
91 "timestamp": 72379176544788,
135 "timestamp": 72381179373780,
179 "timestamp": 72383179413967,
223 "timestamp": 72385179454210,
267 "timestamp": 72387176856679,
311 "timestamp": 72389180204642,
355 "timestamp": 72391178997905,
399 "timestamp": 72393179466175,
[all …]
/aosp_15_r20/packages/services/Car/service/src/com/android/car/hal/
DHalPropValueBuilder.java76 return build(prop, areaId, /*timestamp=*/0, VehiclePropertyStatus.AVAILABLE); in build()
84 * @param timestamp The timestamp for the property.
88 public HalPropValue build(int prop, int areaId, long timestamp, int status) { in build() argument
90 return new AidlHalPropValue(prop, areaId, timestamp, status); in build()
92 return new HidlHalPropValue(prop, areaId, timestamp, status); in build()
103 return build(prop, areaId, /*timestamp=*/0, VehiclePropertyStatus.AVAILABLE, value); in build()
111 * @param timestamp The timestamp for the property.
116 public HalPropValue build(int prop, int areaId, long timestamp, int status, int value) { in build() argument
118 return new AidlHalPropValue(prop, areaId, timestamp, status, value); in build()
120 return new HidlHalPropValue(prop, areaId, timestamp, status, value); in build()
[all …]
/aosp_15_r20/external/google-cloud-java/java-aiplatform/proto-google-cloud-aiplatform-v1beta1/src/main/java/com/google/cloud/aiplatform/v1beta1/
H A DExportFeatureValuesRequest.java81 * Exports Feature values as of this timestamp. If not set,
82 * retrieve values as of now. Timestamp, if present, must not have higher
86 * <code>.google.protobuf.Timestamp snapshot_time = 1;</code>
95 * Exports Feature values as of this timestamp. If not set,
96 * retrieve values as of now. Timestamp, if present, must not have higher
100 * <code>.google.protobuf.Timestamp snapshot_time = 1;</code>
104 com.google.protobuf.Timestamp getSnapshotTime(); in getSnapshotTime()
109 * Exports Feature values as of this timestamp. If not set,
110 * retrieve values as of now. Timestamp, if present, must not have higher
114 * <code>.google.protobuf.Timestamp snapshot_time = 1;</code>
[all …]

12345678910>>...673