Home
last modified time | relevance | path

Searched refs:Service (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/external/guava/guava-tests/test/com/google/common/util/concurrent/
DServiceManagerTest.java111 Service a = new NoOpDelayedSerivce(150); in testServiceStartupTimes()
112 Service b = new NoOpDelayedSerivce(353); in testServiceStartupTimes()
115 ImmutableMap<Service, Long> startupTimes = serviceManager.startupTimes(); in testServiceStartupTimes()
122 Service a = new NoOpService(); in testServiceStartStop()
123 Service b = new NoOpService(); in testServiceStartStop()
127 assertState(manager, Service.State.NEW, a, b); in testServiceStartStop()
130 assertState(manager, Service.State.RUNNING, a, b); in testServiceStartStop()
136 assertState(manager, Service.State.TERMINATED, a, b); in testServiceStartStop()
143 Service a = new NoOpService(); in testFailStart()
144 Service b = new FailStartService(); in testFailStart()
[all …]
DAbstractIdleServiceTest.java51 assertEquals(Service.State.RUNNING, service.state()); in testServiceStartStop()
53 assertEquals(Service.State.TERMINATED, service.state()); in testServiceStartStop()
69 assertEquals(Service.State.FAILED, service.state()); in testStart_failed()
86 assertEquals(Service.State.FAILED, service.state()); in testStop_failed()
95 assertEquals(Service.State.RUNNING, service.state()); in testStart()
96 ASSERT.that(service.transitionStates).has().exactly(Service.State.STARTING).inOrder(); in testStart()
115 assertEquals(Service.State.FAILED, service.state()); in testStart_failed()
116 ASSERT.that(service.transitionStates).has().exactly(Service.State.STARTING).inOrder(); in testStart_failed()
124 assertEquals(Service.State.TERMINATED, service.state()); in testStop_withoutStart()
136 assertEquals(Service.State.TERMINATED, service.state()); in testStop_afterStart()
[all …]
DAbstractExecutionThreadServiceTest.java69 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 …]
DServiceTest.java19 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/guava/guava/src/com/google/common/util/concurrent/
DServiceManager.java25 import static com.google.common.util.concurrent.Service.State.FAILED;
26 import static com.google.common.util.concurrent.Service.State.NEW;
27 import static com.google.common.util.concurrent.Service.State.RUNNING;
28 import static com.google.common.util.concurrent.Service.State.STARTING;
29 import static com.google.common.util.concurrent.Service.State.STOPPING;
30 import static com.google.common.util.concurrent.Service.State.TERMINATED;
53 import com.google.common.util.concurrent.Service.State;
170 public void failure(Service service) {} in failure()
181 private final ImmutableList<Service> services;
191 public ServiceManager(Iterable<? extends Service> services) { in ServiceManager()
[all …]
DAbstractService.java22 import static com.google.common.util.concurrent.Service.State.FAILED;
23 import static com.google.common.util.concurrent.Service.State.NEW;
24 import static com.google.common.util.concurrent.Service.State.RUNNING;
25 import static com.google.common.util.concurrent.Service.State.STARTING;
26 import static com.google.common.util.concurrent.Service.State.STOPPING;
27 import static com.google.common.util.concurrent.Service.State.TERMINATED;
32 import com.google.common.util.concurrent.Service.State; // javadoc needs this
57 public abstract class AbstractService implements Service {
218 @Override public final Service startAsync() {
255 @Override public final Service stopAsync() {
DAbstractExecutionThreadService.java39 public abstract class AbstractExecutionThreadService implements Service {
44 private final Service delegate = new AbstractService() {
206 @Override public final Service startAsync() {
214 @Override public final Service stopAsync() {
DAbstractIdleService.java38 public abstract class AbstractIdleService implements Service {
48 private final Service delegate = new AbstractService() {
160 @Override public final Service startAsync() {
168 @Override public final Service stopAsync() {
DService.java55 public interface Service { interface
99 Service startAsync(); in startAsync()
157 Service stopAsync(); in stopAsync()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DProviderServiceTest.java41 new Provider.Service(null, "type", "algorithm", in testService()
47 new Provider.Service(p, null, "algorithm", in testService()
53 new Provider.Service(p, "type", null, in testService()
59 new Provider.Service(p, "type", "algorithm", in testService()
65 Provider.Service s = new Provider.Service(p, in testService()
78 Provider.Service s = new Provider.Service(p, in testGetAttribute()
93 s = new Provider.Service(p, "type", "algorithm", "className", in testGetAttribute()
104 Provider.Service s = new Provider.Service(p, "SecureRandom", in testNewInstance()
DProvider2Test.java137 Provider.Service service = new Provider.Service(mockProvider, in test_getAlias()
160 public void putService(Provider.Service service) { in putService()
164 public void removeService(Provider.Service service) { in removeService()
/external/ppp/pppd/plugins/radius/etc/
Ddictionary.compat6 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
Ddictionary51 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/apache-harmony/security/src/test/api/java.injected/java/security/
DProviderTest.java87 Provider.Service s = new Provider.Service(p, "Type", "Algorithm", in testGetService()
95 Provider.Service s1 = p.getService("MessageDigest", "AbC"); in testGetService()
100 s = new Provider.Service(p, "MessageDigest", "SHA-1", in testGetService()
113 Provider.Service s = new Provider.Service(p, "Type", "Algorithm", in testGetServices()
128 s = (Provider.Service) it.next(); in testGetServices()
152 Provider.Service s = new Provider.Service(p, "Type", "Algorithm", in testPutService()
167 Provider.Service s = new Provider.Service(p, "Type", "Algorithm", in testRemoveService()
177 s = (Provider.Service) it.next(); in testRemoveService()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/
DStartedServiceMatcher.java3 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/protobuf/src/google/protobuf/
Dservice.h110 class Service; variable
125 class LIBPROTOBUF_EXPORT Service {
127 inline Service() {} in Service() function
128 virtual ~Service();
191 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(Service);
Dservice.cc40 Service::~Service() {} in ~Service()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
DProviderService_ImplTest.java40 Provider.Service s = new Provider.Service(p, "type", "algorithm", in testToString()
51 s = new Provider.Service(p, "type", "algorithm", "className", in testToString()
/external/mdnsresponder/Clients/
DReadMe.txt8 platform, like "DNS Service Browser" and "DNS Service Registration",
24 DNS Service Browser Graphical X
25 DNS Service Registration Graphical X
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowService.java5 import android.app.Service;
16 @Implements(Service.class)
18 @RealObject Service realService;
/external/mockftpserver/tags/1.1/src/main/resources/
DReplyText.properties17 120=Service ready in nnn minutes.
27 220=Service ready for new user.
28 221=Service closing control connection.
39 421=Service not available, closing control connection.
/external/mockftpserver/tags/1.2.2/src/main/resources/
DReplyText.properties17 120=Service ready in nnn minutes.
27 220=Service ready for new user.
28 221=Service closing control connection.
39 421=Service not available, closing control connection.
/external/mockftpserver/tags/1.2.3/src/main/resources/
DReplyText.properties17 120=Service ready in nnn minutes.
27 220=Service ready for new user.
28 221=Service closing control connection.
39 421=Service not available, closing control connection.
/external/mockftpserver/tags/1.2.1/src/main/resources/
DReplyText.properties17 120=Service ready in nnn minutes.
27 220=Service ready for new user.
28 221=Service closing control connection.
39 421=Service not available, closing control connection.
/external/mockftpserver/tags/1.2/src/main/resources/
DReplyText.properties17 120=Service ready in nnn minutes.
27 220=Service ready for new user.
28 221=Service closing control connection.
39 421=Service not available, closing control connection.

12345678910>>...12