Home
last modified time | relevance | path

Searched refs:service_class (Results 1 – 10 of 10) sorted by relevance

/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/wsgi/
Dservice.py69 service_class = getattr(service_factory, 'service_class', service_factory)
70 remote_methods = service_class.all_remote_methods()
98 service_class.definition_name().encode('utf-8'),
247 service_class = service_factory.service_class
249 service_class = service_factory
259 registry_map[service_path] = service_class
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/testing/
Dmock.py282 service_class = getattr(self.__client_class, name)
283 if not isinstance(service_class, type):
285 if not issubclass(service_class, apitools_base.BaseApiService):
287 self.__real_service_classes[name] = service_class
288 service = service_class(client)
291 collection_name = service_class._NAME
316 for name, service_class in self.__real_service_classes.items():
317 setattr(self.__client_class, name, service_class)
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/
Ddefinition.py199 service_class = type(class_name, (remote.Service,), class_dict)
200 return service_class
229 service_class = define_service(service_descriptor, module)
230 setattr(module, service_descriptor.name, service_class)
Dregistry.py227 for name, service_class in self.__registry.items():
230 mapping.definition = service_class.definition_name().decode('utf-8')
Ddescriptor.py438 def describe_service(service_class): argument
448 descriptor.name = service_class.__name__
450 remote_methods = service_class.all_remote_methods()
Dtransport.py371 def service_class(self): member in LocalTransport
Dremote.py918 service_factory.service_class = cls
Dremote_test.py490 self.assertEquals(StatefulService, factory.service_class)
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/webapp/
Dservice_handlers.py802 service_class = getattr(service, 'service_class', service)
805 path = '/' + service_class.definition_name().replace('.', '/')
820 registry_map[path] = service_class
Dservice_handlers_test.py1157 mapped_registry_factory.service_factory.service_class)
1165 expected_registry[path] = factory.service_class
1227 self.assertEquals(MyService, factory.service_factory.service_class)