/external/grpc-grpc-java/core/src/test/java/io/grpc/ |
D | ServiceDescriptorTest.java | 21 import io.grpc.MethodDescriptor.MethodType; 47 new ServiceDescriptor(null, Collections.<MethodDescriptor<?, ?>>emptyList()); in failsOnNullName() 55 new ServiceDescriptor("name", (Collection<MethodDescriptor<?, ?>>) null); in failsOnNullMethods() 63 new ServiceDescriptor("name", (Collections.<MethodDescriptor<?, ?>>singletonList(null))); in failsOnNullMethod() 68 List<MethodDescriptor<?, ?>> descriptors = Collections.<MethodDescriptor<?, ?>>singletonList( in failsOnNonMatchingNames() 69 MethodDescriptor.<Void, Void>newBuilder() in failsOnNonMatchingNames() 71 .setFullMethodName(MethodDescriptor.generateFullMethodName("wrongservice", "method")) in failsOnNonMatchingNames() 84 List<MethodDescriptor<?, ?>> descriptors = Arrays.<MethodDescriptor<?, ?>>asList( in failsOnNonDuplicateNames() 85 MethodDescriptor.<Void, Void>newBuilder() in failsOnNonDuplicateNames() 87 .setFullMethodName(MethodDescriptor.generateFullMethodName("name", "method")) in failsOnNonDuplicateNames() [all …]
|
D | MethodDescriptorTest.java | 25 import io.grpc.MethodDescriptor.MethodType; 42 MethodDescriptor<String, String> descriptor = MethodDescriptor.<String, String>newBuilder() in createMethodDescriptor() 57 MethodDescriptor<String, String> descriptor = MethodDescriptor.<String, String>newBuilder() in idempotent() 67 MethodDescriptor<String, String> newDescriptor = in idempotent() 77 MethodDescriptor<String, String> descriptor = MethodDescriptor.<String, String>newBuilder() in safe() 86 MethodDescriptor<String, String> newDescriptor = descriptor.toBuilder().setSafe(true).build(); in safe() 95 MethodDescriptor<String, String> descriptor = MethodDescriptor.<String, String>newBuilder() in safeAndNonUnary() 103 MethodDescriptor<String, String> unused = descriptor.toBuilder().setSafe(true).build(); in safeAndNonUnary() 108 MethodDescriptor<String, String> md1 = MethodDescriptor.<String, String>newBuilder() in sampledToLocalTracing() 117 MethodDescriptor<String, String> md2 = md1.toBuilder() in sampledToLocalTracing() [all …]
|
D | ServerServiceDefinitionTest.java | 35 private MethodDescriptor<String, Integer> method1 = MethodDescriptor.<String, Integer>newBuilder() 36 .setType(MethodDescriptor.MethodType.UNKNOWN) 37 .setFullMethodName(MethodDescriptor.generateFullMethodName(serviceName, "method1")) 41 private MethodDescriptor<String, Integer> diffMethod1 = 43 private MethodDescriptor<String, Integer> method2 = method1.toBuilder() 44 .setFullMethodName(MethodDescriptor.generateFullMethodName(serviceName, "method2")) 63 assertEquals(Collections.<MethodDescriptor<?, ?>>emptyList(), in noMethods() 76 MethodDescriptor<?, ?> method = serverMethod.getMethodDescriptor(); in addMethod_twoArg() 131 HashSet<MethodDescriptor<?, ?>> goldenMethods = new HashSet<MethodDescriptor<?, ?>>(); in builderWithServiceName() 135 new HashSet<MethodDescriptor<?, ?>>(ssd.getServiceDescriptor().getMethods())); in builderWithServiceName() [all …]
|
/external/grpc-grpc-java/core/src/main/java/io/grpc/ |
D | ServiceDescriptor.java | 40 private final Collection<MethodDescriptor<?, ?>> methods; 51 public ServiceDescriptor(String name, MethodDescriptor<?, ?>... methods) { in ServiceDescriptor() argument 63 public ServiceDescriptor(String name, Collection<MethodDescriptor<?, ?>> methods) { in ServiceDescriptor() argument 70 this.methods = Collections.unmodifiableList(new ArrayList<MethodDescriptor<?, ?>>(b.methods)); in ServiceDescriptor() 89 public Collection<MethodDescriptor<?, ?>> getMethods() { in getMethods() 109 static void validateMethodNames(String serviceName, Collection<MethodDescriptor<?, ?>> methods) { in validateMethodNames() argument 111 for (MethodDescriptor<?, ?> method : methods) { in validateMethodNames() 114 MethodDescriptor.extractFullServiceName(method.getFullMethodName()); in validateMethodNames() 142 private List<MethodDescriptor<?, ?>> methods = new ArrayList<MethodDescriptor<?, ?>>(); 165 public Builder addMethod(MethodDescriptor<?, ?> method) { in addMethod() argument [all …]
|
D | ServerInterceptors.java | 140 final MethodDescriptor.Marshaller<InputStream> marshaller = in useInputStreamMessages() 141 new MethodDescriptor.Marshaller<InputStream>() { in useInputStreamMessages() 176 final MethodDescriptor.Marshaller<T> marshaller) { in useMarshalledMessages() 179 List<MethodDescriptor<?, ?>> wrappedDescriptors = in useMarshalledMessages() 180 new ArrayList<MethodDescriptor<?, ?>>(); in useMarshalledMessages() 183 final MethodDescriptor<?, ?> originalMethodDescriptor = definition.getMethodDescriptor(); in useMarshalledMessages() 184 final MethodDescriptor<T, T> wrappedMethodDescriptor = in useMarshalledMessages() 235 final MethodDescriptor<WReqT, WRespT> wrappedMethod) { in wrapMethod() 245 final MethodDescriptor<OReqT, ORespT> originalMethod, in wrapHandler() 246 final MethodDescriptor<WReqT, WRespT> wrappedMethod) { in wrapHandler() [all …]
|
/external/grpc-grpc-java/testing/src/main/java/io/grpc/testing/ |
D | TestMethodDescriptors.java | 20 import io.grpc.MethodDescriptor; 21 import io.grpc.MethodDescriptor.MethodType; 42 public static MethodDescriptor<Void, Void> voidMethod() { in voidMethod() 43 return MethodDescriptor.<Void, Void>newBuilder() in voidMethod() 45 .setFullMethodName(MethodDescriptor.generateFullMethodName("service_foo", "method_bar")) in voidMethod() 57 public static MethodDescriptor.Marshaller<Void> voidMarshaller() { in voidMarshaller() 61 private static final class NoopMarshaller implements MethodDescriptor.Marshaller<Void> {
|
/external/grpc-grpc-java/interop-testing/src/generated/main/grpc/io/grpc/testing/integration/ |
D | TestServiceGrpc.java | 3 import static io.grpc.MethodDescriptor.generateFullMethodName; 34 private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty, 41 methodType = io.grpc.MethodDescriptor.MethodType.UNARY) 42 public static io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty, 44 …io.grpc.MethodDescriptor<io.grpc.testing.integration.EmptyProtos.Empty, io.grpc.testing.integratio… in getEmptyCallMethod() 49 …io.grpc.MethodDescriptor.<io.grpc.testing.integration.EmptyProtos.Empty, io.grpc.testing.integrati… in getEmptyCallMethod() 50 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) in getEmptyCallMethod() 66 …private static volatile io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.SimpleReques… 73 methodType = io.grpc.MethodDescriptor.MethodType.UNARY) 74 public static io.grpc.MethodDescriptor<io.grpc.testing.integration.Messages.SimpleRequest, [all …]
|
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/facade/ |
D | FacadeConfiguration.java | 66 import com.googlecode.android_scripting.rpc.MethodDescriptor; 87 private final static SortedMap<String, MethodDescriptor> sRpcs = 88 new TreeMap<String, MethodDescriptor>(); 171 for (MethodDescriptor rpcMethod : MethodDescriptor.collectFrom(recieverClass)) { 186 public static List<MethodDescriptor> collectMethodDescriptors() { in collectMethodDescriptors() 187 return new ArrayList<MethodDescriptor>(sRpcs.values()); in collectMethodDescriptors() 194 public static List<MethodDescriptor> collectSupportedMethodDescriptors() { in collectSupportedMethodDescriptors() 195 List<MethodDescriptor> list = new ArrayList<MethodDescriptor>(); in collectSupportedMethodDescriptors() 196 for (MethodDescriptor descriptor : sRpcs.values()) { in collectSupportedMethodDescriptors() 211 public static Map<String, MethodDescriptor> collectStartEventMethodDescriptors() { in collectStartEventMethodDescriptors() [all …]
|
/external/flatbuffers/tests/MyGame/Example/ |
D | MonsterStorageGrpc.java | 10 import static io.grpc.MethodDescriptor.generateFullMethodName; 39 public static final io.grpc.MethodDescriptor<MyGame.Example.Monster, 42 private static volatile io.grpc.MethodDescriptor<MyGame.Example.Monster, 74 public static io.grpc.MethodDescriptor<MyGame.Example.Monster, 76 io.grpc.MethodDescriptor<MyGame.Example.Monster, MyGame.Example.Stat> getStoreMethod; in getStoreMethod() 81 io.grpc.MethodDescriptor.<MyGame.Example.Monster, MyGame.Example.Stat>newBuilder() in getStoreMethod() 82 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) in getStoreMethod() 100 public static final io.grpc.MethodDescriptor<MyGame.Example.Stat, 103 private static volatile io.grpc.MethodDescriptor<MyGame.Example.Stat, 107 public static io.grpc.MethodDescriptor<MyGame.Example.Stat, [all …]
|
/external/grpc-grpc-java/services/src/generated/main/grpc/io/grpc/channelz/v1/ |
D | ChannelzGrpc.java | 3 import static io.grpc.MethodDescriptor.generateFullMethodName; 34 private static volatile io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetTopChannelsRequest, 41 methodType = io.grpc.MethodDescriptor.MethodType.UNARY) 42 public static io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetTopChannelsRequest, 44 …io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetTopChannelsRequest, io.grpc.channelz.v1.GetTopChan… in getGetTopChannelsMethod() 49 …io.grpc.MethodDescriptor.<io.grpc.channelz.v1.GetTopChannelsRequest, io.grpc.channelz.v1.GetTopCha… in getGetTopChannelsMethod() 50 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) in getGetTopChannelsMethod() 66 private static volatile io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetServersRequest, 73 methodType = io.grpc.MethodDescriptor.MethodType.UNARY) 74 public static io.grpc.MethodDescriptor<io.grpc.channelz.v1.GetServersRequest, [all …]
|
/external/grpc-grpc-java/benchmarks/src/generated/main/grpc/io/grpc/benchmarks/proto/ |
D | BenchmarkServiceGrpc.java | 3 import static io.grpc.MethodDescriptor.generateFullMethodName; 30 private static volatile io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest, 37 methodType = io.grpc.MethodDescriptor.MethodType.UNARY) 38 public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest, 40 …io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest, io.grpc.benchmarks.proto… in getUnaryCallMethod() 45 …io.grpc.MethodDescriptor.<io.grpc.benchmarks.proto.Messages.SimpleRequest, io.grpc.benchmarks.prot… in getUnaryCallMethod() 46 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) in getUnaryCallMethod() 62 private static volatile io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest, 69 methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) 70 public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Messages.SimpleRequest, [all …]
|
D | WorkerServiceGrpc.java | 3 import static io.grpc.MethodDescriptor.generateFullMethodName; 30 private static volatile io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.ServerArgs, 37 methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) 38 public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.ServerArgs, 40 …io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.ServerArgs, io.grpc.benchmarks.proto.Con… in getRunServerMethod() 45 …io.grpc.MethodDescriptor.<io.grpc.benchmarks.proto.Control.ServerArgs, io.grpc.benchmarks.proto.Co… in getRunServerMethod() 46 .setType(io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) in getRunServerMethod() 62 private static volatile io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.ClientArgs, 69 methodType = io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING) 70 public static io.grpc.MethodDescriptor<io.grpc.benchmarks.proto.Control.ClientArgs, [all …]
|
/external/protobuf/csharp/src/Google.Protobuf/Reflection/ |
D | ServiceDescriptor.cs | 44 private readonly IList<MethodDescriptor> methods; 51 … (method, i) => new MethodDescriptor(method, file, this, i)); in ServiceDescriptor() 66 public IList<MethodDescriptor> Methods 76 public MethodDescriptor FindMethodByName(String name) in FindMethodByName() 78 return File.DescriptorPool.FindSymbol<MethodDescriptor>(FullName + "." + name); in FindMethodByName() 83 foreach (MethodDescriptor method in methods) in CrossLink()
|
/external/grpc-grpc-java/testing-proto/src/generated/main/grpc/io/grpc/testing/protobuf/ |
D | SimpleServiceGrpc.java | 3 import static io.grpc.MethodDescriptor.generateFullMethodName; 33 private static volatile io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, 40 methodType = io.grpc.MethodDescriptor.MethodType.UNARY) 41 public static io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, 43 …io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleRe… in getUnaryRpcMethod() 48 …io.grpc.MethodDescriptor.<io.grpc.testing.protobuf.SimpleRequest, io.grpc.testing.protobuf.SimpleR… in getUnaryRpcMethod() 49 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) in getUnaryRpcMethod() 65 private static volatile io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, 72 methodType = io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING) 73 public static io.grpc.MethodDescriptor<io.grpc.testing.protobuf.SimpleRequest, [all …]
|
/external/emma/core/java12/com/vladium/emma/data/ |
D | ClassDescriptor.java | 31 final MethodDescriptor [] methods) in ClassDescriptor() 57 final MethodDescriptor method = methods [m]; in ClassDescriptor() 129 public final MethodDescriptor [] getMethods () in getMethods() 180 final MethodDescriptor [] methods = new MethodDescriptor [length]; in readExternal() 183 methods [i] = MethodDescriptor.readExternal (in); in readExternal() 207 final MethodDescriptor [] methods = cls.m_methods; in writeExternal() 212 MethodDescriptor.writeExternal (methods [i], out); in writeExternal() 225 private final MethodDescriptor [] m_methods; // [never null, could be empty]
|
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/ |
D | RpcReceiverManager.java | 27 import com.googlecode.android_scripting.rpc.MethodDescriptor; 36 … private final Map<String, MethodDescriptor> mKnownRpcs = new HashMap<String, MethodDescriptor>(); 42 Collection<MethodDescriptor> methodList = MethodDescriptor.collectFrom(receiverClass); in RpcReceiverManager() 43 for (MethodDescriptor m : methodList) { in RpcReceiverManager() 82 public MethodDescriptor getMethodDescriptor(String methodName) { in getMethodDescriptor()
|
/external/grpc-grpc-java/netty/src/jmh/java/io/grpc/netty/ |
D | MethodDescriptorBenchmark.java | 21 import io.grpc.MethodDescriptor; 39 private static final MethodDescriptor.Marshaller<Void> marshaller = 40 new MethodDescriptor.Marshaller<Void>() { 52 MethodDescriptor<Void, Void> method = MethodDescriptor.<Void, Void>newBuilder() 53 .setType(MethodDescriptor.MethodType.UNARY)
|
/external/grpc-grpc-java/services/src/test/java/io/grpc/services/ |
D | BinaryLogProviderTest.java | 35 import io.grpc.MethodDescriptor; 36 import io.grpc.MethodDescriptor.Marshaller; 37 import io.grpc.MethodDescriptor.MethodType; 73 private final MethodDescriptor<String, Integer> method = 74 MethodDescriptor 100 final AtomicReference<MethodDescriptor<?, ?>> methodRef = in wrapChannel_methodDescriptor() 101 new AtomicReference<MethodDescriptor<?, ?>>(); in wrapChannel_methodDescriptor() 105 MethodDescriptor<RequestT, ResponseT> method, CallOptions callOptions) { in wrapChannel_methodDescriptor() 128 MethodDescriptor<RequestT, ResponseT> methodDescriptor, CallOptions callOptions) { in wrapChannel_handler() 197 private void validateWrappedMethod(MethodDescriptor<?, ?> wMethod) { in validateWrappedMethod() argument [all …]
|
/external/grpc-grpc-java/compiler/src/test/golden/ |
D | TestService.java.txt | 3 import static io.grpc.MethodDescriptor.generateFullMethodName; 33 private static volatile io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.SimpleRequest, 40 methodType = io.grpc.MethodDescriptor.MethodType.UNARY) 41 public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.SimpleRequest, 43 …io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.SimpleRequest, io.grpc.testing.compiler.Tes… 48 …io.grpc.MethodDescriptor.<io.grpc.testing.compiler.Test.SimpleRequest, io.grpc.testing.compiler.Te… 49 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) 65 …private static volatile io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingOutputCall… 72 methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) 73 public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingOutputCallRequest, [all …]
|
/external/protobuf/src/google/protobuf/ |
D | service.h | 118 class MethodDescriptor; // descriptor.h variable 167 virtual void CallMethod(const MethodDescriptor* method, 187 const MethodDescriptor* method) const = 0; 189 const MethodDescriptor* method) const = 0; 279 virtual void CallMethod(const MethodDescriptor* method,
|
/external/grpc-grpc-java/compiler/src/testLite/golden/ |
D | TestService.java.txt | 3 import static io.grpc.MethodDescriptor.generateFullMethodName; 33 private static volatile io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.SimpleRequest, 40 methodType = io.grpc.MethodDescriptor.MethodType.UNARY) 41 public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.SimpleRequest, 43 …io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.SimpleRequest, io.grpc.testing.compiler.Tes… 48 …io.grpc.MethodDescriptor.<io.grpc.testing.compiler.Test.SimpleRequest, io.grpc.testing.compiler.Te… 49 .setType(io.grpc.MethodDescriptor.MethodType.UNARY) 64 …private static volatile io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingOutputCall… 71 methodType = io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING) 72 public static io.grpc.MethodDescriptor<io.grpc.testing.compiler.Test.StreamingOutputCallRequest, [all …]
|
/external/grpc-grpc/src/compiler/ |
D | objective_c_generator.cc | 32 using ::grpc::protobuf::MethodDescriptor; 42 Printer* printer, const MethodDescriptor* method, in PrintProtoRpcDeclarationAsPragma() 76 void PrintMethodSignature(Printer* printer, const MethodDescriptor* method, in PrintMethodSignature() 101 void PrintSimpleSignature(Printer* printer, const MethodDescriptor* method, in PrintSimpleSignature() 109 void PrintAdvancedSignature(Printer* printer, const MethodDescriptor* method, in PrintAdvancedSignature() 117 const MethodDescriptor* method) { in GetMethodVars() 127 void PrintMethodDeclarations(Printer* printer, const MethodDescriptor* method) { in PrintMethodDeclarations() 138 void PrintSimpleImplementation(Printer* printer, const MethodDescriptor* method, in PrintSimpleImplementation() 156 const MethodDescriptor* method, in PrintAdvancedImplementation() 181 const MethodDescriptor* method) { in PrintMethodImplementations()
|
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/ |
D | MutableHandlerRegistryTest.java | 27 import io.grpc.MethodDescriptor; 28 import io.grpc.MethodDescriptor.Marshaller; 29 import io.grpc.MethodDescriptor.MethodType; 75 MethodDescriptor<String, Integer> flowMethod = MethodDescriptor.<String, Integer>newBuilder() in setUp() 86 MethodDescriptor<String, Integer> coupleMethod = in setUp() 88 MethodDescriptor<String, Integer> fewMethod = in setUp() 164 MethodDescriptor<String, Integer> anotherMethod = MethodDescriptor.<String, Integer>newBuilder() in replaceAndLookup()
|
/external/protobuf/src/google/protobuf/compiler/java/ |
D | java_service.cc | 140 const MethodDescriptor* method = descriptor_->method(i); in GenerateNewReflectiveServiceMethod() 179 const MethodDescriptor* method = descriptor_->method(i); in GenerateAbstractMethods() 205 const MethodDescriptor* method = descriptor_->method(i); in GenerateCallMethod() 253 const MethodDescriptor* method = descriptor_->method(i); in GenerateCallBlockingMethod() 300 const MethodDescriptor* method = descriptor_->method(i); in GenerateGetPrototype() 347 const MethodDescriptor* method = descriptor_->method(i); in GenerateStub() 391 const MethodDescriptor* method = descriptor_->method(i); in GenerateBlockingStub() 413 const MethodDescriptor* method = descriptor_->method(i); in GenerateBlockingStub() 440 const MethodDescriptor* method, in GenerateMethodSignature() 456 const MethodDescriptor* method) { in GenerateBlockingMethodSignature()
|
/external/grpc-grpc-java/testing-proto/src/test/java/io/grpc/testing/protobuf/ |
D | SimpleServiceTest.java | 19 import static io.grpc.MethodDescriptor.MethodType.BIDI_STREAMING; 20 import static io.grpc.MethodDescriptor.MethodType.CLIENT_STREAMING; 21 import static io.grpc.MethodDescriptor.MethodType.SERVER_STREAMING; 22 import static io.grpc.MethodDescriptor.MethodType.UNARY; 26 import io.grpc.MethodDescriptor; 58 MethodDescriptor<SimpleRequest, SimpleResponse> genericTypeShouldMatchWhenAssigned; in serviceMethodDescriotrs() 88 MethodDescriptor<SimpleRequest, SimpleResponse> descriptor, RpcMethod annotation) { in verifyRpcMethodAnnotation()
|