HomeSort by relevance Sort by last modified time
    Searched full:transmittime (Results 1 - 1 of 1) sorted by null

  /frameworks/base/core/java/android/net/
SntpClient.java 102 long transmitTime = readTimeStamp(buffer, TRANSMIT_TIME_OFFSET);
103 long roundTripTime = responseTicks - requestTicks - (transmitTime - receiveTime);
105 // responseTime = transmitTime + transit - skew
106 // clockOffset = ((receiveTime - originateTime) + (transmitTime - responseTime))/2
108 // (transmitTime - (transmitTime + transit - skew)))/2
109 // = ((transit + skew) + (transmitTime - transmitTime - transit + skew))/2
112 long clockOffset = ((receiveTime - originateTime) + (transmitTime - responseTime))/2;

Completed in 104 milliseconds