/frameworks/base/core/java/android/app/ |
InstantAppResolverService.java | 20 import android.app.Service; 41 * Base class for implementing the resolver service. 45 public abstract class InstantAppResolverService extends Service { 76 * Returns a {@link Looper} to perform service operations on.
|
Service.java | 38 * A Service is an application component representing either an application's desire 40 * or to supply functionality for other applications to use. Each service 42 * {@link android.R.styleable#AndroidManifestService <service>} 49 * thread of their hosting process. This means that, if your service is going 55 * as a standard implementation of Service that has its own thread where it 60 * <li><a href="#WhatIsAService">What is a Service?</a> 61 * <li><a href="#ServiceLifecycle">Service Lifecycle</a> 64 * <li><a href="#LocalServiceSample">Local Service Sample</a> 65 * <li><a href="#RemoteMessengerServiceSample">Remote Messenger Service Sample</a> 75 * <h3>What is a Service?</h3 [all...] |
/frameworks/base/core/java/android/app/job/ |
JobServiceEngine.java | 19 import android.app.Service; 34 * Helper for implementing a {@link android.app.Service} that interacts with 37 * {@link android.app.Service} that interact with {@link JobScheduler} as well as 69 JobInterface(JobServiceEngine service) { 70 mService = new WeakReference<>(service); 75 JobServiceEngine service = mService.get(); local 76 if (service != null) { 77 Message m = Message.obtain(service.mHandler, MSG_EXECUTE_JOB, jobParams); 84 JobServiceEngine service = mService.get(); local 85 if (service != null) [all...] |
/frameworks/base/core/java/android/service/autofill/ |
AutofillService.java | 16 package android.service.autofill; 22 import android.app.Service; 41 * An {@code AutofillService} is a service used to automatically fill the contents of the screen 62 * <li>The Android System binds to the service and calls {@link #onConnected()}. 63 * <li>The service receives the view structure through the 65 * <li>The service replies through {@link FillCallback#onSuccess(FillResponse)}. 68 * <li>The Android System displays an UI affordance with the options sent by the service. 73 * <p>This workflow was designed to minimize the time the Android System is bound to the service; 74 * for each call, it: binds to service, waits for the reply, and unbinds right away. Furthermore, 75 * those calls are considered stateless: if the service needs to keep state between calls, it mus [all...] |
/frameworks/base/core/java/android/service/notification/ |
ConditionProviderService.java | 17 package android.service.notification; 22 import android.app.Service; 35 * A service that provides conditions about boolean state. 36 * <p>To extend this class, you must declare the service in your manifest file with 39 * able to create and update conditions for this service to monitor, include the 43 * <service android:name=".MyConditionProvider" 47 * <action android:name="android.service.notification.ConditionProviderService" /> 50 * android:name="android.service.zen.automatic.ruleType" 54 * android:name="android.service.zen.automatic.configurationActivity" 57 * </service></pre [all...] |
/frameworks/base/core/java/android/service/voice/ |
VoiceInteractionService.java | 17 package android.service.voice; 20 import android.app.Service; 41 * Top-level service of the current global voice interactor, which is providing 47 * <p>Because this service is always running, it should be kept as lightweight as 49 * in the associated {@link android.service.voice.VoiceInteractionSessionService} when 50 * an actual voice interaction is taking place, and that service should run in a 53 public class VoiceInteractionService extends Service { 55 * The {@link Intent} that must be declared as handled by the service. 56 * To be supported, the service must also require the 62 "android.service.voice.VoiceInteractionService" [all...] |
/frameworks/base/core/java/android/widget/ |
RemoteViewsService.java | 19 import android.app.Service; 28 * The service to be connected to for a remote adapter to request RemoteViews. Users should 32 public abstract class RemoteViewsService extends Service { 37 // Because we are now unbinding when we are not using the Service (to allow them to be 39 // the service is restarted (in response to user input for example). When the process is 254 * To be implemented by the derived service to generate appropriate factories for
|
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/ |
ObbBackupService.java | 19 import android.app.Service; 39 * Service that the Backup Manager Services delegates OBB backup/restore operations to, 44 public class ObbBackupService extends Service {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
DozeFactory.java | 54 DozeMachine.Service wrappedService = dozeService; 75 DozeMachine.Service service, SensorManager sensorManager, DozeHost host, 79 return new DozeScreenBrightness(context, service, sensorManager, sensor, host, handler, 96 public static DozeHost getHost(DozeService service) { 97 Application appCandidate = service.getApplication();
|
/frameworks/base/telephony/java/android/telephony/ |
VisualVoicemailService.java | 23 import android.app.Service; 37 * This service is implemented by dialer apps that wishes to handle OMTP or similar visual 38 * voicemails. Telephony binds to this service when the cell service is first connected, a visual 41 * {@link android.service.carrier.CarrierMessagingService} precedes the VisualVoicemailService in 43 * service. 45 * To extend this class, The service must be declared in the manifest file with 52 * <service android:name="your.package.YourVisualVoicemailServiceImplementation" 57 * </service> 61 public abstract class VisualVoicemailService extends Service { [all...] |
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
PlayerService.java | 18 import android.app.Service; 33 public class PlayerService extends Service {
|
/frameworks/support/customtabs/src/android/support/customtabs/ |
CustomTabsService.java | 19 import android.app.Service; 36 * Abstract service class for implementing Custom Tabs related functionality. The service should 41 public abstract class CustomTabsService extends Service { 182 * can be used to associate any related communication through the service with an intent and 183 * then later with a Custom Tab. The client can then send later service calls or intents to
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/ |
LocalServiceBroadcaster.java | 22 import android.app.Service; 40 * data from a service to any other interested code. 111 public static class LocalService extends Service {
|
/libcore/luni/src/test/java/libcore/java/security/ |
SecureRandomTest.java | 38 Set<Provider.Service> services = provider.getServices(); 39 for (Provider.Service service : services) { 40 String type = service.getType(); 45 String algorithm = service.getAlgorithm();
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
KeyGeneratorTest.java | 41 Set<Provider.Service> services = provider.getServices(); 42 for (Provider.Service service : services) { 43 String type = service.getType(); 56 String algorithm = service.getAlgorithm();
|
/libcore/support/src/test/java/tests/resources/ServiceLoader/ |
hyts_services.jar | |
/packages/apps/Car/Stream/src/com/android/car/stream/ |
StreamService.java | 18 import android.app.Service; 33 * A service that manages the {@link StreamCard} being generated by the system and notifies 36 public class StreamService extends Service {
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertReminder.java | 23 import android.app.Service; 41 public class CellBroadcastAlertReminder extends Service { 52 * service in order to cancel any pending reminders when user dismisses the alert dialog. 119 * Helper method to start the alert reminder service to queue the alert reminder. 164 loge("can't get Alarm Service");
|
/packages/apps/DeskClock/src/com/android/deskclock/timer/ |
TimerService.java | 19 import android.app.Service; 34 * <p>This service exists solely to allow {@link android.app.AlarmManager} and timer notifications 40 * <p>The service has a second benefit. It is used to start heads-up notifications for expired 44 public final class TimerService extends Service { 182 // This service is foreground when expired timers exist and stopped when none exist.
|
/packages/apps/Dialer/java/com/android/incallui/spam/ |
SpamNotificationService.java | 20 import android.app.Service; 37 * This service determines if the device is locked/unlocked and takes an action based on the state. 38 * A service is used to to determine this, as opposed to an activity, because the user must unlock 39 * the device before a notification can start an activity. This is not the case for a service, and 40 * intents can be sent to this service even from the lock screen. This allows users to quickly 43 public class SpamNotificationService extends Service { 53 /** Creates an intent to start this service. */ 69 // Return null because clients cannot bind to this service 79 // Return {@link #START_NOT_STICKY} so service is not restarted.
|
/packages/apps/Email/provider_src/com/android/email/service/ |
AuthenticatorService.java | 17 package com.android.email.service; 19 import com.android.email.service.EmailServiceUtils.EmailServiceInfo; 28 import android.app.Service; 38 * A very basic authenticator service for EAS. At the moment, it has no UI hooks. When called 42 public class AuthenticatorService extends Service {
|
/packages/apps/MusicFX/src/com/android/musicfx/ |
ControlPanelPicker.java | 22 import com.android.musicfx.Compatibility.Service; 108 Intent updateIntent = new Intent(this, Service.class);
|
/packages/apps/Nfc/src/com/android/nfc/beam/ |
BeamReceiveService.java | 3 import android.app.Service; 20 public class BeamReceiveService extends Service implements BeamTransferManager.Callback {
|
BeamSendService.java | 19 import android.app.Service; 32 public class BeamSendService extends Service implements BeamTransferManager.Callback {
|
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/ffmpeg/ |
FfmpegDecoderService.java | 19 import android.app.Service; 35 * Ffmpeg based audio decoder service. 38 public class FfmpegDecoderService extends Service {
|