Home
last modified time | relevance | path

Searched refs:currentTimeNanos (Results 1 – 19 of 19) sorted by relevance

/external/oboe/src/common/
DStabilizedCallback.cpp86 int64_t currentTimeNanos = AudioClock::getNanoseconds(); in generateLoad() local
87 int64_t deadlineTimeNanos = currentTimeNanos + durationNanos; in generateLoad()
97 while (currentTimeNanos <= deadlineTimeNanos){ in generateLoad()
101 previousTimeNanos = currentTimeNanos; in generateLoad()
102 currentTimeNanos = AudioClock::getNanoseconds(); in generateLoad()
103 stepDurationNanos = currentTimeNanos - previousTimeNanos; in generateLoad()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DFakeClock.java59 return currentTimeNanos;
70 private long currentTimeNanos; field in FakeClock
87 return unit.convert(dueTimeNanos - currentTimeNanos, TimeUnit.NANOSECONDS); in getDelay()
118 ScheduledTask task = new ScheduledTask(currentTimeNanos + unit.toNanos(delay), cmd); in schedule()
220 if (task == null || task.dueTimeNanos > currentTimeNanos) { in runDueTasks()
238 if (task.dueTimeNanos > currentTimeNanos) { in getDueTasks()
272 currentTimeNanos += unit.toNanos(value); in forwardTime()
307 return TimeUnit.NANOSECONDS.toMillis(currentTimeNanos + 123456789L); in currentTimeMillis()
DAutoConfiguredLoadBalancerFactoryTest.java270 public long currentTimeNanos() { in channelTracing_lbPolicyChanged()
DInternalSubchannelTest.java1118 public long currentTimeNanos() { in createInternalSubchannel()
DManagedChannelImplTest.java217 public long currentTimeNanos() { in createChannel()
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DTransportTracer.java83 lastLocalStreamCreatedTimeNanos = timeProvider.currentTimeNanos(); in reportLocalStreamStarted()
91 lastRemoteStreamCreatedTimeNanos = timeProvider.currentTimeNanos(); in reportRemoteStreamStarted()
113 lastMessageSentTimeNanos = timeProvider.currentTimeNanos(); in reportMessageSent()
121 lastMessageReceivedTimeNanos = timeProvider.currentTimeNanos(); in reportMessageReceived()
DTimeProvider.java27 long currentTimeNanos(); in currentTimeNanos() method
34 public long currentTimeNanos() {
DManagedChannelImpl.java359 .setTimestampNanos(timeProvider.currentTimeNanos()) in enterIdleMode()
529 long currentTimeNanos = timeProvider.currentTimeNanos(); in ManagedChannelImpl() local
530 channelTracer = new ChannelTracer(builder.maxTraceEvents, currentTimeNanos, "Channel"); in ManagedChannelImpl()
670 .setTimestampNanos(timeProvider.currentTimeNanos()) in shutdown()
744 .setTimestampNanos(timeProvider.currentTimeNanos()) in panic()
1022 long subchannelCreationTime = timeProvider.currentTimeNanos(); in createSubchannel()
1126 .setTimestampNanos(timeProvider.currentTimeNanos()) in updateBalancingState()
1149 long oobChannelCreationTime = timeProvider.currentTimeNanos(); in createOobChannel()
1267 .setTimestampNanos(timeProvider.currentTimeNanos()) in onAddresses()
1278 .setTimestampNanos(timeProvider.currentTimeNanos()) in onAddresses()
[all …]
DCallTracer.java40 lastCallStartedNanos = timeProvider.currentTimeNanos(); in reportCallStarted()
DAutoConfiguredLoadBalancerFactory.java133 .setTimestampNanos(timeProvider.currentTimeNanos()) in handleResolvedAddressGroups()
DOobChannel.java250 .setTimestampNanos(timeProvider.currentTimeNanos()) in handleSubchannelStateChange()
DInternalSubchannel.java336 .setTimestampNanos(timeProvider.currentTimeNanos()) in gotoState()
/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DGrpclbClientLoadRecorder.java105 .setTimestamp(Timestamps.fromNanos(time.currentTimeNanos())) in generateLoadReport()
DGrpclbState.java282 prevLbRpcStartNanos = time.currentTimeNanos(); in startLbRpc()
627 prevLbRpcStartNanos + lbRpcRetryPolicy.nextBackoffNanos() - time.currentTimeNanos(); in handleStreamClosed()
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
DLocalCache.java221 boolean expireWrite = (stamped.getWriteTimestamp() + expireAfterWrite <= currentTimeNanos()); in isExpired()
222 boolean expireAccess = (stamped.getAccessTimestamp() + expireAfterAccess <= currentTimeNanos()); in isExpired()
235 private long currentTimeNanos() { in currentTimeNanos() method in LocalCache
/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DBinlogHelper.java122 long epochNanos = timeProvider.currentTimeNanos(); in newTimestampedBuilder()
390 long currentTimeNanos(); in currentTimeNanos() method
394 public long currentTimeNanos() {
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DBinlogHelperTest.java141 public long currentTimeNanos() {
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DGrpclbLoadBalancerTest.java157 public long currentTimeNanos() {
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DAbstractTransportTest.java107 public long currentTimeNanos() {