Home
last modified time | relevance | path

Searched refs:referenceTimeMillis (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/timedetector/
DTimeDetectorStrategyTest.java34 int referenceTimeMillis = 100; in testGetTimeAt() local
36 new TimestampedValue<>(referenceTimeMillis, timeMillis); in testGetTimeAt()
39 timeMillis + (125 - referenceTimeMillis), in testGetTimeAt()
44 timeMillis + (75 - referenceTimeMillis), in testGetTimeAt()
/frameworks/base/core/java/android/os/
DTimestampedValue.java43 public TimestampedValue(long referenceTimeMillis, @Nullable T value) { in TimestampedValue() argument
44 mReferenceTimeMillis = referenceTimeMillis; in TimestampedValue()
108 long referenceTimeMillis = source.readLong();
110 return new TimestampedValue<>(referenceTimeMillis, value);
/frameworks/base/services/core/java/com/android/server/timedetector/
DTimeDetectorStrategyImpl.java601 long referenceTimeMillis = utcTime.getReferenceTimeMillis(); in validateSuggestionUtcTime() local
602 if (referenceTimeMillis > elapsedRealtimeMillis) { in validateSuggestionUtcTime()
614 long ageMillis = elapsedRealtimeMillis - referenceTimeMillis; in validateSuggestionUtcTime()