Searched refs:Service (Results 1 - 21 of 21) sorted by relevance

/frameworks/base/tests/AndroidTests/EnabledTestApp/src/com/android/unit_tests/enabled_app/
H A DDisabledService.java19 import android.app.Service;
24 * Empty Service for testing
27 public class DisabledService extends Service {
H A DEnabledService.java19 import android.app.Service;
24 * Empty Service for testing
27 public class EnabledService extends Service {
/frameworks/base/tests/BrowserTestPlugin/src/com/android/testplugin/
H A DTestPlugin.java3 import android.app.Service;
7 public class TestPlugin extends Service {
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/os/
H A DMessengerService.java19 import android.app.Service;
27 public class MessengerService extends Service {
/frameworks/base/services/java/com/android/server/
H A DAccessibilityManagerService.java89 final List<Service> mServices = new ArrayList<Service>();
94 final Map<ComponentName, Service> mComponentNameToServiceMap =
95 new HashMap<ComponentName, Service>();
116 Service service = (Service) message.obj;
261 Service service = mServices.get(i);
286 Service service = (Service) arguments.arg2;
329 Service servic
588 class Service extends IAccessibilityServiceConnection.Stub implements ServiceConnection { class in class:AccessibilityManagerService
615 Service(ComponentName componentName) { method in class:AccessibilityManagerService.Service
[all...]
H A DLoadAverageService.java19 import android.app.Service;
33 public class LoadAverageService extends Service {
H A DPackageManagerService.java1138 PackageParser.Service s = mServices.mServices.get(component);
2609 PackageParser.Service s = pkg.services.get(i);
3039 PackageParser.Service s = pkg.services.get(i);
3482 ArrayList<PackageParser.Service> packageServices) {
3502 public final void addService(PackageParser.Service s) {
3518 Log.w(TAG, "==> For Service " + s.info.name);
3524 public final void removeService(PackageParser.Service s) {
3564 final PackageParser.Service service = info.service;
3614 private final HashMap<ComponentName, PackageParser.Service> mServices
3615 = new HashMap<ComponentName, PackageParser.Service>();
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothClass.java47 * constants and methods to determine which Service Class(es) and Device Class
105 public static final class Service { class in class:BluetoothClass
123 * {@link BluetoothClass.Service}. For example, {@link
124 * BluetoothClass.Service#AUDIO}.
130 return ((mClass & Service.BITMASK & service) != 0);
141 * <p>See {@link BluetoothClass.Service} for service class constants.
274 if (hasService(Service.RENDER)) {
292 if (hasService(Service.RENDER)) {
305 if (hasService(Service.OBJECT_TRANSFER)) {
/frameworks/base/core/java/android/accessibilityservice/
H A DAccessibilityService.java21 import android.app.Service;
101 public abstract class AccessibilityService extends Service {
/frameworks/base/core/java/android/inputmethodservice/
H A DAbstractInputMethodService.java19 import android.app.Service;
37 * <p>This class combines a Service (representing the input method component
44 public abstract class AbstractInputMethodService extends Service
/frameworks/base/core/java/android/app/
H A DService.java34 * A Service is an application component that runs in the background, not
51 * <p>The Service class is an important part of an
56 * <li><a href="#ServiceLifecycle">Service Lifecycle</a>
62 * <h3>Service Lifecycle</h3>
170 public abstract class Service extends ContextWrapper implements ComponentCallbacks { class in inherits:ContextWrapper,ComponentCallbacks
171 private static final String TAG = "Service";
173 public Service() { method in class:Service
311 * Called by the system to notify a Service that it is no longer used and is being removed. The
314 * in to this Service object and it is effectively dead. Do not call this method directly.
499 * Print the Service'
[all...]
H A DIntentService.java11 * An abstract {@link Service} that serializes the handling of the Intents passed upon service
14 * <p>To use this class extend it and implement {@link #onHandleIntent}. The {@link Service} will
17 public abstract class IntentService extends Service {
43 * {@link Service#START_REDELIVER_INTENT} instead of
44 * {@link Service#START_NOT_STICKY}, so that if this service's process
H A DActivityThread.java592 //Log.i(TAG, "Service registrations: " + mServices);
922 "Unbinding Service " + c
927 throw new IllegalStateException("Unbinding Service " + c
930 throw new IllegalArgumentException("Service not registered: " + c);
2053 final HashMap<IBinder, Service> mServices
2054 = new HashMap<IBinder, Service>();
2758 Service service = null;
2761 service = (Service) cl.loadClass(data.info.name).newInstance();
2798 Service s = mServices.get(data.token);
2825 Service
[all...]
/frameworks/base/test-runner/android/test/
H A DServiceTestCase.java20 import android.app.Service;
32 * This test case provides a framework in which you can test Service classes in
34 * Service, and hooks by which you can inject various dependencies and control
35 * the environment in which your Service is tested.
38 * Every Service is designed to be accessed within a specific sequence of
39 * calls. <insert link to Service lifecycle doc here>.
40 * In order to support the lifecycle of a Service, this test case will make the
61 * <p>If simply run your tests as-is, your Service will be injected with a fully-functional
71 public abstract class ServiceTestCase<T extends Service> extends AndroidTestCase {
98 * This will do the work to instantiate the Service unde
[all...]
/frameworks/base/tests/AndroidTests/src/com/android/unit_tests/activity/
H A DLocalService.java19 import android.app.Service;
28 public class LocalService extends Service {
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/
H A DVpnServiceBinder.java19 import android.app.Service;
44 public class VpnServiceBinder extends Service {
/frameworks/base/core/java/android/preference/
H A DCheckBoxPreference.java19 import android.app.Service;
66 (AccessibilityManager) getContext().getSystemService(Service.ACCESSIBILITY_SERVICE);
/frameworks/base/core/java/android/service/wallpaper/
H A DWallpaperService.java23 import android.app.Service;
58 public abstract class WallpaperService extends Service {
/frameworks/base/core/java/android/content/pm/
H A DPackageParser.java247 final Service service = p.services.get(i);
1456 Service s = parseService(owner, res, parser, attrs, flags, outError);
2159 private Service parseService(Package owner, Resources res,
2179 Service s = new Service(mParseServiceArgs, new ServiceInfo());
2491 public final ArrayList<Service> services = new ArrayList<Service>(0);
2770 public final static class Service extends Component<ServiceIntentInfo> { class in class:PackageParser
2773 public Service(final ParseComponentArgs args, final ServiceInfo _info) { method in class:PackageParser.Service
2780 return "Service{"
[all...]
/frameworks/base/packages/TtsService/src/android/tts/
H A DTtsService.java18 import android.app.Service;
53 public class TtsService extends Service implements OnCompletionListener {
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java45 import android.app.Service;
9348 pw.println(" Service " + r.name.flattenToString());
9824 Log.w(TAG, "Service crashed " + sr.crashCount
10354 flags |= Service.START_FLAG_RETRY;
10357 flags |= Service.START_FLAG_REDELIVERY;
10803 return new ComponentName("!", "Service process is bad");
11116 // Service is already running, so we can immediately
11332 case Service.START_STICKY_COMPATIBILITY:
11333 case Service.START_STICKY: {
11340 case Service
[all...]

Completed in 438 milliseconds