/cts/tests/tests/content/src/android/content/cts/ |
MockService.java | 19 import android.app.Service; 24 public class MockService extends Service { 35 * set the result as true when service bind 44 * set the result as true when service start
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/ |
SyncService.java | 19 import android.app.Service; 24 /** Service to handle sync requests. 26 * <p>This service is invoked in response to Intents with action android.content.SyncAdapter, and 35 public class SyncService extends Service { 47 Log.i(TAG, "Service created"); 61 Log.i(TAG, "Service destroyed");
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/ |
SyncService.java | 19 import android.app.Service; 24 /** Service to handle sync requests. 26 * <p>This service is invoked in response to Intents with action android.content.SyncAdapter, and 35 public class SyncService extends Service { 47 Log.i(TAG, "Service created"); 61 Log.i(TAG, "Service destroyed");
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
SyncService.java | 19 import android.app.Service; 24 /** Service to handle sync requests. 26 * <p>This service is invoked in response to Intents with action android.content.SyncAdapter, and 35 public class SyncService extends Service { 47 Log.i(TAG, "Service created"); 61 Log.i(TAG, "Service destroyed");
|
/external/grpc-grpc/src/python/grpcio/grpc/framework/interfaces/face/ |
utilities.py | 53 style.Service.INLINE, behavior, None, None, 69 style.Service.INLINE, None, behavior, None, 85 style.Service.INLINE, None, None, behavior, 101 style.Service.INLINE, None, None, None, 117 style.Service.EVENT, None, None, None, None, 133 style.Service.EVENT, None, None, None, None, 150 style.Service.EVENT, None, None, None, None, 167 style.Service.EVENT, None, None, None, None,
|
/external/grpc-grpc/src/ruby/qps/src/proto/grpc/testing/ |
benchmark_service_services_pb.rb | 18 # An integration test service that covers all the method signature permutations 27 class Service 53 Stub = Service.rpc_stub_class
|
worker_service_services_pb.rb | 18 # An integration test service that covers all the method signature permutations 27 class Service 55 Stub = Service.rpc_stub_class
|
/external/guice/extensions/struts2/example/src/com/google/inject/struts2/example/ |
Count.java | 26 final Service service; field in class:Count 30 public Count(Counter counter, Service service) { 32 this.service = service; 44 return service.getStatus();
|
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
TestService.java | 3 import android.app.Service; 9 class TestService extends Service implements ServiceConnection { 11 IBinder service; field in class:TestService 20 public void onServiceConnected(ComponentName name, IBinder service) { 22 this.service = service;
|
/frameworks/base/apct-tests/perftests/core/src/android/os/ |
SomeService.java | 3 import android.app.Service; 8 /** Service in separate process available for calling over binder. */ 9 public class SomeService extends Service {
|
/external/guava/guava/src/com/google/common/util/concurrent/ |
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; 74 * A manager for monitoring and controlling a set of {@linkplain Service services}. This class 76 * {@linkplain #servicesByState inspecting} a collection of {@linkplain Service services}. 80 * <p>While it is recommended that service lifecycles be managed via this class, state transition 210 checkArgument(service.state() == NEW, "Can only manage NEW services, %s", service); local 596 Service service = entry.getKey(); local 640 "Service %s not at the expected location in the state map %s", service, from); local 642 "Service %s in the state map unexpectedly at %s", service, to); local 724 final Service service; field in class:ServiceManager.ServiceListener [all...] |
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
AbstractIdleServiceTest.java | 50 AbstractIdleService service = new DefaultService(); local 51 service.startAsync().awaitRunning(); 52 assertEquals(Service.State.RUNNING, service.state()); 53 service.stopAsync().awaitTerminated(); 54 assertEquals(Service.State.TERMINATED, service.state()); 59 AbstractIdleService service = new DefaultService() { local 65 service.startAsync().awaitRunning(); 70 assertEquals(Service.State.FAILED, service.state()) 75 AbstractIdleService service = new DefaultService() { local 92 TestService service = new TestService(); local 102 TestService service = new TestService() { local 121 TestService service = new TestService(); local 130 TestService service = new TestService(); local 144 TestService service = new TestService() { local 167 AbstractIdleService service = new TestService(); local 177 Service service = new TestService() { local [all...] |
AbstractExecutionThreadServiceTest.java | 64 WaitOnRunService service = new WaitOnRunService(); local 65 assertFalse(service.startUpCalled); 67 service.startAsync().awaitRunning(); 68 assertTrue(service.startUpCalled); 69 assertEquals(Service.State.RUNNING, service.state()); 71 enterRun.await(); // to avoid stopping the service until run() is invoked 73 service.stopAsync().awaitTerminated(); 74 assertTrue(service.shutDownCalled); 75 assertEquals(Service.State.TERMINATED, service.state()) 81 WaitOnRunService service = new WaitOnRunService(); local 98 WaitOnRunService service = new WaitOnRunService(); local 164 ThrowOnStartUpService service = new ThrowOnStartUpService(); local 199 ThrowOnRunService service = new ThrowOnRunService(); local 215 ThrowOnRunService service = new ThrowOnRunService(); local 253 ThrowOnShutDown service = new ThrowOnShutDown(); local 285 TimeoutOnStartUp service = new TimeoutOnStartUp(); local 310 FakeService service = new FakeService() { local 327 FakeService service = new FakeService(); local 336 WaitOnRunService service = new WaitOnRunService(); local [all...] |
/external/flatbuffers/grpc/src/compiler/ |
go_generator.h | 50 //Package name for the service 57 // Return the source of the generated service file. 59 const grpc_generator::Service *service,
|
/external/guice/extensions/service/src/com/google/inject/service/ |
Service.java | 17 package com.google.inject.service; 29 public interface Service { 31 * If the service has already been started, this method returns immediately without taking action. 32 * A stopped service may not be restarted. 35 * Calling {@link Future#get} will block until the service has finished starting, and returns 36 * the resultant state. If the service fails to start, {@link Future#get} will throw an {@link 43 * If the service is {@link State#STARTED} initiates service shutdown and returns immediately. If 44 * the service has already been stopped, this method returns immediately without taking action. 47 * Calling {@link Future#get} will block until the service has finished shutting down, an [all...] |
/external/mockito/src/test/java/org/mockitousage/bugs/injection/ |
InjectionByTypeShouldFirstLookForExactTypeThenAncestorTest.java | 24 @InjectMocks private Service illegalInjectionExample = new Service(); 30 Field[] declaredFields = Service.class.getDeclaredFields(); 56 public static class Service {
|
/external/ppp/pppd/plugins/radius/etc/ |
dictionary.merit | 7 ATTRIBUTE Login-LAT-Service 34 string 16 VALUE Service-Type Authenticate-Only 8
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
Service.java | 37 * interface can be used to call the methods of the service without knowing 48 public interface Service { 50 * Get the {@code ServiceDescriptor} describing this service and its methods. 55 * <p>Call a method of the service specified by MethodDescriptor. This is 57 * definitions of the service's methods. 65 * being used by this Service. For stubs, the "correct type" depends 66 * on the RpcChannel which the stub is using. Server-side Service 100 * service.getDescriptorForType().findMethodByName("Foo"); 104 * service.callMethod(method, request, callback); 112 * the {@code Service} implementation constructs the response message itself [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/ |
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); 139 * services, indexed by service type. An object of class io_service must be 153 * In a call to @c use_service<Service>(), the type argument chooses a service, 154 * making available all members of the named type. If @c Service is not present 155 * in an io_service, an object of type @c Service is created and added to th 653 class io_service::service class in class:asio::io_service [all...] |
/device/linaro/bootloader/edk2/NetworkPkg/TlsDxe/ |
TlsDriver.c | 2 The Driver Binding and Service Binding Protocol for TlsDxe driver. 46 @param[in] Service The pointer to the TLS service. 55 IN TLS_SERVICE *Service, 71 TlsInstance->Service = Service; 84 Release all the resources used by the TLS service binding instance. 86 @param[in] Service The TLS service data. 91 IN TLS_SERVICE *Service [all...] |
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/EphemeralApp1/src/com/android/cts/ephemeralapp1/ |
SomeService.java | 20 import android.app.Service; 26 public class SomeService extends Service {
|
/cts/hostsidetests/appsecurity/test-apps/EphemeralTestApp/NormalApp/src/com/android/cts/normalapp/ |
NormalService.java | 19 import android.app.Service; 27 public class NormalService extends Service {
|
/cts/hostsidetests/seccomp/app/src/android/seccomp/cts/app/ |
IsolatedService.java | 18 import android.app.Service; 27 public class IsolatedService extends Service {
|
/cts/tests/tests/content/BinderPermissionTestService/src/com/android/cts/ |
BinderPermissionTestService.java | 24 import android.app.Service; 30 public class BinderPermissionTestService extends Service {
|
/cts/tests/tests/os/src/android/os/cts/ |
CtsRemoteService.java | 19 import android.app.Service; 26 public class CtsRemoteService extends Service {
|