Home
last modified time | relevance | path

Searched refs:SntpClient (Results 1 – 11 of 11) sorted by relevance

/aosp14/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
H A DBandwidthEnforcementTestService.java23 import android.net.SntpClient;
145 final SntpClient client = new SntpClient(); in testSntp()
149 if (client.requestTime("0.pool.ntp.org", SntpClient.STANDARD_NTP_PORT, 10000, network)) { in testSntp()
/aosp14/frameworks/base/core/tests/coretests/src/android/net/
H A DSntpClientTest.java137 private SntpClient mClient;
156 mClient = new SntpClient(mSystemTimeSupplier, mRandom); in setUp()
213 Instant clientTime, Instant serverTime, SntpClient client) { in checkRequestTimeCalcs()
278 Duration actualOffset = SntpClient.calculateClockOffset( in checkCalculateClockOffset()
299 SntpClient.STANDARD_NTP_PORT, 5000, mNetwork)); in testDnsResolutionFailure()
H A DOWNERS4 per-file SntpClient* = file:/services/core/java/com/android/server/timedetector/OWNERS
/aosp14/frameworks/base/core/java/android/net/
H A DSntpClient.java57 public class SntpClient { class
104 public SntpClient() { in SntpClient() method in SntpClient
109 public SntpClient(Supplier<Instant> systemTimeSupplier, Random random) { in SntpClient() method in SntpClient
H A DOWNERS7 per-file SntpClient* = file:/services/core/java/com/android/server/timedetector/OWNERS
/aosp14/frameworks/base/core/java/android/util/
H A DNtpTrustedTime.java28 import android.net.SntpClient;
700 final SntpClient client = new SntpClient(); in queryNtpServer()
703 ? SntpClient.STANDARD_NTP_PORT : ntpServerUri.getPort(); in queryNtpServer()
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt33514 Landroid/net/SntpClient;->DBG:Z
33515 Landroid/net/SntpClient;->mNtpTime:J
33517 Landroid/net/SntpClient;->mRoundTripTime:J
33518 Landroid/net/SntpClient;->NTP_LEAP_NOSYNC:I
33520 Landroid/net/SntpClient;->NTP_MODE_CLIENT:I
33521 Landroid/net/SntpClient;->NTP_MODE_SERVER:I
33522 Landroid/net/SntpClient;->NTP_PACKET_SIZE:I
33523 Landroid/net/SntpClient;->NTP_PORT:I
33525 Landroid/net/SntpClient;->NTP_STRATUM_MAX:I
33526 Landroid/net/SntpClient;->NTP_VERSION:I
[all …]
/aosp14/frameworks/base/boot/
H A Dpreloaded-classes5538 android.net.SntpClient$InvalidServerReplyException
5539 android.net.SntpClient
H A Dboot-image-profile.txt28325 Landroid/net/SntpClient$InvalidServerReplyException;
28326 Landroid/net/SntpClient;
/aosp14/frameworks/base/config/
H A Dpreloaded-classes5542 android.net.SntpClient$InvalidServerReplyException
5543 android.net.SntpClient
H A Dboot-image-profile.txt38432 Landroid/net/SntpClient$InvalidServerReplyException;
38433 Landroid/net/SntpClient;