Searched refs:getGrpcUserAgent (Results 1 – 8 of 8) sorted by relevance
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/ |
D | GrpcUtilTest.java | 130 assertTrue(GrpcUtil.getGrpcUserAgent("netty", null).startsWith("grpc-java-netty/")); in grpcUserAgent() 131 assertTrue(GrpcUtil.getGrpcUserAgent("okhttp", "libfoo/1.0") in grpcUserAgent()
|
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/ |
D | CronetClientTransport.java | 91 this.userAgent = GrpcUtil.getGrpcUserAgent("cronet", userAgent); in CronetClientTransport()
|
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/ |
D | NettyClientTransport.java | 115 this.userAgent = new AsciiString(GrpcUtil.getGrpcUserAgent("netty", userAgent)); in NettyClientTransport()
|
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/ |
D | NettyClientTransportTest.java | 164 assertEquals(GrpcUtil.getGrpcUserAgent("netty", null), headers.get(USER_AGENT_KEY)); in addDefaultUserAgent() 200 assertEquals(GrpcUtil.getGrpcUserAgent("netty", "testUserAgent"), in overrideDefaultUserAgent()
|
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/ |
D | OkHttpClientTransport.java | 223 this.userAgent = GrpcUtil.getGrpcUserAgent("okhttp", userAgent); in OkHttpClientTransport() 251 this.userAgent = GrpcUtil.getGrpcUserAgent("okhttp", userAgent); in OkHttpClientTransport()
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/ |
D | GrpcUtil.java | 432 public static String getGrpcUserAgent( in getGrpcUserAgent() method in GrpcUtil
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/ |
D | InProcessTransport.java | 100 this.userAgent = GrpcUtil.getGrpcUserAgent("inprocess", userAgent); in InProcessTransport()
|
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/ |
D | OkHttpClientTransportTest.java | 492 GrpcUtil.getGrpcUserAgent("okhttp", null)); in addDefaultUserAgent() 514 GrpcUtil.getGrpcUserAgent("okhttp", "fakeUserAgent")), in overrideDefaultUserAgent()
|