Home
last modified time | relevance | path

Searched refs:serviceName (Results 1 – 25 of 82) sorted by relevance

1234

/external/grpc-grpc/src/csharp/Grpc.Core/
DMethod.cs77 readonly string serviceName; field in Grpc.Core.Method
91 …public Method(MethodType type, string serviceName, string name, Marshaller<TRequest> requestMarsha… in Method() argument
94 this.serviceName = GrpcPreconditions.CheckNotNull(serviceName, "serviceName"); in Method()
98 this.fullName = GetFullName(serviceName, name); in Method()
119 return this.serviceName;
171 internal static string GetFullName(string serviceName, string methodName) in GetFullName() argument
173 return "/" + serviceName + "/" + methodName; in GetFullName()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DServerServiceDefinition.java33 public static Builder builder(String serviceName) { in builder() argument
34 return new Builder(serviceName); in builder()
79 private final String serviceName; field in ServerServiceDefinition.Builder
84 private Builder(String serviceName) { in Builder() argument
85 this.serviceName = checkNotNull(serviceName, "serviceName"); in Builder()
91 this.serviceName = serviceDescriptor.getName(); in Builder()
111 serviceName.equals(MethodDescriptor.extractFullServiceName(method.getFullMethodName())), in addMethod()
114 serviceName, method.getFullMethodName()); in addMethod() local
132 serviceDescriptor = new ServiceDescriptor(serviceName, methodDescriptors); in build()
DServiceDescriptor.java109 static void validateMethodNames(String serviceName, Collection<MethodDescriptor<?, ?>> methods) { in validateMethodNames() argument
115 checkArgument(serviceName.equals(methodServiceName), in validateMethodNames()
116 "service names %s != %s", methodServiceName, serviceName); in validateMethodNames() local
/external/opencensus-java/exporters/trace/jaeger/src/main/java/io/opencensus/exporter/trace/jaeger/
DJaegerTraceExporter.java62 public static void createAndRegister(final String thriftEndpoint, final String serviceName) { in createAndRegister() argument
65 final SpanExporter.Handler newHandler = newHandler(thriftEndpoint, serviceName); in createAndRegister()
80 public static void createWithSender(final HttpSender httpSender, final String serviceName) { in createWithSender() argument
83 final SpanExporter.Handler newHandler = newHandlerWithSender(httpSender, serviceName); in createWithSender()
90 final String thriftEndpoint, final String serviceName) { in newHandler() argument
92 final Process process = new Process(serviceName); in newHandler()
97 final HttpSender sender, final String serviceName) { in newHandlerWithSender() argument
98 final Process process = new Process(serviceName); in newHandlerWithSender()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DServerServiceDefinitionTest.java34 private String serviceName = "com.example.service"; field in ServerServiceDefinitionTest
37 .setFullMethodName(MethodDescriptor.generateFullMethodName(serviceName, "method1"))
44 .setFullMethodName(MethodDescriptor.generateFullMethodName(serviceName, "method2"))
59 ServiceDescriptor sd = new ServiceDescriptor(serviceName); in noMethods()
69 ServiceDescriptor sd = new ServiceDescriptor(serviceName, method1, method2); in addMethod_twoArg()
89 ServiceDescriptor sd = new ServiceDescriptor(serviceName, method1); in addMethod_duplicateName()
99 ServiceDescriptor sd = new ServiceDescriptor(serviceName); in buildMisaligned_extraMethod()
108 ServiceDescriptor sd = new ServiceDescriptor(serviceName, method1); in buildMisaligned_diffMethodInstance()
117 ServiceDescriptor sd = new ServiceDescriptor(serviceName, method1); in buildMisaligned_missingMethod()
125 ServerServiceDefinition ssd = ServerServiceDefinition.builder(serviceName) in builderWithServiceName()
[all …]
/external/grpc-grpc/src/objective-c/ProtoRPC/
DProtoService.m37 return [self initWithHost:nil packageName:nil serviceName:nil];
43 serviceName:(NSString *)serviceName {
44 if (!host || !serviceName) {
46 format:@"Neither host nor serviceName can be nil."];
51 _serviceName = [serviceName copy];
DProtoService.h28 : (NSString *)packageName serviceName : (NSString *)serviceName NS_DESIGNATED_INITIALIZER;
/external/opencensus-java/exporters/trace/zipkin/src/main/java/io/opencensus/exporter/trace/zipkin/
DZipkinExporter.java55 public static void createAndRegister(String v2Url, String serviceName) { in createAndRegister() argument
56 ZipkinTraceExporter.createAndRegister(v2Url, serviceName); in createAndRegister()
70 SpanBytesEncoder encoder, Sender sender, String serviceName) { in createAndRegister() argument
71 ZipkinTraceExporter.createAndRegister(encoder, sender, serviceName); in createAndRegister()
DZipkinTraceExporter.java66 public static void createAndRegister(String v2Url, String serviceName) { in createAndRegister() argument
67 createAndRegister(SpanBytesEncoder.JSON_V2, URLConnectionSender.create(v2Url), serviceName); in createAndRegister()
81 SpanBytesEncoder encoder, Sender sender, String serviceName) { in createAndRegister() argument
84 Handler newHandler = new ZipkinExporterHandler(encoder, sender, serviceName); in createAndRegister()
DZipkinExporterHandler.java68 ZipkinExporterHandler(SpanBytesEncoder encoder, Sender sender, String serviceName) { in ZipkinExporterHandler() argument
71 this.localEndpoint = produceLocalEndpoint(serviceName); in ZipkinExporterHandler()
75 static Endpoint produceLocalEndpoint(String serviceName) { in produceLocalEndpoint() argument
76 Endpoint.Builder builder = Endpoint.newBuilder().serviceName(serviceName); in produceLocalEndpoint()
/external/libchrome/base/android/junit/src/org/chromium/base/process_launcher/
DChildConnectionAllocatorTest.java65 public ChildProcessConnection createConnection(Context context, ComponentName serviceName, in createConnection() argument
67 mLastServiceName = serviceName; in createConnection()
86 ComponentName serviceName = mLastServiceName; in getAndResetLastServiceName() local
88 return serviceName; in getAndResetLastServiceName()
167 ComponentName serviceName = mTestConnectionFactory.getAndResetLastServiceName(); in testAllocateMaxNumber() local
168 assertFalse(serviceNames.contains(serviceName)); in testAllocateMaxNumber()
169 serviceNames.add(serviceName); in testAllocateMaxNumber()
286 ComponentName serviceName = mTestConnectionFactory.getAndResetLastServiceName(); in testFreeConnection() local
318 assertNotEquals(mTestConnectionFactory.getAndResetLastServiceName(), serviceName); in testFreeConnection() local
/external/ppp/pppd/plugins/rp-pppoe/
Ddiscovery.c155 if (conn->serviceName && len == strlen(conn->serviceName) && in parsePADOTags()
156 !strncmp((char *) data, conn->serviceName, len)) { in parsePADOTags()
272 if (conn->serviceName) { in sendPADI()
273 namelen = (UINT16_t) strlen(conn->serviceName); in sendPADI()
274 if (!strcmp(conn->serviceName, "NO-SERVICE-NAME-NON-RFC-COMPLIANT")) { in sendPADI()
295 if (conn->serviceName) { in sendPADI()
296 memcpy(svc->payload, conn->serviceName, strlen(conn->serviceName)); in sendPADI()
358 pc.serviceNameOK = (conn->serviceName) ? 0 : 1; in waitForPADO()
459 if (conn->serviceName) { in sendPADR()
460 namelen = (UINT16_t) strlen(conn->serviceName); in sendPADR()
[all …]
Dpppoe-discovery.c392 if (conn->serviceName && len == strlen(conn->serviceName) && in parsePADOTags()
393 !strncmp((char *) data, conn->serviceName, len)) { in parsePADOTags()
451 if (conn->serviceName) { in sendPADI()
452 namelen = (UINT16_t) strlen(conn->serviceName); in sendPADI()
470 if (conn->serviceName) { in sendPADI()
471 memcpy(svc->payload, conn->serviceName, strlen(conn->serviceName)); in sendPADI()
520 pc.serviceNameOK = (conn->serviceName) ? 0 : 1; in waitForPADO()
650 conn->serviceName = xstrdup(optarg); in main()
/external/kotlinx.coroutines/kotlinx-coroutines-core/jvm/src/internal/
DFastServiceLoader.kt152 val serviceName = line.substringBefore("#").trim() in parseFile() constant
153 …require(serviceName.all { it == '.' || Character.isJavaIdentifierPart(it) }) { "Illegal service pr… in parseFile()
154 if (serviceName.isNotEmpty()) { in parseFile()
155 names.add(serviceName) in parseFile()
/external/python/apitools/samples/servicemanagement_sample/servicemanagement_v1/
Dservicemanagement_v1_messages.py526 serviceName = _messages.StringField(3) variable in ConvertConfigRequest
605 serviceName = _messages.StringField(3) variable in CustomerSettings
1259 serviceName = _messages.StringField(7) variable in ManagedService
1869 serviceName = _messages.StringField(5) variable in ProjectSettings
2567 serviceName = _messages.StringField(2) variable in ServiceAccessPolicy
2589 serviceName = _messages.StringField(1, required=True) variable in ServicemanagementServicesAccessPolicyQueryRequest
2603 serviceName = _messages.StringField(2, required=True) variable in ServicemanagementServicesConfigsCreateRequest
2617 serviceName = _messages.StringField(2, required=True) variable in ServicemanagementServicesConfigsGetRequest
2632 serviceName = _messages.StringField(3, required=True) variable in ServicemanagementServicesConfigsListRequest
2645 serviceName = _messages.StringField(1, required=True) variable in ServicemanagementServicesConfigsSubmitRequest
[all …]
/external/grpc-grpc-java/services/src/main/java/io/grpc/protobuf/services/
DProtoReflectionService.java107 String serviceName = serviceDescriptor.getName(); in updateIndexIfNecessary() local
112 serverServiceNames.add(serviceName); in updateIndexIfNecessary()
273 for (String serviceName : serverReflectionIndex.getServiceNames()) { in listServices()
274 builder.addService(ServiceResponse.newBuilder().setName(serviceName)); in listServices()
419 String serviceName = serviceDescriptor.getName(); in FileDescriptorIndex() local
421 !serviceNames.contains(serviceName), "Service already defined: %s", serviceName); in FileDescriptorIndex()
423 serviceNames.add(serviceName); in FileDescriptorIndex()
497 String serviceName = service.getFullName(); in processService() local
499 !fileDescriptorsBySymbol.containsKey(serviceName), in processService()
501 serviceName); in processService()
[all …]
/external/connectedappssdk/tests/instrumented/src/main/java/com/google/android/enterprise/connectedapps/instrumented/utils/
DServiceCall.java132 private final String serviceName; field in ServiceCall
138 ServiceCall(String serviceName, int methodId) { in ServiceCall() argument
139 this.serviceName = serviceName; in ServiceCall()
193 String cmd = "service call " + serviceName + " " + methodId + commandBuilder; in getCommandUnchecked()
/external/libcups/backend/
Ddnssd.c85 …s, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *serviceName, const char *re…
86 …s, uint32_t interfaceIndex, DNSServiceErrorType errorCode, const char *serviceName, const char *re…
93 const char *serviceName,
105 static cups_device_t *get_device(cups_array_t *devices, const char *serviceName, const char *regtyp…
549 const char *serviceName, /* I - Name of service/device */ in browse_callback() argument
558 serviceName, regtype, replyDomain, context); in browse_callback()
571 get_device((cups_array_t *)context, serviceName, regtype, replyDomain); in browse_callback()
585 const char *serviceName, /* I - Name of service/device */ in browse_local_callback() argument
597 serviceName, regtype, replyDomain, context); in browse_local_callback()
610 device = get_device((cups_array_t *)context, serviceName, regtype, in browse_local_callback()
[all …]
/external/guava/android/guava/src/com/google/common/util/concurrent/
DAbstractExecutionThreadService.java51 return serviceName();
166 MoreExecutors.newThread(serviceName(), command).start(); in executor()
173 return serviceName() + " [" + state() + "]";
246 protected String serviceName() {
DAbstractIdleService.java43 return serviceName() + " " + state(); in get()
119 return serviceName() + " [" + state() + "]";
190 protected String serviceName() {
/external/guava/guava/src/com/google/common/util/concurrent/
DAbstractExecutionThreadService.java52 return serviceName();
167 MoreExecutors.newThread(serviceName(), command).start(); in executor()
174 return serviceName() + " [" + state() + "]";
259 protected String serviceName() {
/external/grpc-grpc-java/core/src/main/java/io/grpc/util/
DMutableHandlerRegistry.java91 String serviceName = MethodDescriptor.extractFullServiceName(methodName); in lookupMethod() local
92 if (serviceName == null) { in lookupMethod()
95 ServerServiceDefinition service = services.get(serviceName); in lookupMethod()
/external/libchrome/base/android/java/src/org/chromium/base/process_launcher/
DChildConnectionAllocator.java34 ChildProcessConnection createConnection(Context context, ComponentName serviceName, in createConnection() argument
41 public ChildProcessConnection createConnection(Context context, ComponentName serviceName, in createConnection() argument
44 context, serviceName, bindToCaller, bindAsExternalService, serviceBundle); in createConnection()
152 ComponentName serviceName = new ComponentName(mPackageName, mServiceClassName + slot); in allocate() local
219 context, serviceName, mBindToCaller, mBindAsExternalService, serviceBundle); in allocate()
/external/libchrome/crypto/
Dapple_keychain.h36 const char* serviceName,
46 const char* serviceName,
/external/grpc-grpc-java/benchmarks/src/jmh/java/io/grpc/benchmarks/netty/
DHandlerRegistryBenchmark.java69 String serviceName = randomString(); in setup() local
70 ServerServiceDefinition.Builder serviceBuilder = ServerServiceDefinition.builder(serviceName); in setup()
76 .setFullMethodName(MethodDescriptor.generateFullMethodName(serviceName, methodName)) in setup()

1234