Home
last modified time | relevance | path

Searched refs:requestTime (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/net/
DSntpClient.java96 public boolean requestTime(String host, int timeout, Network network) { in requestTime() method in SntpClient
101 if (requestTime(addresses[i], NTP_PORT, timeout, networkForResolv)) return true; in requestTime()
112 public boolean requestTime(InetAddress address, int port, int timeout, Network network) { in requestTime() method in SntpClient
129 final long requestTime = System.currentTimeMillis(); in requestTime() local
131 writeTimeStamp(buffer, TRANSMIT_TIME_OFFSET, requestTime); in requestTime()
139 final long responseTime = requestTime + (responseTicks - requestTicks); in requestTime()
191 public boolean requestTime(String host, int timeout) { in requestTime() method in SntpClient
/frameworks/base/core/tests/coretests/src/android/net/
DSntpClientTest.java85 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testBasicWorkingSntpClientQuery()
92 assertFalse(mClient.requestTime("ntp.server.doesnotexist.example", 5000, mNetwork)); in testDnsResolutionFailure()
98 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testTimeoutFailure()
108 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testIgnoreLeapNoSync()
121 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, in testAcceptOnlyServerAndBroadcastModes()
147 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, in testAcceptableStrataOnly()
164 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testZeroTransmitTime()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRilWakelockInfo.java48 RilWakelockInfo(int rilRequest, int tokenNumber, int concurrentRequests, long requestTime) { in RilWakelockInfo() argument
53 this.mRequestTime = requestTime; in RilWakelockInfo()
55 this.mLastAggregatedTime = requestTime; in RilWakelockInfo()
/frameworks/base/media/java/android/media/
DAsyncPlayer.java44 long requestTime; field in AsyncPlayer.Command
70 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in startSound()
102 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in run()
199 cmd.requestTime = SystemClock.uptimeMillis(); in play()
221 cmd.requestTime = SystemClock.uptimeMillis(); in stop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DNotificationPlayer.java54 long requestTime; field in NotificationPlayer.Command
203 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in startSound()
240 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in run()
379 cmd.requestTime = SystemClock.uptimeMillis(); in play()
407 cmd.requestTime = SystemClock.uptimeMillis(); in play()
430 cmd.requestTime = SystemClock.uptimeMillis(); in stop()
/frameworks/base/core/java/android/service/autofill/augmented/
DAugmentedAutofillService.java109 long requestTime, IFillCallback callback) {
112 focusedId, focusedValue, requestTime, callback));
214 @Nullable AutofillValue focusedValue, long requestTime, in handleOnFillRequest() argument
225 componentName, focusedId, focusedValue, requestTime, callback, in handleOnFillRequest()
374 @Nullable AutofillValue focusedValue, long requestTime, in AutofillProxy() argument
384 mFirstRequestTime = requestTime; in AutofillProxy()
DIAugmentedAutofillService.aidl38 in AutofillValue focusedValue, long requestTime, in IFillCallback callback); in onFillRequest() argument
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusionEngine.java83 public long requestTime; field in FusionEngine.ProviderStats
98 stats.requestTime = SystemClock.elapsedRealtime(); in enableProvider()
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
DBandwidthEnforcementTestService.java149 if (client.requestTime("0.pool.ntp.org", 10000, network)) { in testSntp()
/frameworks/base/core/java/android/util/
DNtpTrustedTime.java167 if (client.requestTime(serverName, timeoutMillis, network)) { in forceRefresh()
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportClient.java336 long requestTime = SystemClock.elapsedRealtime(); local
342 long time = SystemClock.elapsedRealtime() - requestTime;
/frameworks/base/config/
Dboot-image-profile.txt10533 HSPLandroid/net/SntpClient;->requestTime(Ljava/lang/String;ILandroid/net/Network;)Z
10534 HSPLandroid/net/SntpClient;->requestTime(Ljava/net/InetAddress;IILandroid/net/Network;)Z
Dhiddenapi-greylist-max-o.txt33833 Landroid/media/AsyncPlayer$Command;->requestTime:J
45280 Landroid/net/SntpClient;->requestTime(Ljava/lang/String;ILandroid/net/Network;)Z
45281 Landroid/net/SntpClient;->requestTime(Ljava/net/InetAddress;IILandroid/net/Network;)Z