Home
last modified time | relevance | path

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

/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()
DInternalSubchannelTest.java1118 public long currentTimeNanos() { in createInternalSubchannel()
DManagedChannelImplTest.java218 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.java404 .setTimestampNanos(timeProvider.currentTimeNanos()) in enterIdleMode()
622 long currentTimeNanos = timeProvider.currentTimeNanos(); in ManagedChannelImpl() local
623 channelTracer = new ChannelTracer(builder.maxTraceEvents, currentTimeNanos, "Channel"); in ManagedChannelImpl()
697 .setTimestampNanos(timeProvider.currentTimeNanos()) in shutdown()
763 .setTimestampNanos(timeProvider.currentTimeNanos()) in panic()
1033 long subchannelCreationTime = timeProvider.currentTimeNanos(); in createSubchannel()
1133 .setTimestampNanos(timeProvider.currentTimeNanos()) in updateBalancingState()
1154 long oobChannelCreationTime = timeProvider.currentTimeNanos(); in createOobChannel()
1268 .setTimestampNanos(timeProvider.currentTimeNanos()) in onAddresses()
1279 .setTimestampNanos(timeProvider.currentTimeNanos()) in onAddresses()
[all …]
DCallTracer.java40 lastCallStartedNanos = timeProvider.currentTimeNanos(); in reportCallStarted()
DOobChannel.java250 .setTimestampNanos(timeProvider.currentTimeNanos()) in handleSubchannelStateChange()
DInternalSubchannel.java336 .setTimestampNanos(timeProvider.currentTimeNanos()) in gotoState()
/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()
234 private long currentTimeNanos() { in currentTimeNanos() method in LocalCache
/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DGrpclbClientLoadRecorder.java105 .setTimestamp(Timestamps.fromNanos(time.currentTimeNanos())) in generateLoadReport()
DGrpclbState.java285 prevLbRpcStartNanos = time.currentTimeNanos(); in startLbRpc()
633 prevLbRpcStartNanos + lbRpcRetryPolicy.nextBackoffNanos() - time.currentTimeNanos(); in handleStreamClosed()
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DGrpclbLoadBalancerTest.java158 public long currentTimeNanos() {
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DAbstractTransportTest.java107 public long currentTimeNanos() {