/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
BatchService.java | 19 import android.app.Service; 26 public class BatchService extends Service {
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
BugleServiceTestCase.java | 19 import android.app.Service; 27 * Base class for service tests that takes care of housekeeping that is commong amongst our service 30 public abstract class BugleServiceTestCase<T extends Service> extends ServiceTestCase<T> {
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
EmptyService.java | 18 import android.app.Service; 26 * A Service that does nothing. It is used to bump the adjustment of the BulkOperationHelper thread 29 public class EmptyService extends Service
|
/packages/experimental/ExampleImsFramework/src/com/android/example/imsframework/ |
ImsFrameworkService.java | 19 import android.app.Service; 25 * Example service to handle IMS setup after boot completed event. 33 public class ImsFrameworkService extends Service { 39 Log.d(TAG, "Service starting for intent " + action); 44 stopSelf(); // stop service after handling the action 54 return null; // clients can't bind to this service
|
/packages/services/Car/tests/usb/AoapHostApp/src/com/google/android/car/usb/aoap/host/ |
AoapSupportCheckService.java | 18 import android.app.Service; 25 * Service to check is AOAP device supports Android Auto. 27 public class AoapSupportCheckService extends Service {
|
/system/core/init/ |
service.cpp | 17 #include "service.h" 87 LOG(ERROR) << "service " << service_name << " does not have a SELinux domain defined"; 162 Service::Service(const std::string& name, const std::vector<std::string>& args) 172 onrestart_(false, "<Service '" + name + "' onrestart>", 0), 185 Service::Service(const std::string& name, unsigned flags, uid_t uid, gid_t gid, 200 onrestart_(false, "<Service '" + name + "' onrestart>", 0), 213 void Service::NotifyStateChange(const std::string& new_state) const { 228 void Service::KillProcessGroup(int signal) [all...] |
/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...] |
/libcore/ojluni/src/main/java/sun/security/jca/ |
GetInstance.java | 31 import java.security.Provider.Service; 64 public static Service getService(String type, String algorithm) 67 Service s = list.getService(type, algorithm); 75 public static Service getService(String type, String algorithm, 85 Service s = p.getService(type, algorithm); 93 public static Service getService(String type, String algorithm, 98 Service s = provider.getService(type, algorithm); 112 public static List<Service> getServices(String type, String algorithm) { 123 public static List<Service> getServices(String type, 133 public static List<Service> getServices(List<ServiceId> ids) [all...] |
ProviderList.java | 31 import java.security.Provider.Service; 74 public Service getService(String type, String algorithm) { 324 * Return a Service describing an implementation of the specified 329 public Service getService(String type, String name) { 332 Service s = p.getService(type, name); 349 public List<Service> getServices(String type, String algorithm) { 359 public List<Service> getServices(String type, List<String> algorithms) { 367 public List<Service> getServices(List<ServiceId> ids) { 376 private final class ServiceList extends AbstractList<Service> { 387 // first service we have foun [all...] |
/external/flatbuffers/grpc/src/compiler/ |
go_generator.h | 50 //Package name for the service 54 // Return the source of the generated service file. 56 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 32 * immediately without taking action. A stopped service may not be restarted. 36 * service has finished starting, and returns the resultant state. If 37 * the service fails to start, {@link Future#get} will throw an {@link 44 * If the service is {@link State#STARTED} initiates service shutdown and 45 * returns immediately. If the service has already been stopped, this 50 * service has finished shutting down, and either returns {@lin [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...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
Constants.java | 19 import android.app.Service; 23 * Background {@link Service} that is used to keep our process alive long enough
|
/external/flatbuffers/tests/ |
monster_test.grpc.fb.cc | 51 MonsterStorage::Service::Service() { 56 new ::grpc::RpcMethodHandler< MonsterStorage::Service, flatbuffers::BufferRef<Monster>, flatbuffers::BufferRef<Stat>>( 57 std::mem_fn(&MonsterStorage::Service::Store), this))); 61 new ::grpc::ServerStreamingHandler< MonsterStorage::Service, flatbuffers::BufferRef<Stat>, flatbuffers::BufferRef<Monster>>( 62 std::mem_fn(&MonsterStorage::Service::Retrieve), this))); 65 MonsterStorage::Service::~Service() { 68 ::grpc::Status MonsterStorage::Service::Store(::grpc::ServerContext* context, const flatbuffers::BufferRef<Monster>* request, flatbuffers::BufferRef<Stat>* response) { 75 ::grpc::Status MonsterStorage::Service::Retrieve(::grpc::ServerContext* context, const flatbuffers::BufferRef<Stat>* request, ::grpc::Ser (…) [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...] |
/prebuilts/sdk/tools/lib/ |
shrinkedAndroid.jar | |
/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/devicepolicy/app/SimpleApp/src/com/android/cts/launcherapps/simpleapp/ |
SimpleService.java | 19 import android.app.Service; 28 public class SimpleService extends Service {
|
/cts/tests/tests/os/src/android/os/cts/ |
MessengerService.java | 20 import android.app.Service; 28 public class MessengerService extends Service {
|
SharedMemoryService.java | 19 import android.app.Service; 28 public class SharedMemoryService extends Service {
|
/cts/tests/tests/security/src/android/security/cts/activity/ |
SecureRandomService.java | 24 import android.app.Service; 29 public class SecureRandomService extends Service {
|