Home
last modified time | relevance | path

Searched refs:methodDescriptor (Results 1 – 25 of 32) sorted by relevance

12

/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DServerCallInfoImpl.java29 private final MethodDescriptor<ReqT, RespT> methodDescriptor; field in ServerCallInfoImpl
34 MethodDescriptor<ReqT, RespT> methodDescriptor, in ServerCallInfoImpl() argument
37 this.methodDescriptor = methodDescriptor; in ServerCallInfoImpl()
44 return methodDescriptor; in getMethodDescriptor()
64 return Objects.equal(methodDescriptor, that.methodDescriptor) in equals()
71 return Objects.hashCode(methodDescriptor, attributes, authority); in hashCode()
DForwardingManagedChannel.java62 MethodDescriptor<RequestT, ResponseT> methodDescriptor, CallOptions callOptions) { in newCall() argument
63 return delegate.newCall(methodDescriptor, callOptions); in newCall()
DOobChannel.java194 MethodDescriptor<RequestT, ResponseT> methodDescriptor, CallOptions callOptions) { in newCall() argument
195 return new ClientCallImpl<RequestT, ResponseT>(methodDescriptor, in newCall()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DServiceConfigInterceptorTest.java68 private final MethodDescriptor<Void, Void> methodDescriptor = field in ServiceConfigInterceptorTest
98 interceptor.interceptCall(methodDescriptor, CallOptions.DEFAULT.withoutWaitForReady(), channel); in withWaitForReady()
100 verify(channel).newCall(eq(methodDescriptor), callOptionsCap.capture()); in withWaitForReady()
106 interceptor.interceptCall(methodDescriptor, CallOptions.DEFAULT.withoutWaitForReady(), channel); in handleUpdateNotCalledBeforeInterceptCall()
108 verify(channel).newCall(eq(methodDescriptor), callOptionsCap.capture()); in handleUpdateNotCalledBeforeInterceptCall()
124 interceptor.interceptCall(methodDescriptor, CallOptions.DEFAULT, channel); in withMaxRequestSize()
126 verify(channel).newCall(eq(methodDescriptor), callOptionsCap.capture()); in withMaxRequestSize()
139 methodDescriptor, CallOptions.DEFAULT.withMaxOutboundMessageSize(5), channel); in withMaxRequestSize_pickSmallerExisting()
141 verify(channel).newCall(eq(methodDescriptor), callOptionsCap.capture()); in withMaxRequestSize_pickSmallerExisting()
154 methodDescriptor, CallOptions.DEFAULT.withMaxOutboundMessageSize(10), channel); in withMaxRequestSize_pickSmallerNew()
[all …]
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DFactoryWriter.java146 for (FactoryMethodDescriptor methodDescriptor : descriptor.methodDescriptors()) { in addFactoryMethods()
148 MethodSpec.methodBuilder(methodDescriptor.name()) in addFactoryMethods()
149 .addTypeVariables(getMethodTypeVariables(methodDescriptor, factoryTypeVariables)) in addFactoryMethods()
150 .returns(TypeName.get(methodDescriptor.returnType())) in addFactoryMethods()
151 .varargs(methodDescriptor.isVarArgs()); in addFactoryMethods()
152 if (methodDescriptor.overridingMethod()) { in addFactoryMethods()
155 if (methodDescriptor.publicMethod()) { in addFactoryMethods()
159 method.addParameters(parameters(methodDescriptor.passedParameters())); in addFactoryMethods()
160 Iterator<Parameter> parameters = methodDescriptor.creationParameters().iterator(); in addFactoryMethods()
165 if (methodDescriptor.passedParameters().contains(parameter)) { in addFactoryMethods()
[all …]
DAutoFactoryProcessor.java139 for (FactoryMethodDescriptor methodDescriptor : methodDescriptors) { in doProcess()
140 extending.add(methodDescriptor.declaration().extendingType().asType()); in doProcess()
142 methodDescriptor.declaration().implementingTypes()) { in doProcess()
145 publicType |= methodDescriptor.publicMethod(); in doProcess()
147 allowSubclasses = methodDescriptor.declaration().allowSubclasses(); in doProcess()
148 } else if (!allowSubclasses.equals(methodDescriptor.declaration().allowSubclasses())) { in doProcess()
152 methodDescriptor.declaration().target(), in doProcess()
153 methodDescriptor.declaration().mirror(), in doProcess()
154 methodDescriptor.declaration().valuesMap().get("allowSubclasses")); in doProcess()
DFactoryDescriptor.java189 for (FactoryMethodDescriptor methodDescriptor : methodDescriptors) { in getDeduplicatedMethodDescriptors()
191 duplicateMethodDescriptors.get(methodDescriptor); in getDeduplicatedMethodDescriptors()
195 ? methodDescriptor in getDeduplicatedMethodDescriptors()
201 : methodDescriptor; in getDeduplicatedMethodDescriptors()
/external/grpc-grpc-java/testing/src/main/java/io/grpc/internal/testing/
DAbstractTransportTest.java150 private MethodDescriptor<String, String> methodDescriptor = field in AbstractTransportTest
252 ClientStream stream = client.newStream(methodDescriptor, new Metadata(), callOptions); in frameAfterRstStreamShouldNotBreakClientChannel()
258 stream.writeMessage(methodDescriptor.streamRequest("foo")); in frameAfterRstStreamShouldNotBreakClientChannel()
264 serverStreamCreation.stream.writeMessage(methodDescriptor.streamResponse("bar")); in frameAfterRstStreamShouldNotBreakClientChannel()
275 stream = client.newStream(methodDescriptor, new Metadata(), callOptions); in frameAfterRstStreamShouldNotBreakClientChannel()
370 ClientStream clientStream = client.newStream(methodDescriptor, new Metadata(), callOptions); in openStreamPreventsTermination()
422 ClientStream clientStream = client.newStream(methodDescriptor, new Metadata(), callOptions); in shutdownNowKillsClientStream()
459 ClientStream clientStream = client.newStream(methodDescriptor, new Metadata(), callOptions); in shutdownNowKillsServerStream()
513 ClientStream stream = client.newStream(methodDescriptor, new Metadata(), callOptions); in ping_duringShutdown()
557 ClientStream stream = client.newStream(methodDescriptor, new Metadata(), callOptions); in newStream_duringShutdown()
[all …]
/external/javassist/src/main/javassist/convert/
DTransformCall.java30 protected String classname, methodname, methodDescriptor; field in TransformCall
50 methodDescriptor = substMethod.getMethodInfo2().getDescriptor(); in TransformCall()
78 String cname = cp.eqMember(methodname, methodDescriptor, index); in transform()
98 CtMethod m = clazz.getMethod(methodname, methodDescriptor); in matchClass()
DTransformBefore.java42 methodDescriptor = origMethod.getMethodInfo2().getDescriptor(); in TransformBefore()
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DMethodSignature.java24 String methodDescriptor = internalString.substring(parenStart); in parse() local
25 Type[] argumentTypes = Type.getArgumentTypes(methodDescriptor); in parse()
30 final String returnType = Type.getReturnType(methodDescriptor).getClassName(); in parse()
/external/grpc-grpc-java/okhttp/src/test/java/io/grpc/okhttp/
DOkHttpClientStreamTest.java69 private MethodDescriptor<?, ?> methodDescriptor; field in OkHttpClientStreamTest
75 methodDescriptor = MethodDescriptor.<Void, Void>newBuilder() in setUp()
83 methodDescriptor, in setUp()
150 stream = new OkHttpClientStream(methodDescriptor, metaData, frameWriter, transport, in start_userAgentRemoved()
165 stream = new OkHttpClientStream(methodDescriptor, metaData, frameWriter, transport, in start_headerFieldOrder()
176 new Header(Header.TARGET_PATH, "/" + methodDescriptor.getFullMethodName()), in start_headerFieldOrder()
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DHandlerRegistryBenchmark.java74 MethodDescriptor<Void, Void> methodDescriptor = MethodDescriptor.<Void, Void>newBuilder() in setup() local
80 serviceBuilder.addMethod(methodDescriptor, in setup()
88 fullMethodNames.add(methodDescriptor.getFullMethodName()); in setup()
/external/grpc-grpc-java/stub/src/main/java/io/grpc/stub/
DServerCalls.java403 MethodDescriptor<?, ?> methodDescriptor, StreamObserver<?> responseObserver) { in asyncUnimplementedUnaryCall() argument
404 checkNotNull(methodDescriptor, "methodDescriptor"); in asyncUnimplementedUnaryCall()
408 methodDescriptor.getFullMethodName())) in asyncUnimplementedUnaryCall()
419 MethodDescriptor<?, ?> methodDescriptor, StreamObserver<?> responseObserver) { in asyncUnimplementedStreamingCall() argument
422 asyncUnimplementedUnaryCall(methodDescriptor, responseObserver); in asyncUnimplementedStreamingCall()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DSyntheticAccessorResolver.java93 String methodDescriptor = ReferenceUtil.getMethodDescriptor(methodReference); in getAccessedMember() local
95 AccessedMember accessedMember = resolvedAccessors.get(methodDescriptor); in getAccessedMember()
136 resolvedAccessors.put(methodDescriptor, member); in getAccessedMember()
/external/javassist/src/main/javassist/bytecode/
DEnclosingMethodAttribute.java116 public String methodDescriptor() { in methodDescriptor() method in EnclosingMethodAttribute
136 methodName(), methodDescriptor()); in copy()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DChannel.java47 MethodDescriptor<RequestT, ResponseT> methodDescriptor, CallOptions callOptions); in newCall() argument
/external/grpc-grpc-java/stub/src/test/java/io/grpc/stub/
DServerCallsTest.java463 private final MethodDescriptor<Integer, Integer> methodDescriptor; field in ServerCallsTest.ServerCallRecorder
472 public ServerCallRecorder(MethodDescriptor<Integer, Integer> methodDescriptor) { in ServerCallRecorder() argument
473 this.methodDescriptor = methodDescriptor; in ServerCallRecorder()
509 return methodDescriptor; in getMethodDescriptor()
/external/dagger2/java/dagger/grpc/server/processor/
DProxyModuleGenerator.java95 for (CodeBlock methodDescriptor : methodDescriptors()) { in provideServiceDefinitionContribution()
99 methodDescriptor); in provideServiceDefinitionContribution()
/external/desugar/java/com/google/devtools/build/android/desugar/
DBytecodeTypeInference.java48 public BytecodeTypeInference(int access, String owner, String name, String methodDescriptor) { in BytecodeTypeInference() argument
50 localVariableSlots = createInitialLocalVariableTypes(access, owner, name, methodDescriptor); in BytecodeTypeInference()
52 this.methodSignature = owner + "." + name + methodDescriptor; in BytecodeTypeInference()
779 int access, String ownerClass, String methodName, String methodDescriptor) { in createInitialLocalVariableTypes() argument
786 Type[] argumentTypes = Type.getArgumentTypes(methodDescriptor); in createInitialLocalVariableTypes()
819 + methodDescriptor); in createInitialLocalVariableTypes()
/external/grpc-grpc-java/android/src/main/java/io/grpc/android/
DAndroidChannelBuilder.java287 MethodDescriptor<RequestT, ResponseT> methodDescriptor, CallOptions callOptions) { in newCall() argument
288 return delegate.newCall(methodDescriptor, callOptions); in newCall()
/external/proguard/src/proguard/classfile/util/
DDynamicMemberReferenceInitializer.java863 String methodDescriptor = "("; in printDynamicInvocationNote() local
870 methodDescriptor += ClassUtil.isInternalArrayType(className) ? in printDynamicInvocationNote()
875 methodDescriptor += ")L***;"; in printDynamicInvocationNote()
880 new MemberDescriptorFilter(methodDescriptor, this))); in printDynamicInvocationNote()
/external/grpc-grpc-java/netty/src/test/java/io/grpc/netty/
DNettyClientStreamTest.java96 private MethodDescriptor<?, ?> methodDescriptor = MethodDescriptor.<Void, Void>newBuilder() field in NettyClientStreamTest
413 methodDescriptor, in setHttp2StreamShouldNotifyReady()
443 methodDescriptor, in removeUserAgentFromApplicationHeaders()
504 methodDescriptor, in createStream()
/external/emma/core/java12/com/vladium/jcd/lib/
DTypes.java204 compiler.methodDescriptor (); in descriptorToParameterTypes()
624 void methodDescriptor () throws IOException in methodDescriptor() method in Types.methodDescriptorCompiler
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DClassPool.java107 String methodDescriptor = ReferenceUtil.getMethodDescriptor(method, true); in intern() local
108 if (!methods.add(methodDescriptor)) { in intern()
110 poolClassDef.getType(), methodDescriptor); in intern()

12