/frameworks/base/core/tests/coretests/src/android/net/ |
D | SntpClientTest.java | 89 assertTrue(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testBasicWorkingSntpClientQuery() 96 assertFalse(mClient.requestTime("ntp.server.doesnotexist.example", 5000, mNetwork)); in testDnsResolutionFailure() 102 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testTimeoutFailure() 112 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testIgnoreLeapNoSync() 125 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, in testAcceptOnlyServerAndBroadcastModes() 151 final boolean rval = mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, in testAcceptableStrataOnly() 168 assertFalse(mClient.requestTime(mServer.getAddress(), mServer.getPort(), 500, mNetwork)); in testZeroTransmitTime()
|
/frameworks/base/core/java/android/net/ |
D | SntpClient.java | 96 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/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/packages/SystemUI/src/com/android/systemui/media/ |
D | NotificationPlayer.java | 54 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/ |
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() 449 @Nullable AutofillValue focusedValue, long requestTime, in AutofillProxy() argument 459 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", 10000, network)) { in testSntp()
|
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/ |
D | TransportClient.java | 337 long requestTime = SystemClock.elapsedRealtime(); local 343 long time = SystemClock.elapsedRealtime() - requestTime;
|
/frameworks/base/core/java/android/util/ |
D | NtpTrustedTime.java | 168 if (client.requestTime(serverName, timeoutMillis, network)) { in forceRefresh()
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 26582 Landroid/media/AsyncPlayer$Command;->requestTime:J 36821 Landroid/net/SntpClient;->requestTime(Ljava/lang/String;ILandroid/net/Network;)Z 36822 Landroid/net/SntpClient;->requestTime(Ljava/net/InetAddress;IILandroid/net/Network;)Z
|