Home
last modified time | relevance | path

Searched refs:fromNanos (Results 1 – 8 of 8) sorted by relevance

/external/grpc-grpc-java/services/src/main/java/io/grpc/services/
DChannelzProtoUtil.java141 .setLastCallStartedTimestamp(Timestamps.fromNanos(stats.lastCallStartedNanos)) in toServerData()
227 Timestamps.fromNanos(s.lastLocalStreamCreatedTimeNanos)) in extractSocketData()
229 Timestamps.fromNanos(s.lastRemoteStreamCreatedTimeNanos)) in extractSocketData()
231 Timestamps.fromNanos(s.lastMessageSentTimeNanos)) in extractSocketData()
233 Timestamps.fromNanos(s.lastMessageReceivedTimeNanos)) in extractSocketData()
362 .setLastCallStartedTimestamp(Timestamps.fromNanos(stats.lastCallStartedNanos)); in extractChannelData()
376 .setCreationTimestamp(Timestamps.fromNanos(channelTrace.creationTimeNanos)) in toChannelTrace()
387 .setTimestamp(Timestamps.fromNanos(event.timestampNanos)); in toChannelTraceEvents()
DBinlogHelper.java123 return GrpcLogEntry.newBuilder().setTimestamp(Timestamps.fromNanos(epochNanos)); in newTimestampedBuilder()
418 : Durations.fromNanos(deadline.timeRemaining(TimeUnit.NANOSECONDS)); in getClientInterceptor()
518 : Durations.fromNanos(deadline.timeRemaining(TimeUnit.NANOSECONDS));
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/
DChannelzProtoUtilTest.java109 .setLastCallStartedTimestamp(Timestamps.fromNanos(4))
130 .setLastCallStartedTimestamp(Timestamps.fromNanos(4))
149 .setLastCallStartedTimestamp(Timestamps.fromNanos(4))
287 .setLastLocalStreamCreatedTimestamp(Timestamps.fromNanos(2))
288 .setLastRemoteStreamCreatedTimestamp(Timestamps.fromNanos(3))
294 .setLastMessageSentTimestamp(Timestamps.fromNanos(9))
295 .setLastMessageReceivedTimestamp(Timestamps.fromNanos(10))
321 .setCreationTimestamp(Timestamps.fromNanos(1000))
892 .setTimestamp(Timestamps.fromNanos(12)) in channelTrace_withEvents()
899 .setTimestamp(Timestamps.fromNanos(34)) in channelTrace_withEvents()
/external/protobuf/java/util/src/main/java/com/google/protobuf/util/
DTimeUtil.java222 return Timestamps.fromNanos(nanoseconds); in createTimestampFromNanos()
232 return Durations.fromNanos(nanoseconds); in createDurationFromNanos()
DDurations.java327 public static Duration fromNanos(long nanoseconds) { in fromNanos() method in Durations
DTimestamps.java347 public static Timestamp fromNanos(long nanoseconds) { in fromNanos() method in Timestamps
/external/grpc-grpc-java/grpclb/src/main/java/io/grpc/grpclb/
DGrpclbClientLoadRecorder.java105 .setTimestamp(Timestamps.fromNanos(time.currentTimeNanos())) in generateLoadReport()
/external/grpc-grpc-java/grpclb/src/test/java/io/grpc/grpclb/
DGrpclbLoadBalancerTest.java701 .setTimestamp(Timestamps.fromNanos(fakeClock.getTicker().read())) in assertNextReport()