/external/guava/guava/src/com/google/common/util/concurrent/ |
AbstractExecutionThreadService.java | 29 * service; consider {@link AbstractService} if you would like to manage any 36 public abstract class AbstractExecutionThreadService implements Service { 41 private final Service delegate = new AbstractService() { 58 "Error while attempting to shut down the service after failure.", ignored); 80 * Start the service. This method is invoked on the execution thread. 85 * Run the service. This method is invoked on the execution thread. 101 * Stop the service. This method is invoked on the execution thread. 107 * Invoked to request the service to stop. 112 * Returns the {@link Executor} that will be used to run this service. 116 * execute()} method is called when this service is started, and should retur [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
AbstractInputMethodService.java | 19 import android.app.Service; 37 * <p>This class combines a Service (representing the input method component 40 * the service when clients bind to it, but provides no standard implementation 44 public abstract class AbstractInputMethodService extends Service 132 * callbacks on the service, and tell the client when this is done. 144 * callbacks on the service, and tell the client when this is done. 166 * interface for this service needs to be created.
|
/packages/apps/KeyChain/support/src/com/android/keychain/tests/support/ |
KeyChainServiceTestSupport.java | 19 import android.app.Service; 27 public class KeyChainServiceTestSupport extends Service {
|
/packages/experimental/RpcPerformance/src/com/android/rpc_performance/ |
MiscService.java | 19 import android.app.Service; 32 public class MiscService extends Service { 34 public static final String SOCKET_NAME = "play-misc-service";
|
/frameworks/base/services/java/com/android/server/accessibility/ |
AccessibilityManagerService.java | 92 * This class is instantiated by the system as a system level service and can be 93 * accessed only by the system. The task of this service is to be a centralized 126 final List<Service> mServices = new ArrayList<Service>(); 131 final Map<ComponentName, Service> mComponentNameToServiceMap = new HashMap<ComponentName, Service>(); 166 private Service mUiAutomationService; 168 private Service mQueryBridge; 203 // We will update when the automation service dies. 264 // We will update when the automation service dies 444 Service service = services.get(i); local 457 Service service = mServices.get(i); local 560 Service service = getQueryBridge(); local 626 Service service = mServices.get(i); local 707 Service service = mServices.get(i); local 828 Service service = services.get(i); local 903 Service service = componentNameToServiceMap.get(componentName); local 1069 final Service service = (Service) msg.obj; local [all...] |
/cts/tests/accessibilityservice/src/android/accessibilityservice/delegate/ |
DelegatingAccessibilityService.java | 23 import android.app.Service; 35 * This class is an accessibility service mock to which the system is bound and 39 * service, another with the instrumented activity and test cases. The 44 * Accessibility), the mock service must be enabled (Settings -> Accessibility 45 * -> Mock Accessibility Service), and then the CTS tests in this package 50 * the binding between the mock accessibility service and the system. 60 * Handle to the instance used by the accessibility service connection. 71 // the service is ready to be used only 114 * This is a service to which the end-to-end CTS test connects to pass a 118 public static class DelegatingConnectionService extends Service { [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
MessengerService.java | 22 import android.app.Service; 41 * This is an example of implementing an application service that uses the 43 * remote interaction with a service, without needing to define an AIDL 47 * happen in the service. This is generally how background services should 51 //BEGIN_INCLUDE(service) 52 public class MessengerService extends Service { 61 * Command to the service to register a client, receiving callbacks 62 * from the service. The Message's replyTo field must be a Messenger of 68 * Command to the service to unregister a client, ot stop receiving callbacks 69 * from the service. The Message's replyTo field must be a Messenger o [all...] |
/development/samples/Support4Demos/src/com/example/android/supportv4/accessibility/ |
AccessibilityManagerSupportActivity.java | 21 import android.app.Service; 50 /** Handle to the accessibility manager service. */ 64 Service.ACCESSIBILITY_SERVICE); 114 AccessibilityServiceInfo service = enabledServices.get(i); local 116 // an accessibility service. Again accessed them via the support library. 117 ResolveInfo resolveInfo = AccessibilityServiceInfoCompat.getResolveInfo(service); 121 AccessibilityServiceInfoCompat.feedbackTypeToString(service.feedbackType), 122 AccessibilityServiceInfoCompat.getDescription(service), 123 AccessibilityServiceInfoCompat.getSettingsActivityName(service));
|
/frameworks/base/core/java/android/app/ |
Service.java | 34 * A Service is an application component representing either an application's desire 36 * or to supply functionality for other applications to use. Each service 38 * {@link android.R.styleable#AndroidManifestService <service>} 45 * thread of their hosting process. This means that, if your service is going 51 * as a standard implementation of Service that has its own thread where it 56 * <li><a href="#WhatIsAService">What is a Service?</a> 57 * <li><a href="#ServiceLifecycle">Service Lifecycle</a> 60 * <li><a href="#LocalServiceSample">Local Service Sample</a> 61 * <li><a href="#RemoteMessengerServiceSample">Remote Messenger Service Sample</a> 71 * <h3>What is a Service?</h3 [all...] |
IntentService.java | 27 * IntentService is a base class for {@link Service}s that handle asynchronous 30 * service is started as needed, handles each Intent in turn using a worker 37 * will receive the Intents, launch a worker thread, and stop the service as 52 public abstract class IntentService extends Service { 86 * {@link Service#START_REDELIVER_INTENT}, so if this process dies before 93 * {@link Service#START_NOT_STICKY}, and if the process dies, the Intent 104 // method that would launch the service & hand off a wakelock. 126 * @see android.app.Service#onStartCommand 140 * Unless you provide binding for your service, you don't need to implement this 142 * @see android.app.Service#onBin [all...] |
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LocalService.java | 19 import android.app.Service; 28 public class LocalService extends Service {
|
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/ |
FakeBackgroundService.java | 23 import android.app.Service; 33 public class FakeBackgroundService extends Service {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
SystemUIService.java | 22 import android.app.Service; 35 public class SystemUIService extends Service { 63 throw new RuntimeException("Unknown system ui service: " + o); 117 pw.println("dumping service: " + ui.getClass().getName());
|
/frameworks/base/test-runner/src/android/test/ |
ServiceTestCase.java | 20 import android.app.Service; 32 * This test case provides a framework in which you can test Service classes in 34 * Service, and hooks with which you can inject various dependencies and control 35 * the environment in which your Service is tested. 44 * A Service is accessed with a specific sequence of 47 * document. In order to support the lifecycle of a Service, 57 * The test case waits to call {@link android.app.Service#onCreate()} until one of your 60 * the running service. 65 * {@link android.app.Service#onCreate() Service.onCreate()} and then calls eithe [all...] |
/packages/apps/Email/src/com/android/email/provider/ |
WidgetProvider.java | 19 import android.app.Service; 90 // on the RemoteViewsService.RemoteViewsFactory, starting the service if necessary. 117 return Service.START_NOT_STICKY;
|
/packages/apps/Email/src/com/android/email/service/ |
EasTestAuthenticatorService.java | 17 package com.android.email.service; 24 import android.app.Service; 33 * Anauthenticator service for reconciliation tests; it simply adds the account to AccountManager 36 public class EasTestAuthenticatorService extends Service {
|
EmailServiceUtils.java | 17 package com.android.email.service; 19 import android.app.Service; 28 import com.android.emailcommon.service.EmailServiceProxy; 29 import com.android.emailcommon.service.IEmailService; 30 import com.android.emailcommon.service.IEmailServiceCallback; 31 import com.android.emailcommon.service.SearchParams; 45 * Returns an {@link IEmailService} for the service; otherwise returns an empty 80 * <p>In theory, the service in question isn't used on the no-exchange-support build, 82 * class. However, there are a few places we do use the service even if there's no exchange 85 public static class NullEmailService extends Service implements IEmailService [all...] |
PopImapSyncAdapterService.java | 17 package com.android.email.service; 21 import android.app.Service; 38 public class PopImapSyncAdapterService extends Service {
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
EmailSyncAdapterService.java | 26 import android.app.Service; 38 public class EmailSyncAdapterService extends Service {
|
/packages/apps/Phone/src/com/android/phone/ |
NetworkQueryService.java | 19 import android.app.Service; 36 * Service code used to assist in querying the network for service 39 public class NetworkQueryService extends Service { 47 // static states indicating the query status of the service 55 /** state of the query service */ 62 * Class for clients to access. Because we know this service always 164 * Required for service implementation. 178 if (DBG) log("binding service implementation");
|
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/ |
Galaxy4Wallpaper.java | 26 import android.service.wallpaper.WallpaperService; 30 import android.app.Service; 52 ((WindowManager) getApplication().getSystemService(Service.WINDOW_SERVICE))
|
/packages/wallpapers/NoiseField/src/com/android/noisefield/ |
NoiseFieldWallpaper.java | 3 import android.app.Service; 8 import android.service.wallpaper.WallpaperService; 9 import android.service.wallpaper.WallpaperService.Engine; 36 ((WindowManager) getApplication().getSystemService(Service.WINDOW_SERVICE))
|
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/ |
PhaseBeamWallpaper.java | 3 import android.app.Service; 8 import android.service.wallpaper.WallpaperService; 33 ((WindowManager) getApplication().getSystemService(Service.WINDOW_SERVICE))
|
/external/protobuf/python/google/protobuf/ |
service.py | 31 """DEPRECATED: Declares the RPC service interfaces. 51 class Service(object): 57 interface can be used to call the methods of the service without knowing 62 """Retrieves this service's descriptor.""" 67 """Calls a method of the service specified by method_descriptor. 76 * method_descriptor.service == GetDescriptor 81 used by this Service. For stubs, the "correct type" depends on the 101 method = service.GetDescriptor().FindMethodByName("Foo") 104 service.CallMethod(method, request, callback) 205 An RpcChannel represents a communication line to a service which can be use [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
TrustManagerFactoryTest.java | 175 Set<Provider.Service> services = provider.getServices(); 176 for (Provider.Service service : services) { 177 String type = service.getType(); 181 String algorithm = service.getAlgorithm(); 222 Set<Provider.Service> services = provider.getServices(); 223 for (Provider.Service service : services) { 224 String type = service.getType(); 228 String algorithm = service.getAlgorithm() [all...] |