/frameworks/base/core/tests/coretests/src/android/net/ |
D | SntpClientTest.java | 165 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testRequestTime_era0ClientEra0RServer() 178 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testRequestTime_era0ClientEra1Server() 192 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testRequestTime_era1ClientEra0Server() 205 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testRequestTime_era1ClientEra1Server() 298 assertFalse(mClient.requestTime("ntp.server.doesnotexist.example", in testDnsResolutionFailure() 307 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testTimeoutFailure() 319 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testIgnoreLeapNoSync() 334 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, in testAcceptOnlyServerAndBroadcastModes() 362 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, in testAcceptableStrataOnly() 381 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testZeroTransmitTime() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RilWakelockInfo.java | 48 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/ |
D | AsyncPlayer.java | 44 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/core/java/android/net/ |
D | SntpClient.java | 125 public boolean requestTime(String host, int port, int timeout, Network network) { in requestTime() method in SntpClient 130 if (requestTime(addresses[i], port, timeout, networkForResolv)) { in requestTime() 143 public boolean requestTime(InetAddress address, int port, int timeout, Network network) { in requestTime() method in SntpClient 160 final Instant requestTime = mSystemTimeSupplier.get(); in requestTime() local 161 final Timestamp64 requestTimestamp = Timestamp64.fromInstant(requestTime); in requestTime() 174 final Instant responseTime = requestTime.plusMillis(responseTicks - requestTicks); in requestTime() 251 public boolean requestTime(String host, int timeout) { in requestTime() method in SntpClient
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/ |
D | NotificationPlayer.java | 55 long requestTime; field in NotificationPlayer.Command 211 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in startSound() 232 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in stopSound() 414 cmd.requestTime = SystemClock.uptimeMillis(); in play() 445 cmd.requestTime = SystemClock.uptimeMillis(); in play() 469 cmd.requestTime = SystemClock.uptimeMillis(); in stop()
|
/frameworks/base/core/java/android/service/autofill/augmented/ |
D | AugmentedAutofillService.java | 116 long requestTime, @Nullable InlineSuggestionsRequest inlineSuggestionsRequest, in onFillRequest() argument 120 focusedId, focusedValue, requestTime, inlineSuggestionsRequest, callback)); in onFillRequest() 257 @Nullable AutofillValue focusedValue, long requestTime, in handleOnFillRequest() argument 269 componentName, focusedId, focusedValue, requestTime, callback, in handleOnFillRequest() 448 @Nullable AutofillValue focusedValue, long requestTime, in AutofillProxy() argument 458 mFirstRequestTime = requestTime; in AutofillProxy()
|
D | IAugmentedAutofillService.aidl | 39 in AutofillValue focusedValue, long requestTime, in onFillRequest() argument
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ |
D | RemoteAugmentedAutofillService.java | 160 long requestTime = SystemClock.elapsedRealtime(); in onRequestAutofillLocked() local 173 focusedId, focusedValue, requestTime, inlineSuggestionsRequest, in onRequestAutofillLocked()
|
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
D | BandwidthEnforcementTestService.java | 149 if (client.requestTime("0.pool.ntp.org", SntpClient.STANDARD_NTP_PORT, 10000, network)) { in testSntp()
|
/frameworks/base/services/backup/java/com/android/server/backup/transport/ |
D | TransportConnection.java | 340 long requestTime = SystemClock.elapsedRealtime(); local 346 long time = SystemClock.elapsedRealtime() - requestTime;
|
/frameworks/base/core/java/android/util/ |
D | NtpTrustedTime.java | 728 if (client.requestTime(serverName, port, timeoutMillis, network)) { in queryNtpServer()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 23704 Landroid/media/AsyncPlayer$Command;->requestTime:J 33533 Landroid/net/SntpClient;->requestTime(Ljava/lang/String;ILandroid/net/Network;)Z 33534 Landroid/net/SntpClient;->requestTime(Ljava/net/InetAddress;IILandroid/net/Network;)Z
|