Home
last modified time | relevance | path

Searched refs:ServerStatsFieldEnums (Results 1 – 3 of 3) sorted by relevance

/external/opencensus-java/api/src/main/java/io/opencensus/common/
DServerStatsEncoding.java56 ByteBuffer bb = ByteBuffer.allocate(ServerStatsFieldEnums.getTotalSize() + 1); in toBytes()
62 bb.put((byte) ServerStatsFieldEnums.Id.SERVER_STATS_LB_LATENCY_ID.value()); in toBytes()
65 bb.put((byte) ServerStatsFieldEnums.Id.SERVER_STATS_SERVICE_LATENCY_ID.value()); in toBytes()
68 bb.put((byte) ServerStatsFieldEnums.Id.SERVER_STATS_TRACE_OPTION_ID.value()); in toBytes()
100 ServerStatsFieldEnums.Id id = ServerStatsFieldEnums.Id.valueOf((int) bb.get() & 0xFF); in parseBytes()
DServerStatsFieldEnums.java31 public final class ServerStatsFieldEnums { class
139 private ServerStatsFieldEnums() {} in ServerStatsFieldEnums() method in ServerStatsFieldEnums
/external/opencensus-java/api/src/test/java/io/opencensus/common/
DServerStatsFieldEnumsTest.java21 import io.opencensus.common.ServerStatsFieldEnums.Id;
22 import io.opencensus.common.ServerStatsFieldEnums.Size;
54 assertThat(ServerStatsFieldEnums.getTotalSize()).isEqualTo(20); in totalSizeTest()