Home
last modified time | relevance | path

Searched refs:newHandler (Results 1 – 25 of 30) sorted by relevance

12

/external/opencensus-java/exporters/trace/jaeger/src/main/java/io/opencensus/exporter/trace/jaeger/
DJaegerTraceExporter.java65 final SpanExporter.Handler newHandler = newHandler(thriftEndpoint, serviceName); in createAndRegister() local
66 JaegerTraceExporter.handler = newHandler; in createAndRegister()
67 register(Tracing.getExportComponent().getSpanExporter(), newHandler); in createAndRegister() local
83 final SpanExporter.Handler newHandler = newHandlerWithSender(httpSender, serviceName); in createWithSender() local
84 JaegerTraceExporter.handler = newHandler; in createWithSender()
85 register(Tracing.getExportComponent().getSpanExporter(), newHandler); in createWithSender() local
89 private static SpanExporter.Handler newHandler( in newHandler() method in JaegerTraceExporter
/external/opencensus-java/exporters/trace/ocagent/src/main/java/io/opencensus/exporter/trace/ocagent/
DOcAgentTraceExporter.java64 OcAgentTraceExporterHandler newHandler = new OcAgentTraceExporterHandler(); in createAndRegister() local
65 registerInternal(newHandler); in createAndRegister()
79 OcAgentTraceExporterHandler newHandler = in createAndRegister() local
86 registerInternal(newHandler); in createAndRegister()
100 private static void registerInternal(Handler newHandler) { in registerInternal() argument
102 handler = newHandler; in registerInternal()
103 register(Tracing.getExportComponent().getSpanExporter(), newHandler); in registerInternal() local
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DGoogleDefaultProtocolNegotiatorTest.java55 Handler handler = googleProtocolNegotiator.newHandler(mockHandler); in altsHandler()
56 verify(altsProtocolNegotiator, times(1)).newHandler(mockHandler); in altsHandler()
57 verify(tlsProtocolNegotiator, never()).newHandler(mockHandler); in altsHandler()
65 Handler handler = googleProtocolNegotiator.newHandler(mockHandler); in tlsHandler()
66 verify(altsProtocolNegotiator, never()).newHandler(mockHandler); in tlsHandler()
67 verify(tlsProtocolNegotiator, times(1)).newHandler(mockHandler); in tlsHandler()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DGoogleDefaultProtocolNegotiator.java44 public Handler newHandler(GrpcHttp2ConnectionHandler grpcHandler) { in newHandler() method in GoogleDefaultProtocolNegotiator
47 return altsProtocolNegotiator.newHandler(grpcHandler); in newHandler()
49 return tlsProtocolNegotiator.newHandler(grpcHandler); in newHandler()
DAltsProtocolNegotiator.java61 public Handler newHandler(GrpcHttp2ConnectionHandler grpcHandler) { in create()
/external/opencensus-java/exporters/trace/instana/src/main/java/io/opencensus/exporter/trace/instana/
DInstanaTraceExporter.java67 Handler newHandler = new InstanaExporterHandler(new URL(agentEndpoint)); in createAndRegister() local
68 handler = newHandler; in createAndRegister()
69 register(Tracing.getExportComponent().getSpanExporter(), newHandler); in createAndRegister() local
/external/opencensus-java/exporters/trace/zipkin/src/main/java/io/opencensus/exporter/trace/zipkin/
DZipkinTraceExporter.java84 Handler newHandler = new ZipkinExporterHandler(encoder, sender, serviceName); in createAndRegister() local
85 handler = newHandler; in createAndRegister()
86 register(Tracing.getExportComponent().getSpanExporter(), newHandler); in createAndRegister() local
/external/opencensus-java/exporters/trace/stackdriver/src/main/java/io/opencensus/exporter/trace/stackdriver/
DStackdriverTraceExporter.java98 private static void registerInternal(Handler newHandler) { in registerInternal() argument
100 handler = newHandler; in registerInternal()
101 register(Tracing.getExportComponent().getSpanExporter(), newHandler); in registerInternal() local
/external/mockito/src/main/java/org/mockito/internal/creation/bytebuddy/
DByteBuddyMockMaker.java39 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock() argument
40 defaultByteBuddyMockMaker.resetMock(mock, newHandler, settings); in resetMock()
DSubclassByteBuddyMockMaker.java137 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock() argument
139 new MockMethodInterceptor(newHandler, settings) in resetMock()
DInlineByteBuddyMockMaker.java270 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock() argument
271 … MockMethodInterceptor mockMethodInterceptor = new MockMethodInterceptor(newHandler, settings); in resetMock()
/external/mockito/subprojects/android/src/main/java/org/mockito/android/internal/creation/
DAndroidByteBuddyMockMaker.java48 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock() argument
49 delegate.resetMock(mock, newHandler, settings); in resetMock()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DProtocolNegotiators.java86 public Handler newHandler(final GrpcHttp2ConnectionHandler handler) { in serverPlaintext()
117 public Handler newHandler(GrpcHttp2ConnectionHandler handler) {
200 public Handler newHandler(GrpcHttp2ConnectionHandler http2Handler) {
208 proxyHandler, negotiator.newHandler(http2Handler));
298 public Handler newHandler(GrpcHttp2ConnectionHandler handler) {
336 public Handler newHandler(GrpcHttp2ConnectionHandler handler) {
357 public Handler newHandler(GrpcHttp2ConnectionHandler handler) {
DProtocolNegotiator.java45 Handler newHandler(GrpcHttp2ConnectionHandler grpcHandler); in newHandler() method
DNettyServerTransport.java141 ChannelHandler negotiationHandler = protocolNegotiator.newHandler(grpcHandler); in start()
254 return NettyServerHandler.newHandler( in createHandler()
DNettyClientTransport.java192 handler = NettyClientHandler.newHandler(
204 negotiationHandler = negotiator.newHandler(handler);
DNettyClientHandler.java112 static NettyClientHandler newHandler( in newHandler() method in NettyClientHandler
133 return newHandler( in newHandler()
149 static NettyClientHandler newHandler( in newHandler() method in NettyClientHandler
/external/dexmaker/dexmaker-mockito-inline/src/main/java/com/android/dx/mockito/inline/
DMockMakerMultiplexer.java88 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock() argument
90 mockMaker.resetMock(mock, newHandler, settings); in resetMock()
DInlineDexmakerMockMaker.java318 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock() argument
321 adapter.setHandler(newHandler); in resetMock()
/external/mockito/src/main/java/org/mockito/internal/util/
DMockUtil.java48 MockHandler newHandler = createMockHandler(settings); in resetMock() local
50 mockMaker.resetMock(mock, newHandler, settings); in resetMock()
/external/dexmaker/dexmaker-mockito/src/main/java/com/android/dx/mockito/
DDexmakerMockMaker.java127 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock() argument
129 adapter.setHandler(newHandler); in resetMock()
/external/dexmaker/dexmaker-mockito-inline-extended/src/main/java/com/android/dx/mockito/inline/
DInlineStaticMockMaker.java171 public void resetMock(Object mock, MockHandler newHandler, MockCreationSettings settings) { in resetMock() argument
178 adapter.setHandler(newHandler); in resetMock()
/external/mockito/src/main/java/org/mockito/plugins/
DMockMaker.java100 MockHandler newHandler, in resetMock() argument
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DProtocolNegotiatorsTest.java328 ChannelHandler handler = nego.newHandler(grpcHandler); in httpProxy_completes()
392 ChannelHandler handler = nego.newHandler(grpcHandler); in httpProxy_500()
DNettyHandlerTestBase.java120 handler = newHandler(); in initChannel()
353 protected abstract T newHandler() throws Http2Exception; in newHandler() method in NettyHandlerTestBase

12