/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/ |
D | service_registry.hpp | 20 template <typename Service, typename Arg> 22 asio::io_service& o, Service*, Arg arg) in service_registry() argument 24 first_service_(new Service(o, arg)) in service_registry() 27 init_key(key, Service::id); in service_registry() 32 template <typename Service> 33 Service& service_registry::first_service() in first_service() 35 return *static_cast<Service*>(first_service_); in first_service() 38 template <typename Service> 39 Service& service_registry::use_service() in use_service() 42 init_key(key, Service::id); in use_service() [all …]
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | ServiceManagerTest.java | 112 Service a = new NoOpDelayedService(150); in testServiceStartupTimes() 113 Service b = new NoOpDelayedService(353); in testServiceStartupTimes() 116 ImmutableMap<Service, Long> startupTimes = serviceManager.startupTimes(); in testServiceStartupTimes() 127 final Service b = new NoOpDelayedService(353) { in testServiceStartupTimes_selfStartingServices() 134 Service a = new NoOpDelayedService(150) { in testServiceStartupTimes_selfStartingServices() 142 ImmutableMap<Service, Long> startupTimes = serviceManager.startupTimes(); in testServiceStartupTimes_selfStartingServices() 153 Service a = new NoOpService(); in testServiceStartStop() 154 Service b = new NoOpService(); in testServiceStartStop() 158 assertState(manager, Service.State.NEW, a, b); in testServiceStartStop() 161 assertState(manager, Service.State.RUNNING, a, b); in testServiceStartStop() [all …]
|
D | AbstractIdleServiceTest.java | 52 assertEquals(Service.State.RUNNING, service.state()); in testServiceStartStop() 54 assertEquals(Service.State.TERMINATED, service.state()); in testServiceStartStop() 70 assertEquals(Service.State.FAILED, service.state()); in testStart_failed() 87 assertEquals(Service.State.FAILED, service.state()); in testStop_failed() 96 assertEquals(Service.State.RUNNING, service.state()); in testStart() 97 assertThat(service.transitionStates).has().exactly(Service.State.STARTING).inOrder(); in testStart() 116 assertEquals(Service.State.FAILED, service.state()); in testStart_failed() 117 assertThat(service.transitionStates).has().exactly(Service.State.STARTING).inOrder(); in testStart_failed() 125 assertEquals(Service.State.TERMINATED, service.state()); in testStop_withoutStart() 137 assertEquals(Service.State.TERMINATED, service.state()); in testStop_afterStart() [all …]
|
D | AbstractExecutionThreadServiceTest.java | 69 assertEquals(Service.State.RUNNING, service.state()); in testServiceStartStop() 75 assertEquals(Service.State.TERMINATED, service.state()); in testServiceStartStop() 89 assertEquals(Service.State.TERMINATED, service.state()); in testServiceStopIdempotence() 91 assertEquals(Service.State.TERMINATED, service.state()); in testServiceStopIdempotence() 99 service.expectedShutdownState = Service.State.RUNNING; in testServiceExitingOnItsOwn() 103 assertEquals(Service.State.RUNNING, service.state()); in testServiceExitingOnItsOwn() 109 assertEquals(Service.State.TERMINATED, service.state()); in testServiceExitingOnItsOwn() 113 assertEquals(Service.State.TERMINATED, service.state()); in testServiceExitingOnItsOwn() 177 assertEquals(Service.State.FAILED, service.state()); in testServiceThrowOnStartUp() 210 assertEquals(Service.State.FAILED, service.state()); in testServiceThrowOnRun() [all …]
|
D | ServiceTest.java | 19 import static com.google.common.util.concurrent.Service.State.FAILED; 20 import static com.google.common.util.concurrent.Service.State.NEW; 21 import static com.google.common.util.concurrent.Service.State.RUNNING; 22 import static com.google.common.util.concurrent.Service.State.STARTING; 23 import static com.google.common.util.concurrent.Service.State.STOPPING; 24 import static com.google.common.util.concurrent.Service.State.TERMINATED;
|
/external/guice/extensions/service/src/com/google/inject/service/ |
D | CompositeService.java | 41 private final Set<Key<? extends Service>> services = Sets.newLinkedHashSet(); 49 private volatile Service.State compositeState; 57 public CompositeService add(Class<? extends Service> service) { in add() 61 public CompositeService add(Key<? extends Service> service) { in add() 71 public Service compose() { in compose() 77 final List<Key<? extends Service>> services = ImmutableList.copyOf(this.services); in compose() 79 return new Service() { in compose() 82 for (Key<? extends Service> service : services) { in compose() 91 for (Key<? extends Service> service : services) { in compose() 104 private FutureTask<Service.State> futureGet(final List<Future<Service.State>> tasks, [all …]
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | ServiceManager.java | 26 import static com.google.common.util.concurrent.Service.State.FAILED; 27 import static com.google.common.util.concurrent.Service.State.NEW; 28 import static com.google.common.util.concurrent.Service.State.RUNNING; 29 import static com.google.common.util.concurrent.Service.State.STARTING; 30 import static com.google.common.util.concurrent.Service.State.STOPPING; 31 import static com.google.common.util.concurrent.Service.State.TERMINATED; 54 import com.google.common.util.concurrent.Service.State; 171 public void failure(Service service) {} in failure() 182 private final ImmutableList<Service> services; 192 public ServiceManager(Iterable<? extends Service> services) { in ServiceManager() [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/impl/ |
D | io_service.hpp | 22 template <typename Service> 23 inline Service& use_service(io_service& ios) in use_service() 26 (void)static_cast<io_service::service*>(static_cast<Service*>(0)); in use_service() 27 (void)static_cast<const io_service::id*>(&Service::id); in use_service() 29 return ios.service_registry_->template use_service<Service>(); in use_service() 39 template <typename Service> 40 inline void add_service(io_service& ios, Service* svc) in add_service() 43 (void)static_cast<io_service::service*>(static_cast<Service*>(0)); in add_service() 44 (void)static_cast<const io_service::id*>(&Service::id); in add_service() 46 ios.service_registry_->template add_service<Service>(svc); in add_service() [all …]
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | service_registry.hpp | 34 template <typename Service, typename Arg> 36 Service* initial_service, Arg arg); 46 template <typename Service> 47 Service& first_service(); 52 template <typename Service> 53 Service& use_service(); 57 template <typename Service> 58 void add_service(Service* new_service); 61 template <typename Service> 72 template <typename Service> [all …]
|
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/ |
D | grpc_call.h | 75 template <class Service> 90 virtual void RequestReceived(Service* service, bool ok) = 0; 96 virtual void RequestCancelled(Service* service, bool ok) = 0; 111 void OnCompleted(Service* service, bool ok) { in OnCompleted() 134 template <class Service, class GrpcService, class RequestMessage, 136 class Call : public UntypedCall<Service> { 148 using HandleRequestFunction = void (Service::*)( 149 Call<Service, GrpcService, RequestMessage, ResponseMessage>*); 156 void RequestReceived(Service* service, bool ok) override { in RequestReceived() 169 void RequestCancelled(Service* service, bool ok) override { in RequestCancelled() [all …]
|
/external/guice/core/test/com/google/inject/example/ |
D | ClientServiceWithDependencyInjection.java | 28 public interface Service { interface in ClientServiceWithDependencyInjection 32 public static class ServiceImpl implements ClientServiceWithDependencyInjection.Service { 42 private static final Service service = new ServiceImpl(); 44 public static Service getInstance() { in getInstance() 51 private final Service service; 53 public Client(Service service) { in Client() 67 Service service = ServiceFactory.getInstance(); in getInstance() 79 public static class MockService implements Service {
|
D | ClientServiceWithFactories.java | 28 public interface Service { interface in ClientServiceWithFactories 32 public static class ServiceImpl implements Service { 42 private static Service instance = new ServiceImpl(); 44 public static Service getInstance() { in getInstance() 48 public static void setInstance(Service service) { in setInstance() 56 Service service = ServiceFactory.getInstance(); in go() 62 Service previous = ServiceFactory.getInstance(); in testClient() 75 public static class MockService implements Service {
|
D | ClientServiceWithGuice.java | 35 public interface Service { interface in ClientServiceWithGuice 39 public static class ServiceImpl implements Service { 47 bind(Service.class).to(ServiceImpl.class).in(Scopes.SINGLETON); in configure() 53 private final Service service; 56 public Client(Service service) { in Client() 72 public static class MockService implements Service {
|
D | ClientServiceWithGuiceDefaults.java | 36 public interface Service { interface in ClientServiceWithGuiceDefaults 41 public static class ServiceImpl implements ClientServiceWithGuiceDefaults.Service { 49 private final Service service; 52 public Client(Service service) { in Client() 68 public static class MockService implements Service {
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | binding_unittest.cc | 37 class ServiceImpl : public sample::Service { 88 Binding<sample::Service> binding(&impl, std::move(request)); in TEST_F() 108 Binding<sample::Service> binding(&impl, std::move(request)); in TEST_F() 109 ptr->Frobinate(nullptr, sample::Service::BazOptions::REGULAR, nullptr, in TEST_F() 123 ptr->Frobinate(nullptr, sample::Service::BazOptions::REGULAR, nullptr, in TEST_F() 137 Binding<sample::Service> binding(&impl, GetProxy(&ptr)); in TEST_F() 156 Binding<sample::Service> binding(&impl, GetProxy(&ptr)); in TEST_F() 174 InterfaceRequest<sample::Service> request) in ServiceImplWithBinding() 190 Binding<sample::Service> binding_; 214 Binding<sample::Service> binding(&impl, GetProxy(&ptr)); in TEST_F() [all …]
|
/external/mockito/src/test/java/org/mockitousage/bugs/ |
D | ShouldNotDeadlockAnswerExecutionTest.java | 24 Service service = Mockito.mock(Service.class); in failIfMockIsSharedBetweenThreads() 49 Service service1 = Mockito.mock(Service.class); in successIfEveryThreadHasItsOwnMock() 50 Service service2 = Mockito.mock(Service.class); in successIfEveryThreadHasItsOwnMock() 99 private Service service; 101 public ServiceRunner(Service service) { in ServiceRunner() 111 interface Service { interface in ShouldNotDeadlockAnswerExecutionTest
|
/external/ppp/pppd/plugins/radius/etc/ |
D | dictionary.compat | 6 ATTRIBUTE User-Service-Type 6 integer 19 VALUE Service-Type Shell-User 6 21 VALUE Service-Type Dialback-Login-User 3 22 VALUE Service-Type Dialback-Framed-User 4 33 VALUE Service-Type Login 1 34 VALUE Service-Type Framed 2 35 VALUE Service-Type Callback-Login 3 36 VALUE Service-Type Callback-Framed 4 37 VALUE Service-Type Exec-User 7
|
D | dictionary | 51 ATTRIBUTE Service-Type 6 integer 60 ATTRIBUTE Login-Service 15 integer 135 VALUE Service-Type Login-User 1 136 VALUE Service-Type Framed-User 2 137 VALUE Service-Type Callback-Login-User 3 138 VALUE Service-Type Callback-Framed-User 4 139 VALUE Service-Type Outbound-User 5 140 VALUE Service-Type Administrative-User 6 141 VALUE Service-Type NAS-Prompt-User 7 162 VALUE Login-Service Telnet 0 [all …]
|
/external/flatbuffers/tests/ |
D | monster_test.grpc.fb.h | 78 class Service : public ::grpc::Service { 80 Service(); 81 virtual ~Service(); 88 void BaseClassMustBeDerivedFromService(const Service *service) {} in BaseClassMustBeDerivedFromService() 91 ::grpc::Service::MarkMethodAsync(0); in WithAsyncMethod_Store() 102 …::grpc::Service::RequestAsyncUnary(0, context, request, response, new_call_cq, notification_cq, ta… in RequestStore() 108 void BaseClassMustBeDerivedFromService(const Service *service) {} in BaseClassMustBeDerivedFromService() 111 ::grpc::Service::MarkMethodAsync(1); in WithAsyncMethod_Retrieve() 122 …::grpc::Service::RequestAsyncServerStreaming(1, context, request, writer, new_call_cq, notificatio… in RequestRetrieve() 125 typedef WithAsyncMethod_Store< WithAsyncMethod_Retrieve< Service > > AsyncService; [all …]
|
D | monster_test.grpc.fb.cc | 50 MonsterStorage::Service::Service() { in Service() function in MyGame::Example::MonsterStorage::Service 54 …new ::grpc::RpcMethodHandler< MonsterStorage::Service, flatbuffers::grpc::Message<Monster>, flatbu… in Service() 55 std::mem_fn(&MonsterStorage::Service::Store), this))); in Service() 59 …new ::grpc::ServerStreamingHandler< MonsterStorage::Service, flatbuffers::grpc::Message<Stat>, fla… in Service() 60 std::mem_fn(&MonsterStorage::Service::Retrieve), this))); in Service() 63 MonsterStorage::Service::~Service() { in ~Service() 66 ::grpc::Status MonsterStorage::Service::Store(::grpc::ServerContext* context, const flatbuffers::gr… in Store() 73 ::grpc::Status MonsterStorage::Service::Retrieve(::grpc::ServerContext* context, const flatbuffers:… in Retrieve()
|
/external/parameter-framework/asio-1.10.6/include/asio/ |
D | io_service.hpp | 33 template <typename Service> Service& use_service(io_service& ios); 34 template <typename Service> void add_service(io_service& ios, Service* svc); 35 template <typename Service> bool has_service(io_service& ios); 548 template <typename Service> 549 friend Service& use_service(io_service& ios); 568 template <typename Service> 569 friend void add_service(io_service& ios, Service* svc); 580 template <typename Service>
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/matchers/ |
D | StartedServiceMatcher.java | 3 import android.app.Service; 25 … public StartedServiceMatcher(String packageName, Class<? extends Service> expectedServiceClass) { in StartedServiceMatcher() 29 public StartedServiceMatcher(Class<? extends Service> expectedServiceClass) { in StartedServiceMatcher() 33 …public StartedServiceMatcher(Class<? extends Service> expectedServiceClass, String expectedAction)… in StartedServiceMatcher() 87 …public static Intent createIntent(Class<? extends Service> serviceClass, String extraKey, String e… in createIntent() 93 public static Intent createIntent(Class<? extends Service> serviceClass, String action) { in createIntent() 99 public static Intent createIntent(Class<? extends Service> serviceClass) { in createIntent() 109 public static Intent createIntent(String packageName, Class<? extends Service> serviceClass) { in createIntent()
|
/external/perfetto/src/tracing/core/ |
D | virtual_destructors.cc | 32 Service::~Service() = default; 33 Service::ConsumerEndpoint::~ConsumerEndpoint() = default; 34 Service::ProducerEndpoint::~ProducerEndpoint() = default;
|
/external/protobuf/src/google/protobuf/ |
D | service.h | 111 class Service; variable 126 class LIBPROTOBUF_EXPORT Service { 128 inline Service() {} in Service() function 129 virtual ~Service(); 192 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Service);
|
/external/perfetto/src/tracing/ipc/service/ |
D | producer_ipc_service.h | 42 using Service = ::perfetto::Service; // To avoid collisions w/ ipc::Service. 43 explicit ProducerIPCService(Service* core_service); 83 std::unique_ptr<Service::ProducerEndpoint> service_endpoint; 98 Service* const core_service_;
|