Home
last modified time | relevance | path

Searched refs:fromInstant (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/net/sntp/
DDuration64Test.java214 Timestamp64 one64 = Timestamp64.fromInstant(one); in checkDuration64Behavior()
215 Timestamp64 two64 = Timestamp64.fromInstant(two); in checkDuration64Behavior()
233 Timestamp64 one64 = Timestamp64.fromInstant(one); in checkDuration64OverflowBehavior()
234 Timestamp64 two64 = Timestamp64.fromInstant(two); in checkDuration64OverflowBehavior()
250 Instant roundtrippedInstant = Timestamp64.fromInstant(one).toInstant(ntpEra);
DTimestamp64Test.java163 Timestamp64 timestamp = Timestamp64.fromInstant(instant); in assertInstantCreationOnlySeconds()
193 Instant roundTripped = Timestamp64.fromInstant(instant).toInstant(0); in testFromInstant_fractionHandling()
/frameworks/base/core/tests/coretests/src/android/net/
DSntpClientTest.java269 Timestamp64 clientRequestTimestamp = Timestamp64.fromInstant( in checkCalculateClockOffset()
271 Timestamp64 clientResponseTimestamp = Timestamp64.fromInstant( in checkCalculateClockOffset()
273 Timestamp64 serverReceiveTimestamp = Timestamp64.fromInstant( in checkCalculateClockOffset()
275 Timestamp64 serverTransmitTimestamp = Timestamp64.fromInstant( in checkCalculateClockOffset()
/frameworks/base/core/java/android/net/
DSntpClient.java161 final Timestamp64 requestTimestamp = Timestamp64.fromInstant(requestTime); in requestTime()
175 final Timestamp64 responseTimestamp = Timestamp64.fromInstant(responseTime); in requestTime()
/frameworks/base/core/java/android/net/sntp/
DTimestamp64.java81 public static Timestamp64 fromInstant(Instant instant) { in fromInstant() method in Timestamp64